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
http://www.designmagick.com/


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to