Overriding Default Laravel database configuration for artisan migrate commands
For my database (MySQL), I have two user accounts, one ( mydbuser ) for general application access with select/inset/update/delete permissions on all tables, the other ( mydbadmin ) with privilege to manage tables, etc CREATE USER 'mydbadmin'@'%' IDENTIFIED BY 'ultrasecret password'; GRANT ALL ON mydb.* TO 'mydbadmin'@'%'; CREATE USER 'mydbuser'@'%' IDENTIFIED BY 'not quite so secure password'; GRANT SELECT, INSERT, UPDATE, DELETE ON mydb.* TO 'mydbuser'@'%'; My Laravel app is configured to use the mydbuser user, while mydbadmin is currently used for manually setting up the tables, etc. Now, I