Thursday, May 7, 2015

Could not connect to the database

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

This happens when you install Joomla by uploading the zip file to folders.  Thereafter when you run installation.  Here godaddy.   Joomla 3.4.1


Ans.   You need to

1.  create a database from Mysql,

2.   create a user and password

3.  add user to that database  and

4.  then give permission to it.

This will solve the problem and your joomla installation will be smooth.

Your created database will show up in phpmyadmin.


If it fails then another method is...  go to your installation folder  and ADD these things in

configuration.php-dist  -  file

public $user = '';                       // DB username  -  that u created in step 3
public $password = '';                   // DB password
public $db = '';                         // DB database name -  that in Step 1.

No comments:

Post a Comment