【walker process】
Install
~# sudo apt install mysql-server mysql-client
Modify or add in /etc/mysql/mysql.conf.d/mysqld.cnf file
# Modify the binding ip bind-address = 0.0.0.0 # set max memory innodb_buffer_pool_size = 20G
Check whether the modification is successful (the unit of the value is Bytes)
# After entering mysql mysql> show variables like 'innodb_buffer_pool_size'; +-------------------------+-------------+ | Variable_name | Value | +-------------------------+-------------+ | innodb_buffer_pool_size | 21474836480 | +-------------------------+-------------+ 1 row in set (0.00 sec)
【Related commands】
Security check
sudo mysql_secure_installation
View authorization
show grants;
Password Policy Related
# View password policy mysql> select @@validate_password_policy; # Modify password policy mysql> set global validate_password_policy=0; # View password length limit mysql> select @@validate_password_length;
【Related Reading】
Performance options to tune immediately after MySQL 5.7 is installed
MySQL Security Check: MySQL Security Configuration Wizard mysql_secure_installation
*** walker ***