CREATE USER 'dbs'@'localhost' IDENTIFIED BY '123456';
SELECT DISTINCT CONCAT('User: ''',user,'''@''',host,''';') AS query,Password FROM mysql.user;
GRANT ALL PRIVILEGES ON *.* TO 'dbs'@'%' IDENTIFIED BY PASSWORD '$Password' ;
GRANT ALL PRIVILEGES ON `dbs`.* TO 'dbs'@'%' WITH GRANT OPTION ;
show grants for dbs;