1.建用户 grant all privileges on *.* to userT@'%' identified by 'userT' ; 2.Ip地址经常边造成mysql启动不了 /etc/mysql/my.cnf 修改ip地址 启动mysql: service mysql start