I am new to Drupal and I have used Joomla for years successfully running it on XAMPP in a windows environment. I went through the Drupal installation guide and tried to install Drupal. I was able to get to the setup page and created the database with the drupal user in MySQL. After the point of verification I enter all of the information to run the create script for the database and it fails giving the following error
Error message
In order for Drupal to work, and to continue with the installation process, you must resolve all issues reported below. For more help with configuring your database server, see the installation handbook. If you are unsure what any of this means you should probably contact your hosting provider.
Failed to connect to your database server. The server reports the following message: SQLSTATE[28000] [1045] Access denied for user 'drupal'@'localhost' (using password: YES).
Is the database server running?
Does the database exist, and have you entered the correct database name?
Have you entered the correct username and password?
Have you entered the correct database hostname?

This does not make sense because I am able to log into phpmyadmin with the account and I can see the drupal database. I am running my XAMPP apache on port 7777 but the mysql is running on the default port. I have struggled with this for about 4 days and really need help as I want to use Drupal for this project as opposed to Joomla.

Comments

chinyak’s picture

Please see the error logs from when I tried to run this from my local computer using XAMPP on port 85. Please note that all other Joomla applications are running fine on this instance.

authentication ...
[Mon Aug 08 08:46:06 2011] [notice] Digest: done
[Mon Aug 08 08:46:09 2011] [notice] Child 5664: Child process is running
[Mon Aug 08 08:46:09 2011] [notice] Child 5664: Acquired the start mutex.
[Mon Aug 08 08:46:09 2011] [notice] Child 5664: Starting 250 worker threads.
[Mon Aug 08 08:46:09 2011] [notice] Child 5664: Starting thread to listen on port 4435.
[Mon Aug 08 08:46:09 2011] [notice] Child 5664: Starting thread to listen on port 85.
[Mon Aug 08 08:47:11 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Aug 08 08:47:11 2011] [notice] Child 5664: Exit event signaled. Child process is ending.
[Mon Aug 08 08:47:12 2011] [notice] Child 5664: Released the start mutex
[Mon Aug 08 08:47:13 2011] [notice] Child 5664: All worker threads have exited.
[Mon Aug 08 08:47:13 2011] [notice] Child 5664: Child process is exiting
[Mon Aug 08 08:47:13 2011] [notice] Parent: Child process exited successfully.
[Mon Aug 08 08:50:22 2011] [notice] Digest: generating secret for digest

chiddicks’s picture

I'm wondering if you resolved this issue or whether you still need help. If so, I would recommend checking the settings.php file for the install and making sure your database string (containing server hostname, username, database, password, etc) is correctly configured.

My initial thought is that the port Apache is running on isn't relevant to this error.

marcvangend’s picture

Status: Active » Closed (cannot reproduce)

No response for more than 2 weeks. Closing.