我正在尝试从远程计算机连接MariaDB 10.3(安装在CentOS 7.6上),但是我无法连接。
Output of grep
我也找不到.cnf文件。
Output of cd /etc --> ls
答案 0 :(得分:0)
->用您的IP地址替换
bind-address = 123.456.789.10
CREATE USER 'myuser'@'localhost' IDENTIFIED BY 'mypass';
CREATE USER 'myuser'@'%' IDENTIFIED BY 'mypass';
GRANT ALL ON *.* TO 'myuser'@'localhost';
GRANT ALL ON *.* TO 'myuser'@'%';
systemctl status firewalld
systemctl status iptables
iptables -L
firewall-cmd --list-all-zones