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 'shituxingzhe';
exit