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.