Results 1 to 4 of 4
Jun 1, 2013, 16:12 #1
- Join Date
- Oct 2011
- 0 Post(s)
- 0 Thread(s)
localhost error, Database connection error (2): Could not connect to MySQL
I am working on a Joomla! 2.5 video training course. I had been going along with the videos smoothly until one day I went to http://localhost and instead of seeing my usual Joomla! Home screen, Instead I was greated by the message; "Database connection error (2): Could not connect to MySQL." I am using the XAMPP stack on my computer running Windows 8 Pro.
In my Xampp folder, htdocs folder, in my Configuration.php file, these are my settings (as directed in my video course, setting recommendations):
public $dbtype = 'mysql';
public $host = 'localhost';
public $user = 'root';
public $password = '';
public $db = 'Joomla25';
Then, If I Look in the 'Logs' Folder in My Xampp directory, I find a file titled 'error' within it says this:
Joomla FAILURE: Username and password do not match or you do not have an account yet.
So.... I am wondering if anyone could help me to figure out how I can make sure my settings in my configuration.php file match up. I just don't know what they need to match up with.... something in my MySql or PhpMyAdmin folders?? I am not sure.... any help is really appreciated. Thank You!