C:\xampp\mysql

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

C:\xampp\mysql

Postby musicmaster » 15. December 2022 20:22

I installed Xampp in the D:\xmp

Then I tried to run mysqld:
PS D:\xmp\mysql> .\bin\mysqld -uroot
2022-12-15 19:39:11 0 [Note] D:\xmp\mysql\bin\mysqld.exe (mysqld 10.4.27-MariaDB) starting as process 9808 ...
2022-12-15 19:39:11 0 [Warning] Can't create test file c:\xampp\mysql\data\LAPTOP-ABC1234.lower-test
D:\xmp\mysql\bin\mysqld.exe: Can't change dir to 'c:\xampp\mysql\data\' (Errcode: 2 "No such file or directory")
2022-12-15 19:39:11 0 [ERROR] Aborting


Why does Xampp use the default path instead of the data instead of the subdirectory? And how do I fix this?
musicmaster
 
Posts: 34
Joined: 07. July 2016 19:47
XAMPP version: latest
Operating System: Windows

Re: C:\xampp\mysql

Postby Altrea » 16. December 2022 11:51

Because you are trying to start XAMPPs MariaDB in a way not provided with XAMPP.
XAMPP starts MariaDB with parameter for the config file path.
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: 11954
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 92 guests