Automated Installation of MySQL without asking password

is your  the installation process  pops up a blue dialog asking for a root password ?? want to make automated

without the asking of password then

First give this two commands

echo "mysql-server mysql-server/root_password select (password omitted)" | debconf-set-selections 

echo "mysql-server mysql-server/root_password_again select (password omitted)" | debconf-set-selections 


Then the installation will not ask for passowrd then continue installation.

apt-get install mysql-client-5.1 mysql-server-5.1 -y

No comments: