标签:nbsp ror lis ant list 解决方案 java require led
yum install wget -y
wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm
yum localinstall mysql57-community-release-el7-8.noarch.rpm -y
yum repolist enabled | grep "mysql.*-community.*"
yum install mysql-community-server -y
systemctl start mysqld
systemctl status mysqld
systemctl enable mysqld
systemctl daemon-reload
grep ‘temporary password‘ /var/log/mysqld.log
登陆数据库
mysql -uroot -p
修改默认密码
mysql> SET PASSWORD = PASSWORD(‘Lenovo@123‘);
Lenvoo@123是你的新密码
如何解决ERROR 1819 (HY000): Your password does not satisfy the current policy requirements呢? 这里直接提供解决方案文末有详细的说明
必须修改两个全局参数:
首先,修改validate_password_policy参数的值
set global validate_password_policy=0;
再修改密码的长度
set global validate_password_length=1;
再次执行修改密码就可以了
ALTER USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘Lenovo@123‘;
GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘Lenovo@123‘ WITH GRANT OPTION;
标签:nbsp ror lis ant list 解决方案 java require led
原文地址:https://www.cnblogs.com/xuewenlong/p/12881837.html