-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Migration fails, no such file or directory #66
Comments
False alarm, was a MAMP issue. For anyone else with the problem, this took care of it: |
Thank you! This works for me. 👍 |
I'm not using MAMP but having this same issue. In my case I'm trying to run a task via |
I ran into the same problem by running migrations using MySQL. Apparently it's just a matter of using "127.0.0.1" instead of "localhost". http://stackoverflow.com/questions/6259424/troubleshooting-no-such-file-or-directory-when-running-php-app-console-doctri |
i have migration file 'user' and becuase this is similar model class i delete this file. . afther that i have this error : include(/var/www/html/myfirstproject/app/database/migrations/2014_10_05_170254_user.php): failed to open stream: No such file or directory |
@itjoo it's because your |
Thanks @petwho very helpful ! |
This error on laravel i'm using command php artisan migrate SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.tables where table_schema = schoolSYS and table_name = migrations and table_type = 'BASE TABLE') at vendor/laravel/framework/src/Illuminate/Database/Connection.php:671
35 artisan:37 |
I have the same issue |
I can run the Schema builder manually and everything works just fine. Example:
But when using the Artisan Migrate command, I get the following error:
The text was updated successfully, but these errors were encountered: