Common Issues: Difference between revisions
No edit summary |
(Marked this version for translation) |
||
| Line 3: | Line 3: | ||
<translate> |
<translate> |
||
== Mysql error on Windows 11 == |
== Mysql error on Windows 11 == <!--T:1--> |
||
Windows defender sees XAMPP as a virus thus deletes or corrupts tables and files critical for i@nseo. If this happens here are 3 solutions that could fix this issue. Please also set up Windows Defender as in [[Install i@nseo]] |
Windows defender sees XAMPP as a virus thus deletes or corrupts tables and files critical for i@nseo. If this happens here are 3 solutions that could fix this issue. Please also set up Windows Defender as in [[Install i@nseo]] |
||
=== Repair Mysql Database === |
=== Repair Mysql Database === <!--T:2--> |
||
==== Solution 1 ==== |
==== Solution 1 ==== |
||
<!--T:3--> |
|||
* quit XAMPP |
* quit XAMPP |
||
* start XAMPP as administrator |
* start XAMPP as administrator |
||
| Line 15: | Line 16: | ||
* a page should appear that tries to repair permissions |
* a page should appear that tries to repair permissions |
||
==== Solution 2 ==== |
==== Solution 2 ==== <!--T:4--> |
||
If you still get stuck, users reported the following procedure to work |
If you still get stuck, users reported the following procedure to work |
||
<!--T:5--> |
|||
# Close the Xampp application (preferably using task Manager) |
# Close the Xampp application (preferably using task Manager) |
||
# Open <code>C:\ianseo\mysql</code> folder (or where your ianseo installation is) |
# Open <code>C:\ianseo\mysql</code> folder (or where your ianseo installation is) |
||
| Line 32: | Line 34: | ||
# provided you kept the original values upon installation, type the following 2 lines '''<code>create user ianseo@localhost identified by 'ianseo';</code>''' '''<code>grant all privileges on ianseo.* to ianseo@localhost;</code>'''then press "execute" |
# provided you kept the original values upon installation, type the following 2 lines '''<code>create user ianseo@localhost identified by 'ianseo';</code>''' '''<code>grant all privileges on ianseo.* to ianseo@localhost;</code>'''then press "execute" |
||
<!--T:6--> |
|||
NOTE: the original values are |
NOTE: the original values are |
||
<!--T:7--> |
|||
* user: ianseo |
* user: ianseo |
||
* password: ianseo |
* password: ianseo |
||
* database: ianseo |
* database: ianseo |
||
=== Avoid Issues with XAMPP and Windows 11=== |
=== Avoid Issues with XAMPP and Windows 11=== <!--T:8--> |
||
==== Set as a Service ==== |
==== 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. |
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. |
||
<!--T:9--> |
|||
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. |
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. |
||
<!--T:10--> |
|||
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. |
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. |
||
==== Train Defender to protect XAMPP and related servers ==== |
==== Train Defender to protect XAMPP and related servers ==== <!--T:11--> |
||
<!--T:12--> |
|||
{{Install_Post_Installation}} |
{{Install_Post_Installation}} |
||
</translate> |
</translate> |
||
Latest revision as of 15:13, 20 June 2026
Mysql error on Windows 11
Windows defender sees XAMPP as a virus thus deletes or corrupts tables and files critical for i@nseo. If this happens here are 3 solutions that could fix this issue. Please also set up Windows Defender as in 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