Error connecting to the database

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Re: Error connecting to the database

Postby Altrea » 11. March 2024 11:53

Hi,

Did you create the database user first?
Your application installer can only use an existing database user. It will not create a database user by itself.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Error connecting to the database

Postby kats » 11. March 2024 18:29

To where you installed your xampp, go to `xampp\mysql\data` and look for this file `aria_log.XXXXXXXX` and delete it, then go to your xampp and start your MySQL, the file will be recreated again and MySQL will run with no problem.
I tried that solution and it worked for me with WordPress, Drupal, Joomla installations and managments.
kats
 
Posts: 1
Joined: 11. March 2024 18:18
XAMPP version: 8.2.12
Operating System: window 10 pro

Re: Error connecting to the database

Postby Nobbie » 11. March 2024 19:34

sergiohzph wrote:Hello, first of all, I'm new on this so I don't know what's going on and why is it failing.


You applied "sergio" as Username - Xampp does NOT come with a "sergio" database user. Did you properly create that user in MySQL?
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 184 guests