摘要: 官方对此的解释为:https://mariadb.com/kb/en/library/authentication-plugin-unix-socket/ 即通过系统认出是root直接认证,但是如果想换成必须用密码就需要改了这个模式 1,查看当前的认证状态: select user, plugin 阅读全文
posted @ 2020-02-12 23:09 Anlovescode 阅读(2666) 评论(1) 推荐(1) 编辑
摘要: root用户可远程 localhost改为% root只能本地 RENAME USER `root`@`%` TO `root`@`localhost`; 阅读全文
posted @ 2020-02-12 17:42 Anlovescode 阅读(929) 评论(0) 推荐(0) 编辑
摘要: 自从 CentOS 7 开始,自带的数据库就变成 MariaDB 了,yum 安装之后的默认版本是 5.5 添加Maria源 添加并编辑文件 添加MariaDB源 vi /etc/yum.repos.d/MariaDB.repo 粘贴官方的或者阿里云的镜像: [mariadb] name = Mar 阅读全文
posted @ 2020-02-12 17:14 Anlovescode 阅读(1405) 评论(0) 推荐(0) 编辑