Stan wrote:
So ... if I enter "mysql -h mysqlServer -u stan -p" and then enter the 
password, I get connected without a problem ... I get the mysql client prompt.

You haven't selected a db.

Inside mysql:

use database_name;

And the mysql_connect() statement in my code does not "die".

But the mysql_select_db() statement in my code does "die".

What error?

echo mysql_error();

Postgresql & php tutorials

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to