Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

transfer to new server - database connection failure - shell access required

Discussion in 'General Discussion' started by pinkdylan, Jun 10, 2016.

  1. pinkdylan

    pinkdylan Registered

    Joined:
    Aug 17, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Hi - I have a centos5 server (running whm) and am upgrading to centos7 server

    Initially I transferred packages to new server, now trying to transfer accounts.

    After transfer of site, I get database connection failure. No remotely obvious reason or errors.

    I stumbled across fact that if I edit package to allow Shell access (on new server) the problem disappears - but this option is certainly not set or required on old server.

    I do not really want the packages to have Shell access.

    Any ideas to explain the above and suggest a solution ?

    Thanks Everyone
     
  2. pinkdylan

    pinkdylan Registered

    Joined:
    Aug 17, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Database is on same server (in both cases - i.e., both were on same [old] server before transfer and both on same [new] server after transfer]

    Thanks
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,402
    Likes Received:
    1,953
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Could you provide some more information on the database connection failures? What's a specific error message you see in the web browser? Did the MySQL version change between servers?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice