mysql5.7适用于ARM架构的deb包安装教程
1.安装deb文件:sudo dpkg -i .deb,在安装过程中会要求设置mysql1的root密码
2.修改/etc/my.cnf文件:datadir = /data01/MPP/mysql/databind address=0.0.0.0 skip-name-resolve
3.重启MySQL:sudo systemctl stop mysql.service && sudo systemctl start mysql.service
4.查看MySQL状态:sudo systemctl status mysql
5.创建远程访问用户并授权:mysql1 -uroot -p
create user root identified by 'yourpassword';
grant all privileges on .* to root@'%' identified by '123456' with grant option;
flush privileges;
下载地址
用户评论