In 10 out of the box Debian installed DBMS MariaDB as alternative to MySQL, and in most cases it works well.But if you want to obtain a DBMS with the features inherent only to MySQL, you will need to install it from the official repository MySQL.
Next, we discuss how to install MySQL Debian 10 from the developers. Debian 10 Mysql Software Installation MySQLHow to install MySQL in Debian 8 10 Step 1: Adding repository for MySQL To install MySQL in Debian, you need to download and install the APT repository is contained in.deb package that manages configuration and software installation MySQL. To install the latest version of leave it as is, go to OK and press Enter. ![]() This will also install the packages for the client and other dependencies. After that will warn you about a new authentication system based on SHA256, which is used in MySQL, click Ok. Select the authentication plugin (leave the default option to use the recommended plugin) and click Enter to complete the installation process. When the package installation is complete, the installer will start the MySQL service and set it startup. To make sure that the MySQL service is running, check its status using the following commands. Run: sudo mysqlsecureinstallation Read the description of each question and correctly respond to them. First, enter the root password that you specified during package installation. You can choose y (for Yes ) or n (for No ) to use or not to use the VALIDATE PASSWORD. When the script prompts you to set a new password for the root user, click No (you already have it installed during the installation of the package). Then carefully follow the other prompts and select y (for YES ) to remove anonymous users, disallow remote root logins to the system, remove test database and reload privileges table. ![]() To access the MySQL shell, run the following command (root user password, enter the query as shown in the screenshot): mysql-u root-p Insights In this article we tell how to install MySQL Debian 10. Powered by WordPress.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |