PHP(Linux) access Mysql (Win2000)

admin

Administrator
Staff member
Hi,
I am facing some difficulty to connect mysql (Win2000) to my php script on linux.

e.g of my php script:-

$conn = mysql_connect("host="192.168.0.x user=yyy password=xxxx");

When I run this script it return this message on the browser:-

Warning: MySQL connection failed: Unknown Mysql connection Host 'host=192.168.0.x user=yyy password=xxxx'

Do I need to install anything extra or change some config file ?

Regards,
Thomas
 
Back
Top