October 27th, 2000, 01:54 PM
How do I get the mysql_connect function in PHP to work when my webserver is win2000 based? It asks for my servername when I use this function. But because mysql executable is installed at c:mysqlbinmysql.exe, just typing in my server name won't start mysql. How do I make this work?
October 27th, 2000, 02:12 PM
I have MySQL and PHP installed on a Win 2k box too, and it works for me if I don't use mysql_connect, but just mysql_db_query.
[This message has been edited by djochtman (edited October 27, 2000).]
October 27th, 2000, 03:41 PM
use a hostname of "localhost"