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
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
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
Im trying to have PHP with mysql but Im not getting it working.
I need to connect with mysql_connect to a non-local mysql server but im
getting:
Can't connect to MySQL server on 'mysql.host' (13)
Connecting localhost its normal.
How can I make php5_mysql connecting to a non-local server ??
>Fro