The mysql_connect appears to be the point of failure. The line number in the error output correlates to the call.
Am able to use the same user, password, etc, to connect to the "accounting" database as either user "llama" and user "root" using the "mysql" interface.
Also tried using the root account which had the same results.
What am I missing? Seems too simple. Could it be a configuration issue?
Many thanks for any insights! drubl
-----------------------------------------------------------------------------
Configuration: ---------------------- RH Linux 9 Apache 2.0.40 PHP 4.2.2 MySQL 3.23.54
Script: ------------------ <?php
// Connect to MYSQL $db_connection = mysql_connect ("rh01", "llama", "camel");
// Select the DB mysql_select_db ("accounting");
?>
Results displayed by browser: ---------------------------------
Warning: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) in /var/www/html/mysql_connect.inc on line 26
Warning: MySQL Connection Failed: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) in /var/www/html/mysql_connect.inc on line 26
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]