Support » Installing WordPress » Five Minute install now at three days

  • Warning: mysql_connect(): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) in /vhost/vhost14/a/v/o/avonpacket.com/www/wp-includes/wp-db.php on line 1409

    Every time I try to install I get this. All day today. I have checked the config file 500 times installed, uninstalled, wiped re-created, scoured the internet, every bloody thing in the world but still it won’t connect to the database. Please don’t say, ‘Have you checked your password, is the data server running have I used the right hostname’. I have.

Viewing 1 replies (of 1 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Can you switch to using localhost and the mysql port of 3306? That message indicates that there may be a permission issue with /var/lib/mysql/mysql.sock and the network method may work for you.

Viewing 1 replies (of 1 total)
  • The topic ‘Five Minute install now at three days’ is closed to new replies.