解决mysql只能localhost登录和只能本机登录的问题
grant select,insert,update,delete on mydb.* to user1@localhost identified by "";