Article Directory
Download and install
Use sudo apt install mysql-server mysql-client
the default installation is MariaDB,
so from mysql official website to download and install
If 8.x version, click on the upper right Looking for previous GA versions? Switch to version 5.x
deepin15.11 corresponds Debian9 (through the command cat /etc/debian_version
to view the Debian version), where select Debian Linux, Debian Linux9
Download the above four files in order to install.
start up
After installation, mysql service has been launched by default, but by
mysql -u root -p
Login (default password is empty), tips
Plugin ‘unix_socket’ is not loaded Error
- Stop mysql service
service mysql stop
- Then edit the configuration file mysql
sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf
- In the
[mysql]
next increase
skip-grant-tables
- Start mysql
service mysql start
- Log on again