• Register
0 votes
50 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.

8 4 2
2,300 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.

5 2 1
4,980 points

Related questions

0 votes
1 answer 11 views
11 views
Problem: I'm having problems with (mysql.connector.errors.programmingerror: not all parameters were used in the sql statement.). I tried to find it on a web search but I can't get proper information.
asked Mar 30 zayed1 24.7k points
0 votes
1 answer 2 views
2 views
Problem: I'll make a submission for a response to my question. Please, I have searched the internet but have not found any useful material, and I am now having trouble continuing my studies.
asked Apr 1 rakib1 50.4k points
0 votes
1 answer 2 views
2 views
Problem: I used Google to try to find a solution on the web of the above question, But I got no useful hints. Can I get Pointer information about my problem with this?
asked Mar 24 Samiur1 38.4k points
1 vote
1 answer 5 views
5 views
Problem: Need to know how install mysql_connector_python. Pip install mysql-connector-python.
asked Mar 22 PkGuy 13.1k points
0 votes
1 answer 3 views
3 views
Problem: I used Google to try to find a solution on the web for the above question. But I got no useful hints. Can I get Pointer information about my problem with this?
asked Apr 1 zayed1 24.7k points
0 votes
1 answer 2 views
2 views
Problem: I am stuck during learning as I have already mentioned in my question someone please cooperate me to continue my project-Thanks
asked Mar 24 Samiur1 38.4k points
0 votes
1 answer 2 views
2 views
Problem: I used Google to try to find a solution on the web of the above question, But I got no useful hints. Can I get Pointer information about my problem with this?
asked Mar 23 rubelkhan 20.4k points
0 votes
1 answer 3 views
3 views
Problem: Is there anyone to helo on > 'how to connect ms access to mysql database' ?
asked Mar 17 sadi1982 36.3k points
0 votes
1 answer 2 views
2 views
Problem: How can I deal with this problem: database error: unable to connect to the database:could not connect to mysql
asked 4 days ago tuhin1 46.7k points
0 votes
0 answers 3 views
3 views
problem: I got some error.Please help!
asked 6 days ago ashik 10.6k points