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
  • 93,638
  • 21
  • 103
  • 149
artG
  • 235
  • 3
  • 12

4 Answers4

2
  • Use "root" as username.
  • Use an empty password.
  • Use "joomla" as database name.
Pang
  • 9,564
  • 146
  • 81
  • 122
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,758
  • 10
  • 59
  • 100
0

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

Shahid Malik
  • 867
  • 8
  • 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
  • 279
  • 6
  • 16