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!

phpmyadmin,cant access

Discussion in 'Database Discussion' started by tshin, Mar 12, 2005.

  1. tshin

    tshin Active Member

    Joined:
    Dec 14, 2004
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    156
    i have moved mysql data files to another dir.
    and changed mysql config files.
    so now mysql database can be access and used.

    but when using phpmyadmin,it says wrong username/password.
    what else can i do?

    i think the reason may be i moved mysql data files.
    how can i set the phpmyadmin working?

    thank you.
     
  2. RAIS2

    RAIS2 Well-Known Member

    Joined:
    Jul 16, 2004
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    166
    I once had the same problem. I simply reset my root mysql password, and again had access.

    It worked in my situation quite some time ago.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. tshin

    tshin Active Member

    Joined:
    Dec 14, 2004
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    156
    thank you.
    i just reset the root password in WHM
    it says:
    DBI connect('mysql:localhost','root',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /scripts/restartsrv_mysql line 74
    mysql has failed, please contact the sysadmin (result was "mysql has failed").


    what can i do?
    thank you.
     
  4. tshin

    tshin Active Member

    Joined:
    Dec 14, 2004
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    156
    yeah.i fixed it.
    just place a shortcut to the mysql.sock
     
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