Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Aug 2005
    Posts
    22

    Default mysql sock error - don't see this specifically in other threads

    Brand n ew server, transitioning data from old server, get this when copying multiple accounts:

    DBI connect('mysql:localhost','root',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/cpanel/Cpanel/Mysql.pm line 40 Can't call method "prepare" on an undefined value at /usr/local/cpanel/Cpanel/Mysql.pm line 502.

  2. #2
    Member
    Join Date
    Aug 2005
    Posts
    22

    Default

    hmm ok I think it was because I'd forgotten to set a mysql root pw... testing now, we'll see.

  3. #3
    Member
    Join Date
    Aug 2005
    Posts
    22

    Default

    ok, I THINK that solved that, but I'm having other problems. sigh. Trying to log into FTP via the IP (since DNS hasn't updated yet), and it's refusing connections.

Similar Threads & Tags
Similar threads

  1. MySQL fails - /tmp/mysql.sock error
    By mudduck in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-16-2007, 10:28 AM
  2. Can't get mysql to work - Getting mysql.sock error (but a unique one)
    By noimad1 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-21-2006, 02:04 AM
  3. MySQL Sock Error - Existing threads no help
    By dempsey in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 04-29-2006, 12:15 PM
  4. MySQL Sock Error
    By Mini in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-11-2006, 04:36 AM
  5. mysql.sock error, help!
    By n000b in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 06-17-2005, 12:22 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube