GRANT ALL PRIVILEGES ON *.* TO 'app_mtlbb'@'127.0.0.1' IDENTIFIED BY 'dskfjl29091dfk' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO 'app_mtlbb'@'localhost' IDENTIFIED BY 'dskfjl29091dfk' WITH GRANT OPTION;
FLUSH PRIVILEGES;
若需求长途毗连数据库
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '您的暗码';
exit