0

I am using WampServer and I am trying to install Joomla 3.3.4 on my localhost.

In section Database Configuration I get the error

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

I try to leave password blank, but still it doesnt connect.

P.S.Sorry for my bad english

RiggsFolly
  • 89,708
  • 20
  • 100
  • 143
artG
  • 235
  • 3
  • 12

4 Answers4

2
  • Use "root" as username.
  • Use an empty password.
  • Use "joomla" as database name.
Pang
  • 9,073
  • 146
  • 84
  • 117
johnson
  • 36
  • 2
1

The error speaks for itself.

You're getting this because you have either typed in an incorrect:

  1. Database name
  2. Database username
  3. Database password

Either that, or you have not assigned the username you created in PHPmyAdmin to the actual database.

Lodder
  • 19,677
  • 10
  • 58
  • 96
0

Did you check if MYSQL is running? When Mysql service is stopped then this error normally occurs.

Shahid Malik
  • 787
  • 7
  • 15
0

Replacing localhost by 127.0.0.1 solved the problem for me.

I got the idea reading this thread.

Community
  • 1
  • 1
Quentin Gaultier
  • 331
  • 3
  • 13