Menu

#10 (install) creating mysql schema

open
nobody
other (7)
5
2000-11-16
2000-11-16
Lee Weston
No

Generally now mysql always requires a user and password.

I've just started installing Prospector and hit this with
mysql-create.sh

Here is how I dealt with it. For each line like:

mysql --exec="CREATE DATABASE calendar;"

I changed it to:

mysql -u$1 -p$2 --exec="CREATE DATABASE calendar;"

and involked it with

./mysql-create.sh myuser mypassword

Thanks for GPLing this program.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB