I've got what's probably a very easy question to solve, but I've been stuck on it for a few days now.
I've got 3 servers running in a small network, DNS, HTTP and MySQL. I've got apache2 and PHP5 installed on the HTTP server and MySQL on the MySQL server. I'm trying to install phpmyadmin on the apache2 server but when I try, I get
error 2002 (hy000) because
/var/lib/mysql/mysql.sock cannot be found, obviously because it isn't installed on that server.
I understand phpmyadmin requires both apache2 and MySQL to run, however, is there a way I can install it on either server while still keeping the servers separated? Ideally on the apache2.