I am trying to install a new Drupal-4.6.3 site on a Redhat server with PHP 5 and MySQL 3.23.58.
When I had the $base_url incorrectly set to the root directory instead of the sub-directory where I have placed the Drupal files, I was able to connect to the "Welcome to your new Drupal-powered website" page, but clicking on "Create the first user account" produced a "index.php not found" error.
When I corrected the $base_url value, Iinstead of the 'Welcome" page I now get the following error
Warning: mysql_connect(): Access denied for user: 'myname@myhost.com' (Using password: YES) in /home/mysite/drupal-4.6.3/includes/database.mysql.inc on line 31
Access denied for user: 'myname@myhost.com' (Using password: YES)
line 31 being
$connection = mysql_connect($url['host'], $url['user'], $url['pass'], TRUE) or die(mysql_error());
mysql_select_db(substr($url['path'], 1)) or die('unable to select database');
return $connection;
I have loaded the Drupal tables to a previously existing database. The username, password and database name I have set in $db_url are those which give me access to the database in the account Administration page.
Some background -
I had earlier problems between setting up "settings.php" and connecting via browser because my host had chosen that exact moment to change my account password, informing me by emailing to my default email address (which uses the same password, and which obviously I could not read!!!)