读好书,交益友
发布时间:2022-07-25 16:48:36
Step 2: set mysql env optionssystemctl set-environment MYSQLD_OPTS=--skip-grant-tablesStep 4: Update Password using querymysql> UPDATE mysql.user SET authentication_string = PASSWORD ('ENTER_NEW_PASSWORD') WHERE User = 'root' AND Host = 'localhost.........【阅读全文】
发布时间:2022-04-26 17:17:53
1 安装2 设置启动systemctl start mariadb.service......【阅读全文】
发布时间:2022-04-25 11:31:24
打开/etc/my.cnf.d目录下mariadb-server.cnf文件[mysqld] innodb_strict_mode = 0......【阅读全文】
发布时间:2022-04-24 16:25:58
centos默认安装的mariadb没有密码,需要重启设置一下mysql -h localhost -u root -p登录输入ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';FLUSH PRIVILEGES;、FLUSH PRIVILEGES;......【阅读全文】
发布时间:2022-04-21 11:14:29
mysql 8.0使用了新的密码加密方式,不再使用mysql_native_password。flush privileges;flush privileges;% 就是不限制登录地址,同时主要修改配置文件中bind-address然后设置ALTER USER root IDENTIFIED WITH caching_sha2_password BY '123456';最后运行......【阅读全文】