Re: My SQL

From: Date: Thu, 05 May 2005 11:46:43 +0000
Subject: Re: My SQL
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-16076@lists.php.net to get a copy of this message
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 are you using, and how did you install PHP/MySQL (and if from source, what was your configure command?) Barca wrote:
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? .


« previous php.install (#16076) next »