I used following code to make a database in mysql through bash script.but it couldn't <a href="http://make.it">make.it</a> opens the mysql server in terminal just.<div><br></div><div><div>mysql -u root -p</div><div>echo  "Enter password"</div>
<div>read a</div><div>create database test</div><div>echo "press ctrl+d "</div><div>echo "bye"</div><div><br></div><div><br></div><div>any clue ?</div><div> </div><div>Thanks </div><div><br></div><div>
<a href="http://amritpalpathakgne.wordpress.com">amritpalpathakgne.wordpress.com</a> </div></div>