How to use eval command in bash?
Command eval is builtin shell builtin, part of POSIX. In practice, eval takes a string as argument and evaluates that string as if you would typed it if it was… Read more »
Command eval is builtin shell builtin, part of POSIX. In practice, eval takes a string as argument and evaluates that string as if you would typed it if it was… Read more »
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 »