mysql -u root -p
mysql> create database phpgroupware ;
mysql> grant all on phpgroupware.* to phpgroupware@localhost identified by
'password';
mysql> quit

These are the lines to create a database and set a password.  How would I put this
in a shell script?  I want it to run unattended, at least, almost unattended.

Thanks
--
Bob Crandell
Assured Computing
When you need to be sure.
Cell 541-914-3985
FAX  240-371-7237
[EMAIL PROTECTED]
www.assuredcomp.com


Reply via email to