I just installed PHP and MySQL on Windows XP..
I am able to use MySQLManager to connect, create tables, run reports, etc.
But I am not able to connect to it, mysql_connect("localhost",
"[user]","[password]"); from PHP.
Someone said that I needed to included the path of MySql in the PHP.ini
file.
The syntax of mysql_connect() is mysql_connect(host,username,password),
so the call would be mysql_connect("localhost", "root", "");
You may be able to find some information about editing php.ini to
include MySQL support at http://us4.php.net/mysql (look in the user
contributed notes).
What OS
I just installed PHP and MySQL.
I am able to use MySQLManager to connect, create tables, run reports, etc.
But I am not able to mysql_connect("test", "root",""); from PHP. Someone
said that I needed to included the path of MySql in the PHP.ini file. Does
anybody of an example for that?