9.
宝塔修改数据库密码为PQbwA5Wa
执行命令
mysql -uroot -pPQbwA5Wa
CREATE USER 'weygame'@'localhost' IDENTIFIED BY 'PQbwA5Wa';
CREATE USER 'weygame'@'127.0.0.1' IDENTIFIED BY 'PQbwA5Wa';
CREATE USER 'weygame'@'%' IDENTIFIED BY 'PQbwA5Wa';
GRANT ALL PRIVILEGES ON *.* TO 'weygame'@'127.0.0.1' IDENTIFIED BY 'PQbwA5Wa' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO 'weygame'@'localhost' IDENTIFIED BY 'PQbwA5Wa' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO 'weygame'@'*' IDENTIFIED BY 'PQbwA5Wa' WITH GRANT OPTION;
FLUSH PRIVILEGES;
exit