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():  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 0.0.0.0 (127.0.0.1 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 127.0.0.1.
On a Mac, you can not use localhost, you have to use 127.0.0.1.
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion