修改/etc/my.cnf配置
在[mysqld] 添加以下项 character_set_server=utf8 skip-name-resolve skip-external-locking #注释掉bind-address = 127.0.0.1 #如果忘记密码,可加skip-grant-tables, 重置密码后再注释掉登录mysql配置允许远程连接的账号权限 登录mysql, 授权navicat,所有操作,所有表,所有主机权限
sudo mysql -uroot -ppassword grant all privileges on *.* to 'navicat'@'%' identified by '123456'; flush privileges; exit;重启 mysql sudo service mysql restart 判断远程是否可连接 telnet xxx.xxx.xxx.xxx 3306 如果不能连接, 防火墙开放端口
iptables -A INPUT -p tcp --dport 3306 -j ACCEPT iptables -L -n service iptables save生成 Let's Encrypt 免费https证书
设置定时任务
转载于:https://www.cnblogs.com/xielisen/p/9536290.html
相关资源:各显卡算力对照表!