NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
egeek
Oct 17, 2011Aspirant
Wordpress - Error establishing a database connection
Hi guys, I have been trying to get wordpress up and running for about a day. I followed the wordpress guide exactly, then found i needed to provide an updated PHP, which i obtained from ReadyNas...
egeek
Oct 18, 2011Aspirant
OMFG!
I transcribed localhost:/var/run/mysqld/mysqld.sock from the last test file into wp-config.php so it looks like this.
and now the wordpress install screen is working. :D :D :D
Hopefully this has solved the issue and had something to do with the syntax/dialogue in use getting PHP to talk to MySQL.
Can't believe i jagged it lol.......
I transcribed localhost:/var/run/mysqld/mysqld.sock from the last test file into wp-config.php so it looks like this.
/** MySQL hostname */
define('DB_HOST', 'localhost:/var/run/mysqld/mysqld.sock');
and now the wordpress install screen is working. :D :D :D
Hopefully this has solved the issue and had something to do with the syntax/dialogue in use getting PHP to talk to MySQL.
Can't believe i jagged it lol.......
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!