

Connecting to MySQL using a blank password.

To do the high security provide all answers to yes sudo mysql_secure_installation sudo mysql_secure_installation Securing the MySQL server deployment. Now, to install MySQL 5.7, simply type: sudo apt install mysql-server Secure MySQL InstallationĮxecute the below command on your system to make security changes on your Database server.

Now Upgrading the Repositories sudo apt update sudo apt upgrade Now to fix all broken repositories sudo apt-get install -f Lets purge everything before starting (in case you installed previously) sudo apt-get remove -purge *mysql* sudo rm -rf /etc/mysql /var/lib/mysql sudo apt-get remove -purge *mariadb* sudo apt-get autoremove sudo apt-get autocleanĪnd again, verified that both MySQL and MariaDB (if installed previously)were removed dpkg -l | grep mariadb dpkg -l | grep mysql
