Reputation: 385
After using XAMPP for development purposes for a couple of years I'm starting with Wamp.
I created a database called "school" using phpMyAdmin, created a database user "admin" and password "admin".
When I get to the second page of the Joomla install I enter the above details, including Host Name: Localhost but get an error message "Could not connect to the database. Connector returned number: Could not connect to MySQL."
I know there must be some connection problem with the database but I'm scratching my head to find out what it is. Any suggestion would be much appreciated!
Upvotes: 0
Views: 3520
Reputation: 411
Can you access the database from phpMyAdmin when you log in as admin? If not you should check admin's privileges. Give admin all privileges on that database; the default "Usage" permission is not enough. You can reduce the privileges afterwards if necessary.
If you can access it as admin from phpMyAdmin, double check on phpMyAdmin's privileges page that the admin's host is "localhost" since that what you're telling Joomla.
Also try both MySQL and MySQLi as the database type when installing Joomla.
Upvotes: 2