![]() Enter a password and press TAB to select OK. Programster's Blog - Debian 8 - Install MySQL 5. When MySQL is being installed, a dialog box will appear asking for a new root password for MySQL.Sudo apt install mysql-community-server -y Then use the following commands to install the MySQL server (it will install the version you selected). #!/bin/bashĪt the popup-page, select the version you want. If you really want MySQL instead of MariaDB for whatever reason, you can execute the script below to install the version you want. If you decide to just go with MariaDB 10.1 and are confused by the lack of a prompt to set the root password, just login with sudo mysql and then use mysql command to set the password: GRANT ALL ON *.* TO identified by 'myawesomepassword' Install MySQL 5.6, 5.7, or 5.8-preview However, with Debian 9, if you do this you will end up installing MariaDB 10.1 which is a drop in replacement for 5.6. ![]() You would then receive either MySQL 5.5, 5.6, or 5.7 depending on which distro you were using, but they were all versions of MySQL. Usually, to install MySQL on a distro, you would just perform the following commands: sudo apt update ![]() The steps below will show you how to install whichever version of MySQL-server you want on your Debian 9 server and why you should not just run sudo apt install mysql-server -y Similar Posts
0 Comments
Leave a Reply. |