Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Oil r migrate error - mysql.sock
  • Hi guys, Getting the following error while trying to migrate via Oil: Error: mysql_connect(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in /Applications/XAMPP/xamppfiles/htdocs/anareva/fuel/core/classes/database/mysql/connection.php on 73 I'm running OSX with XAMPP serving the mysql/apache. Any ideas?
  • I had this problem as well on MAMP, just changed the hostname to ( should work as well)
  • We didn't write documentation just for fun. Googling that error shows this:
  • Try using 'localhost' as the hostname in your fuel/app/config/db.php.
  • I fixed it! Had to change localhost to
  • On a Mac, you can not use localhost, you have to use

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion