Common Issues/fr: Difference between revisions
No edit summary |
No edit summary Tag: Manual revert |
||
| Line 4: | Line 4: | ||
== Erreur MySQL sous Windows 11 == |
== Erreur MySQL sous Windows 11 == |
||
Windows Defender considère XAMPP comme un virus et supprime ou corrompt ainsi des tables et des fichiers essentiels au fonctionnement d'i@nseo. Si cela se produit, voici trois solutions susceptibles de résoudre ce problème. Veuillez également configurer Windows Defender comme indiqué dans [[ |
Windows Defender considère XAMPP comme un virus et supprime ou corrompt ainsi des tables et des fichiers essentiels au fonctionnement d'i@nseo. Si cela se produit, voici trois solutions susceptibles de résoudre ce problème. Veuillez également configurer Windows Defender comme indiqué dans [[Install i@nseo]]. |
||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
<div lang="en" dir="ltr" class="mw-content-ltr"> |
||
Revision as of 08:02, 12 July 2026
Erreur MySQL sous Windows 11
Windows Defender considère XAMPP comme un virus et supprime ou corrompt ainsi des tables et des fichiers essentiels au fonctionnement d'i@nseo. Si cela se produit, voici trois solutions susceptibles de résoudre ce problème. Veuillez également configurer Windows Defender comme indiqué dans Install i@nseo.
Repair Mysql Database
Solution 1
- quit XAMPP
- start XAMPP as administrator
- start only Apache
- navigate to http://localhost/RepairXAMPP.php (or http://localhost/Ianseo/RepairXAMPP.php)
- a page should appear that tries to repair permissions
Solution 2
If you still get stuck, users reported the following procedure to work
- Close the Xampp application (preferably using task Manager)
- Open
C:\ianseo\mysqlfolder (or where your ianseo installation is) - Rename the
datafolder todata_old - Copy and paste the backup folder named
backup_copy - Rename the
backup_copyfolder to data - Open
data_oldfolder, copy all folders exceptmysqlfolder,performance_schemafolder andphpmyadminfolder. - Go to the newly renamed
datafolder, paste the folders from step 6 inside. - Open the
data_oldfolder, copyibdata1 - Paste it in the
datafolder - Start Xampp
- navigate to http://localhost/phpmyadmin
- click on the "SQL" tab in the top menu
- provided you kept the original values upon installation, type the following 2 lines
create user ianseo@localhost identified by 'ianseo';grant all privileges on ianseo.* to ianseo@localhost;then press "execute"
NOTE: the original values are
- user: ianseo
- password: ianseo
- database: ianseo
Avoid Issues with XAMPP and Windows 11
Set as a Service
Users in internet reported that the issue seems to disappear if Apache and Mysql are run as services. To activate the services, you need to run XAMPP_control as administrator and flag the checkbox on the left of Apache and Mysql.
If the checkboxes are disabled and xampp_control is running as administrator, you need to activate them: in the XAMPP folder search for xampp_control.ini file, edit it (click with right button and choose edit), find the block that says "[EnableServices]" and replace "0" with "1" in front of Apache and Mysql. Save, restart XAMPP as admin and the checkboxes should be enabled.
Once the 2 checkboxes have a green flag all is set: start apache and mysql and from now on you can forget XAMPP: each time you switch on your computer the 2 programs will start automatically.
To avoid interferences between Windows Defender and XAMPP follow these steps[Win11 1]
Step 1: Open Windows Security and go in "Protection against virus and malware"
Step 2: At the bottom of the page click on Manage Exclusion
Step 3: Insert which elements to exclude from the scan paying attention to upper and lower case:
- Select folder to exclude:
- C:\ianseo
- File Types to exclude:
- .mysql
- .php
- Processes to exclude (type exactly as written):
- Apache HTTP Server
- mysqld
- xampp-control
- ↑ Arnaud Chalmel, Archers de Saint Loup