解决Mysql 远程连接数据库出现1042-Can’t get hostname for your address 错误! 编辑/etc/my.cnf,在: [mysqld] 内添加一行:skip-name-resolve