Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xampp - mysql - Cannot create file xampp-control.ini, Access Denied

I use xampp for one month. But xampp yesterday started making trouble like this https://imgur.com/avRWXdb. That I uninstall and now install xampp and my sql is running. But now if i want to run xampp and click to xampp icon I always have to choose language: english / german. And if I want to end the program and I stop mysql, I see https://imgur.com/plIpPS4 (* Access Denied) and this: https://imgur.com/a/sEzGKW2 Then I must wain for program answer. I can end xampp. How to repair to normal working again? Thank´s

like image 849
Davidcz Avatar asked Apr 13 '20 17:04

Davidcz


People also ask

How do you fix XAMPP Cannot create file XAMPP control INI access is denied error?

First, open your XAMPP folder and find a xampp-control. ini(D:\xampp\xampp-control.exe) file. right-click on this file and Select Properties a tab will open and select Compatibility then checkbox check Run this program as an administrator and click on the bottom Ok button.

Can not create file access denied?

Right-click the file or folder, and then click Properties. Click the Security tab. Under Group or user names, click your name to see the permissions you have. Click Edit, click your name, select the check boxes for the permissions that you must have, and then click OK.

How do I start MySQL in XAMPP control panel?

If you have the MySQL already installed on your windows, then go to the Services by executing "services. msc" run command or from the Start menu on your windows and right-click the MySQL file and then stop the service, now open your XAMPP and start MySQL. Now the MySQL will start on the port 3306.


5 Answers

xampp access denied control ini

The issue is with the permissions, just give write access to the file, you will not get error while you try to exit xampp ... It worked for me ...

like image 52
Srinivas08 Avatar answered Oct 18 '22 01:10

Srinivas08


Deleting the file and executing xampp-control.exe is also working.

xampp-control.exe will recreate the ini file with all the correct permissions.

like image 21
DerRockWolf Avatar answered Oct 18 '22 02:10

DerRockWolf


xampp-control.ini file somehow become 'read only'. Just changing it to 'full control' solved my problem.

like image 8
Ercan Avatar answered Oct 18 '22 01:10

Ercan


Error caused due to incorrect xampp-control.ini file permission.

In order to fix this issue in a simple way:

  • Open xampp folder > delete xampp-control.ini file
  • Run the xampp application, it will recreate the xampp-control.ini file with proper file permission.

Now your application should look good.

like image 5
DSH Avatar answered Oct 18 '22 03:10

DSH


My problem was solved by just running the app as an administrator.

Right click the xampp control panel, and then run as administrator.

You can send to desktop the xampp control panel (shortcut), then change permissions to always Run As Administrator[my image] , 1

and use the shortcut in everywhere you want to add (maybe in your taskbar)

like image 3
Fathul Muiin Avatar answered Oct 18 '22 02:10

Fathul Muiin