You are here

XAMPP WinMySQLadmin writes my.ini onto host

5 posts / 0 new
Last post
freemp
Offline
Last seen: 8 years 6 months ago
Joined: 2007-09-08 09:41
XAMPP WinMySQLadmin writes my.ini onto host

I was just wondering into which directory WinMySQLadmin saves the my.ini file it created during first launch.

Looks like it's being written right into the %windir% of the host system.

Now, I'm wondering why XAMPP is being considered portable if it leaves that file on the host... Or did I forget to configure something? I installed the XAMPP launcher, then extracted the XAMPP package, called xampp_setup.bat, started XAMPP via the PortableApps launcher, installed and started the mysql server, started the WinMySQLadmin via the 'Admin...' button. That's it.

Help is being appreciated. Thanks.

John T. Haller
John T. Haller's picture
Offline
Last seen: 7 hours 52 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
xampp_setup.bat

xampp_setup.bat is made for when you install XAMPP on a local drive without the installer (unzip it) and then want it installed for that PC. It should not be run when using it in a portable context. I think the XAMPP setup instructions used to be clearer on that fact.

As for undoing it, I don't think there is a way short of reinstalling XAMPP on your drive (if I recall correctly). If anyone else knows, please chime in.

I've added a note to the XAMPP page here to ensure others aren't confused.

Sometimes, the impossible can become possible, if you're awesome!

freemp
Offline
Last seen: 8 years 6 months ago
Joined: 2007-09-08 09:41
Reinstalling

If there is no short way of reinstalling, what is the long way?

I just tried to simply delete the folder and extract XAMPP again, this time without running xampp_setup. Without success. The file is still being written into the same location.

John T. Haller
John T. Haller's picture
Offline
Last seen: 7 hours 52 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not Sure

I'm not sure, actually. You could try installing and uninstalling the XAMPP installer on the PC. That might do it. Otherwise, ask in the apachefriends forum linked from the XAMPP page here for more details.

Sometimes, the impossible can become possible, if you're awesome!

freemp
Offline
Last seen: 8 years 6 months ago
Joined: 2007-09-08 09:41
%windir%

Well, according to the information provided by apachefriends, xampp_setup.bat simply writes absolute paths into the corresponding starter files for the servers. No registry entries (I also could not find any), nothing permanent.

Could it maybe be possble, that it simply is absolutely normal that my.ini gets written into %windir%? Has anybody seen it being written anywhere else?

Log in or register to post comments