How to create and fill database from shell script
TLDR Make sure MySQL is discoverable from your path Run:
1 |
mysql -uroot -ppassword < createDatabase.sql > outputCreate.log |
to run createDatabase.sql as user root with password password More detailed version Recently I was working on a little… Read more »