

Other names may be trademarks of their respective Oracle is a registered trademark of Oracle Corporation and/or itsĪffiliates. Server version: 5.7.21 MySQL Community Server (GPL)Ĭopyright (c) 2000, 2018, Oracle and/or its affiliates. Now connect to the MySQL database using the command line. The MySQL server has been installed on your system. Then run below command: sudo mysql_secure_installation The do the high security provide all answers to yes.įirst start the MysQL service if not started: sudo systemctl restart mysql This will be MySQL root user password required to log in to MySQL server.Įxecute the below command on your system to make security changes on your Database server.

Input a secure password and same to confirm password window. The installation process will prompt for the root password to set as default. Run the following commands to install MySQL on a Debian machine. Your system is ready for the MySQL installation. Select the MySQL 5.7 or 5.6 option to install on your system. Sudo dpkg -i mysql-apt-config_0.8.13-1_all.debĭuring the installation of MySQL apt config package, It will prompt to select MySQL version to install. You can download and install the package on your Debian system, which will add PPA file to your system. MySQL team provides official MySQL PPA for Debian Linux. Run below commands to upgrade the current packages to the latest version. Windows users can use Putty or other alternatives applications for SSH connection. Login to your Debian 9 system using shell access.
