linux mysql 开启远程访问 mysql -u root -p mysql> grant all on *.* to user_name@'%' identified by 'user_password';