If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
mysql --user=root mysql
GRANT ALL PRIVILEGES ON *.* TO $1@localhost;
./script.sh john
will create the mysql user, john without a password and only will accept local connections for that user name. if you'd like it to be more specific, let me know.