RE: [PHP-DB] Can't connect to MySQL server on 'mysql.host' (13)

2005-08-12 Thread Bastien Koert
pass the ip address of the remote server as the host is the remote server set up to allow a connection from the web server IP address? bastien From: Luiz Henrique Ozaki [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] Can't connect to MySQL server on 'mysql.host' (13) Date: Fri,

Re: [PHP-DB] Can't connect to MySQL server on 'mysql.host' (13)

2005-08-12 Thread FSA
generaly it 'mysql.sock' not 'mysql.host' anyways after u check your script try to see if mysql it's started. netstat -atn u should have a 0.0.0.0:3306 line Luiz Henrique Ozaki wrote: Im trying to have PHP with mysql but Im not getting it working. I need to connect with mysql_connect to a

Re: [PHP-DB] Can't connect to MySQL server on 'mysql.host' (13)

2005-08-12 Thread Luiz Henrique Ozaki
Bastien Koert wrote: pass the ip address of the remote server as the host is the remote server set up to allow a connection from the web server IP address? bastien I have the mysql.host in the /etc/hosts with the IP address. Using the mysql command, mysql -u root -h mysql.host, it