Code Comments
Programming Forum and web based access to our favorite programming groups.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?
>
>
>.
>
>
>
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.