Hola, MySQL wizards.
I'm using LAMP on Fedora Core 2.
Some kind soul produced a tutorial on the net and the first script,
birthdays_create_database.php, I am trying to use yields an error in
the browser of: Couldn't connect to MySQL Here is the script.
---
[snip]
$dbhost = 'localhost';
[/snip]
Try changing this to 127.0.0.1
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
This is really just a PHP question, I think.
Are MySQL and Apache running on the same machine?
What version of MySQL are you running?
Typically, you need a PHP mysql_connect() call including the MySQL
host, username, and password. You only list the host above.
With a default installation of