Control Panel startup should ignore drive-letter case?

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

Control Panel startup should ignore drive-letter case?

Postby uuebb » 09. April 2021 15:46

"MySQL Service detected with wrong path" (not really, just different drive-letter case)
May XAMPP Control Panel be changed to not care if drive-letters are different case?

Windows Server 2019 Standard; XAMPP Version: 7.4.16
I installed XAMPP, confirmed XAMPP Control Panel (run as admin) started clean, then ran the batch files to install Apache and MySQL (MariaDB) as services. Services were added successfully. Restarted everything.

XAMPP Control Panel (run as admin) correctly showed Apache and MySQL status green with "Service" check-marks, and reported Apache already running okay but reported the following for MySQL (note that "Found Path" and "Expected Path" are the same except different drive-letter case):

9:15:16 AM [mysql] MySQL Service detected with wrong path
9:15:16 AM [mysql] Change XAMPP MySQL and Control Panel settings or
9:15:16 AM [mysql] Uninstall/disable the other service manually first
9:15:16 AM [mysql] Found Path: C:\xampp\mysql\bin\mysqld --defaults-file=C:\xampp\mysql\bin\my.ini mysql
9:15:16 AM [mysql] Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
9:15:16 AM [mysql] Problem detected!
9:15:16 AM [mysql] Port 3306 in use by "C:\xampp\mysql\bin\mysqld --defaults-file=C:\xampp\mysql\bin\my.ini mysql"!
9:15:16 AM [mysql] MySQL WILL NOT start without the configured ports free!
9:15:16 AM [mysql] You need to uninstall/disable/reconfigure the blocking application
9:15:16 AM [mysql] or reconfigure MySQL and the Control Panel to listen on a different port

So, I manually used command-line to recreate the service with the path having lower-case drive-letters:
>sc delete mysql
>sc create mysql binPath= "c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql"
I then went into MSC Services and changed Startup from "Manual" to "Automatic (Delayed Start)" and started the service.
Now when I re-opened XAMPP Control Panel, it is happy - instead of above, it shows:
9:49:46 AM [mysql] XAMPP MySQL Service is already running on port 3306

So, may XAMPP Control Panel be changed to not care about drive-letter case to avoid this extra work? Thanks!
uuebb
 
Posts: 1
Joined: 06. April 2021 16:21
XAMPP version: 7.4.16
Operating System: Windows Server 2019

Re: Control Panel startup should ignore drive-letter case?

Postby Altrea » 09. April 2021 16:04

uuebb wrote:So, may XAMPP Control Panel be changed to not care about drive-letter case to avoid this extra work? Thanks!

Yes. Thanks for reporting
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: 11926
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 151 guests