Possible Duplicate:
Scripted install of MySQL on Ubuntu
I wrote script for LAMP auto installation, but it hangs when installs MySQL, because mysql-server asks for new mysql root password. How can I skip this step? P.S. I use command apt-get install -y mysql-server