grant all privileges on yourDatabaseName to ‘user‘@‘databaseIPAddress‘ identified by ‘password‘ with grant option
授权生效
flush privileges
mysql中授权其它电脑链接指令。
原文:https://www.cnblogs.com/xcx-bwt/p/10604905.html