Ошибка xampp отказано в доступе

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

asked Apr 13, 2020 at 17:45

Davidcz's user avatar

1

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 …

answered Jun 2, 2020 at 16:58

Srinivas08's user avatar

Srinivas08Srinivas08

95410 silver badges21 bronze badges

1

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

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

answered Oct 25, 2020 at 19:43

DerRockWolf's user avatar

2

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

answered May 28, 2020 at 21:07

Ercan's user avatar

ErcanErcan

2,53121 silver badges23 bronze badges

2

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.

answered Mar 26, 2021 at 18:32

DSH's user avatar

DSHDSH

491 silver badge5 bronze badges

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)

answered Apr 19, 2020 at 18:47

Fathul Muiin's user avatar

It happens because the owner of xampp-control.ini is different than your user. A simple solution I did was to:

  1. copy it
  2. paste it somewhere
  3. copy it back to the original location

This way your user will become the owner of the file. No need to run Xampp Control Panel as Administrator which then prompts you each time you run it.

answered Aug 11, 2020 at 19:37

Sohail Ahmed's user avatar

Sohail AhmedSohail Ahmed

1,0171 gold badge11 silver badges27 bronze badges

I have just the xampp control panel as an administrator and its done.
Right click on xampp control panel and select run as administrator, your issue will be solved.

answered Aug 19, 2020 at 3:45

Imad Ullah's user avatar

Imad UllahImad Ullah

8999 silver badges16 bronze badges

Best solution is to locate the file xampp-control.ini in C:xampp, right-click, select Properties then the Security tab and Edit the permissions to Allow all permissions for Everyone.

answered Nov 2, 2020 at 9:08

Ambar Chatterjee's user avatar

Solution for this error cannot create file «c:xamppxampp-control.ini» acces denied

Rightclick on xampp-control.ini and click on property then click on security and click on EDIt and give full control on EveryOne.

answered Apr 14, 2022 at 8:00

Mayank Sudden's user avatar

Mayank SuddenMayank Sudden

1851 gold badge4 silver badges11 bronze badges

  1. Find file xampp-control.ini into folder XAMPP
  2. changes permisssion for everyone with FULL CONTROL

answered Jul 24, 2022 at 16:24

xrockstar's user avatar

I see this question has been asked many times, but I don’t find a solution for my problem. Tried all possible combinations in config.inc.php

$cfg['Servers'][$i]['auth_type'] = 'http';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'root';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';

/* Bind to the localhost ipv4 address and tcp */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';

/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = 'pmapass';

I installed XAMPP. In PhpMyAdmin I modified the password of root@localhost. I am able to login to PhpMyAdmin using the new password.

But when I Add a new user Drupal as per drupal installation steps, I get this error:

Error 1045, "Access denied for user 'root'@'localhost' (Password: YES)

But still the drupal user gets created but the drupal database in mysql doesnt get created.

When I try to create drupal database separately I am able to do it.

Apart from this I tried MySQL.exe -u root -p. It works fine there, so I am not sure.

In this tutorial, we will discuss Error: Cannot create file “D:xamppxampp-control.ini” Access is denied in an easy method. xampp-control.ini Access is denied and Exception EAccessViolation in module xampp-control.exe at0025B2AE issue arrives when you want to close your XAMPP server mostly. And when you open your XAMPP serve as an administrator this issue will not arrive. so in this blog post, we learn how to set XAMPP as default open an Administrator. Below error show like this.

xampp-control.ini Access is denied
xampp-control.ini Access is denied
Exception EAccessViolation in module xampp-control.exe at0025B2AE
Exception EAccessViolation in module xampp-control.exe at0025B2AE

Ok, now let’s this fix.

First, open your XAMPP folder and find a xampp-control.ini(D:xamppxampp-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.

solve XAMPP server error xampp-control.ini Access is denied
solve XAMPP server error xampp-control.ini Access is denied

Now, we solve XAMPP server error xampp-control.ini Access is denied in this blog post. when your run xampp-control.ini it will run as administrator.

Do you want to allow this app from-an unknown publisher to make changes to your device

Categories:

  1. Forums
  2. General Errors
  3. [SOLVED] XAMPP Cannot Create file xampp-control.ini Access Is Denied

Solution for when you are starting XAMPP on a new installation and you get an error prompt that says: Cannot create file xampp-control.ini Access is Denied [4790], Last Updated: Tue May 30, 2023


webune

Sat Apr 04, 2020

1 Comments

1944 Visits

XAMPP Error: Access is Denied — Solution

Follow these steps to easily overcome this error message in your XAMPP fresh installation:

  1. Close the XAMPP control panel
  2. Navigate to your XAMPP installation folder and fine a file name: xampp-control.exe
  3. Right-click on xampp-control.exe and select: Run as administrator
  4. Select yes when you are prompted to authorized XAMPP as administrator privileges.

Alternative, you can set the user permission for the application to run automatically as administrator.

Hope that helps.

In this blog, we fix XAMPP server error xampp-control.ini Access is denied in an easy method.

This issue arrives when you want to close your XAMPP serve mostly. but if you open your XAMPP serve as an administrator this issue will not arrive. so in this blog post we learn how to set XAMPP as default open as Administrator.

This error show like this.

xampp-control.ini Access is denied

Ok, now let’s fix this.

So open your XAMPP folder and find a file named xampp-control.exe. right-click on this file and Select Properties a tab will open like and select Compatibility and check “Run this program as an administrator” and click on the Ok button.

xampp-control.ini Access is denied

So, we solve XAMPP server error xampp-control.ini Access is denied in this blog post hope it will help you.

Brijpal Sharma

Brijpal Sharma is a web developer with a passion for writing tech tutorials. Learn JavaScript and other web development technology.

Понравилась статья? Поделить с друзьями:
  • Ошибка wsdl должен содержать элемент definitions
  • Ошибка xampp error apache shutdown unexpectedly
  • Ошибка ws 43709 3 ps4
  • Ошибка x64 при установке игры
  • Ошибка ws 43691 3 на ps4