non-interactive installation of mysql
am 06.05.2011 15:06:42 von gbudayHi there,
this might be not mysql question in the narrow sense but I hope
somebody will be able to help me: I'm trying to install mysql-server
non-interactively on a ubuntu box:
remote 'echo mysql-server-5.1 mysql-server/root_password password "" |
sudo debconf-set-selections'
remote 'echo mysql-server-5.1 mysql-server/root_password_again
password "" | sudo debconf-set-selections'
remote sudo apt-get install -y mysql-server
where remote is a shorthand for ssh and some server address. In spite
of feeding that two parameters to debconf-set-selections, apt-get asks
for the root password interactively. How can I avoid that?
- Gergely
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql-2@m.gmane.org