mysql_connect problem

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
Guy
Forum Commoner
Posts: 53
Joined: Sun Jan 12, 2003 3:34 am

mysql_connect problem

Post by Guy »

I'm trying to connect to mysql server which runs on Unix from php file windows.
I use mysql_connect("10.20.55.198", "Admin","pw")
I used the grant privileges to add Admin to the table.
but I get this error:
Warning: Lost connection to MySQL server during query in d:\phpsite\INCLUDE\mysql.php on line 2
any suggestions?
thanks
Guy
Post Reply