Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Migration error through Oil
  • I've written a migration, used an example migration, and even just a blank one, but I keep getting this error when developing locally: $ oil refine migrate:current
    Error: mysql_connect(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in /Users/username/Sites/project-name/fuel/core/classes/database/mysql/connection.php on 77 migrate:up does the same thing. Any ideas?
  • I'm sorry to do this to you, but did you try Googling thins? If you did you'd see a link to the Troubleshooting page in our Documentation, which explains this message exactly.
  • I did try, but I'm the kind of person who never looks at page 2. Solved that problem! Now I have a new one:
    Error: chmod(): Operation not permitted in /Users/thomas/Sites/project-name/fuel/core/classes/log.php on 121
    

    I'll Google it properly this time!
  • I sudo'd that bad boy, I've set the server up myself so probably got something running under the wrong account somewhere. Cheers!

Howdy, Stranger!

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

In this Discussion