Couldn't make a database in mysql using bash script ??

Amrit Pal Pathak amritpalpathak1 at gmail.com
Fri Jul 1 15:12:13 UTC 2011


I used following code to make a database in mysql through bash script.but it
couldn't make.it opens the mysql server in terminal just.

mysql -u root -p
echo  "Enter password"
read a
create database test
echo "press ctrl+d "
echo "bye"


any clue ?

Thanks

amritpalpathakgne.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110701/f012abf7/attachment.html>


More information about the ubuntu-users mailing list