如果只是1区就输入下面。
- mysql -uroot -pL5MYq9y7gA
GRANT ALL PRIVILEGES ON *.* TO ‘root’@’127.0.0.1’ IDENTIFIED BY ‘L5MYq9y7gA’;
GRANT ALL PRIVILEGES ON *.* TO ‘root’@’localhost’ IDENTIFIED BY ‘L5MYq9y7gA’;
GRANT ALL PRIVILEGES ON *.* TO ‘devel’@’127.0.0.1’ IDENTIFIED BY ‘hEj9SfQBgn’;
GRANT ALL PRIVILEGES ON *.* TO ‘devel’@’localhost’ IDENTIFIED BY ‘hEj9SfQBgn’;
FLUSH PRIVILEGES;
exit
复制代码命令一下就可以了
如果1区可以进去。启动二区
检查了一下是::
2区数据库密码没有改。
/home/dev/server2/2019030801/config/serverconfig
commonconfig.xml 6个地方数据库密码改成 hEj9SfQBgn