Hyperblaze
Lifer
I'm a bit baffled with this situation.
I've got a LAMP solution running.
I can successfully connect to the mysql server using localhost AND it's IP address in the unix prompt.
(mysql -u user -p -h localhost)
(mysql -u user -p -h xxx.xxx.xxx.xxx)
Using mysql connect (in PHP) I can connect using localhost but NOT an IP address (127.0.0.1 included).
Keep getting error 2003.
Anyone have any ideas?
edit: just discovered it was all thanks to SELinux.
I've got a LAMP solution running.
I can successfully connect to the mysql server using localhost AND it's IP address in the unix prompt.
(mysql -u user -p -h localhost)
(mysql -u user -p -h xxx.xxx.xxx.xxx)
Using mysql connect (in PHP) I can connect using localhost but NOT an IP address (127.0.0.1 included).
Keep getting error 2003.
Anyone have any ideas?
edit: just discovered it was all thanks to SELinux.