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!

Cpanel/MySQL issues

Discussion in 'General Discussion' started by JeremyL, Oct 27, 2001.

  1. JeremyL

    JeremyL Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    306
    Seems my Cpanel has a bug or two concerning MySQL.

    When I log into WHM and click on \"Set MySQL Password\"
    and then set it, it causes the users CPanel to say

    -----------------
    ERROR 1045: Access denied for user: \'root@localhost\'
    (Using password: YES) 0
    -----------------

    It says this on any page that has to do with MySQL and
    in PHPMyAdmin it says

    ------------------
    Warning: MySQL Connection Failed: Access denied for
    user: \'root@localhost\' (Using password: YES) in
    /usr/local/cpanel/base/3rdparty/phpMyAdmin/lib.inc.php
    on line 226
    Error
    ------------------

    What seems to be happening, is WHM is creating the new
    .my.cnf file in the / directory while Cpanel is
    looking for it in the /root dir. If I cp the .my.cnf
    file from /.my.cnf to /root.my.cnf the main cpanel
    pages having to do with MySQl no longer have that
    error. But that does not fix PHPMyAdmin. I am unable
    to get phpmyadmin to work and it keeps giving me that
    error.

    Please help.

    Thank You
     
  2. JeremyL

    JeremyL Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    306
    Nevermind, we got it. Looks like WHM isn\'t updating the PHPMyAdmin config file.
     
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