I borked a Joomla site while trying to upgrade to Joomla 3. One of the extensions was not supported and I had to restore my backup, including the backup of the database. Unfortunately, it did not work and I just got mySql errors. I should not have tested it locally instead of trying it on a production site.
Now I am trying to run a copy of the website on my computer locally, with Xampp. Xampp is running Apache and mySql. I've configured MySql according to the instructions at: http://docs.joomla.org/Copying_a_Joomla_website but I am still getting the error:
Database connection error (2): Could not connect to MySQL.Database connection error (2): Could not connect to MySQL.