Thread Starter
jskitz
(@jskitz)
Problem resolved. I had a typo in the line I specified. This worked.
define(‘DB_HOST’, ‘localhost:/tmp/mysql.sock’);
Thread Starter
jskitz
(@jskitz)
Hi Tim,
I only showed that as an example. I have a separate user that I granted “All Privileges” to. I can shell in using the command line no problem with the other user I created. In addition, I have already created the database, and dumped the database from production to local. I know for a fact that my database is setup correctly. This is just the first WordPress project I’ve had the pleasure of working on.
The latest thing I’ve tried is this, but this still doesn’t work.
define(‘DB_HOST’, ‘localhost:/tmp/mysqld.sock’);
Could there be some permissions problems? I don’t see how this could be the case, but not sure.