Sometimes on Mac, you might wonder when your PHPMyAdmin is giving the following error.
#1 – Can’t create/write to file ‘/var/folders/_y/dsf4990dfdk23343kfl2k4ld/T/#sql1e2_1_0.MYI’ (Errcode: 13)
You need to set the permission of my.cnf to 600 and to do, follow these steps.
- Open Terminal
- Navigate to the XAMPP config folder
- cd /Applications/XAMPP/xamppfiles/etc/
- Set permissions of my.cnf to 600
- sudo chmod 600 my.cnf
- Restart MySQL.