Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Feb 2004
    Posts
    17

    Default Could not connect to database

    We have tried about 15 times to make a db and get nothing but this error listed.

    Could not connect to database, Make sure database details are correct

    This is not our first time making a db in cpanel I have mad many over the years but can't seem to make them now, is there some that changed in one of the latested updates or some thing?

    I need some help here with this one.

    ---- Richard ----

  2. #2
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

    1. Log into WHM, and change the root mysql password ( Not the root server password ) and ensure it is NOT the same as your root password.

    2. Make sure mysql is running, if not, restart via WHM and look for errors in /var/log/messages

    3. Check your /etc/.my.cnf and make sure the username and password are not quoted. eg: "root" should be root with no "'s.
    Beau Henderson

Similar Threads & Tags
Similar threads

  1. Replies: 6
    Last Post: 12-21-2010, 01:19 PM
  2. Replies: 12
    Last Post: 01-06-2010, 09:54 PM
  3. Roundcube cannot connect to database. Help please?
    By kamnet in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 07-03-2009, 09:56 AM
  4. Cant connect to database remotely.
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-22-2006, 02:29 PM
  5. Unable to connect to database
    By sony in forum Database Discussions
    Replies: 1
    Last Post: 04-09-2005, 03:03 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube