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.

  1. Open Terminal
  2. Navigate to the XAMPP config folder
  3. cd /Applications/XAMPP/xamppfiles/etc/
  4. Set permissions of my.cnf to 600
  5. sudo chmod 600 my.cnf
  6. Restart MySQL.

Submit Your Comment