Background Back when I got my GL-AR150 mini router, I was blown away by the powerful capabilities of this $25 OpenWRT router,...
Using WordPress with a MySQL Unix SocketStanislav Khromov
Find the path to your MySQL Unix socket:
netstat -ln | grep "unix.*mysql"
The path should look similar to this:
Edit the DB_HOST directive in your wp-config.php and add your socket path after localhost: