• Register
0 votes
84 views

Problem :

I am new to WampServer and while trying to install the Joomla 3.3.4 on my localhost in a Database Configuration I have encountered below error

“Could not connect to the database. Connector returned number: Could not connect to MySQL." 

I also tried to leave the password as blank, but still it didn’t connect.

2.3k points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I came across your question. I can help you in resolving it.

When the Mysql service is stopped then such error normally occurs so please check if it is running or not.

Please try to use "root" as your username and try to use empty as your password also try to use "joomla" as your database name.

You can also cross check if you have assigned your username which you have created in the PHPmyAdmin to your actual database or not.

You can also try to replace the localhost by 127.0.0.1

Usually we just try do the copy and paste the database name and username it is not correct

As sometimes the server setting may provide a prefix before a database name or the username such as the empty space and it is always different from your typed databse or username and we dont realize the difference as it is just the empty space.

 Hope it fixes your issue.

5k points