If you are working with multiple database connections in your Laravel project. And you are looking to run migrations for specific database connection.


php artisan migrate --database=mysql

If you have do specify the path along with the database you can do so by following


php artisan migrate --database=mysql --path=/database/migrations/mysqlmigrations
Comments