腾讯服务器安装环境配置网址
创建时间:2018年12月12日(星期三) 下午2:32| 分类:未分类
| 字数:1003 | 另存为... | 打印 | 添加到日历

腾讯服务器安装环境配置教程 https://blog.csdn.net/qq_20138815/article/details/71078898
linux安装ftp教程 https://jingyan.baidu.com/album/380abd0a77ae041d90192cf4.html?picindex=1
连接navicat教程https://www.cnblogs.com/mmzs/p/9042997.html
1、首先确定你的linux已经关闭防火墙
详细操作点这里;
如果是公司服务器防火墙比较重要不能关闭,那就麻烦点了,需要在防火墙的配置文件下配置属性。
如果还不能解决,请继续往下看。
2、如果是云服务器,请确认3306端口是否已经设置对外开放
此处以阿里云服务器为例,阿里云的服务器默认端口是不对外开放的,如果想要供外部访问,需要在安全组中手动添加规则,详情操作可以参考官方文档 :https://helpcdn.aliyun.com/document_detail/25471.html?spm=5176.doc25468.2.4.RfJyPU
如果还不能解决,请继续往下看。
3、权限不足问题
?提示错误:Warning: Using a password on the command line interface can be insecure.
?ERROR 1130 (HY000): Host '192.168.3.134' is not allowed to connect to this MySQL server
解决方法:
?一、进入mysql数据库命令行
?二、输入use mysql;
?三、设置root账号密码为123456可以访问用任何ip访问mysql服务器
输入grant all privileges on *.* to root@"%" identified by "密码";
这相当于是给IP-xxx.xxx.xxx.xxx赋予了所有的权限,包括远程访问权限,%百分号表示允许任何IP访问数据库。
四、 然后再输入 flush privileges;
五、在Linux服务器上重启MySQL
