http://bbs.jeecms.com/azsy/65364_2.jhtml
linux centos7系统
jdk1.7.0_65
tomat7
mysql5.7
use mysql;
update user set password=passworD("123456") where user='root';
flush privileges;
exit;
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'test' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;
flush privileges;
exit;
chmod -R a+w /yjdata/www/www/ROOT 永久可写
service nginx restart 重启服务器
/yjdata/www/tomcat.sh stop
/yjdata/www/tomcat.sh start
tail -f /var/tomcat/tomcat-7/logs/catalina.out