centos安装数据库
文章平均质量分 75
请叫我张大胆
搬砖
展开
-
MySQL8.0- 配置外网访问时 right syntax to use near 错误
升级了MySQL版本,yum安装了8.0的版本后开启远程连接(8.0之前的方法use mysql;GRANT ALL PRIVILEGES ON . TO ‘root’@’%’ IDENTIFIED BY ‘您的密码’ WITH GRANT OPTION;FLUSH PRIVILEGES;)出现了You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version原创 2021-08-31 15:52:23 · 1233 阅读 · 1 评论 -
centos7.9安装MySQL5.7.32并开启远程root访问
准备工作,先去官网下载安装包,使用wegt下载到/usr/local/src下。我用的是root账户,不是root自行加sudowget \https://cdn.mysql.com/archives/mysql-5.7/mysql-community-client-5.7.32-1.el7.x86_64.rpm \https://cdn.mysql.com/archives/mysql-5.7/mysql-community-common-5.7.32-1.el7.x86_64.rpm \http.原创 2021-08-19 11:25:16 · 372 阅读 · 2 评论