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!

mysql can't connect to server

Discussion in 'Database Discussion' started by yanayun, Sep 5, 2012.

  1. yanayun

    yanayun Member

    May 14, 2005
    Likes Received:
    Trophy Points:
    i have new cpanel server installation with mysql 5.1 default, i dont know how to downgrade
    i have crash server with old version 5.0 and rsync/copy to new cpanel server mysql 5.1

    mysql normal, i can connect to mysql using bash shell

    mysql -u blalba_blalba -p

    big problem on web server:
    php connection display "Error establishing a database connection" mysql passoword invalid.
    Before server crash, everything normal.

    try using WHM MySQL Upgrade, php always display invalid password.
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Did you run EasyApache on the server to ensure MySQL's PHP module is setup right?

    Next, provide the full error message rather than a synopsis of it for one of the PHP scripts.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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