目录[-]
• 阿里云服务器运行环境为:Java运行环境(Centos7 64 | JDK8|Tomcat8);
• 运行环境帮助文件为:more readme.txt
• 修改mysql数据库密码
mysqladmin -u root -h 127.0.0.1 -p password
修改数据库密码为:123456789
• 如果需要远程访问数据库,还需要输入以下指令
mysql -u root -p
use mysql;
update user set host='%' where user='root';
flush privileges;//刷授权
• 使用navicat(本地端)链接服务器端(阿里云)数据库
IP:输入服务器IP地址信息
端口:3336;//使用端口时需要在阿里云服务器端增设安全组配置
• 通过navicat创建数据库,再在创建的数据库中添加行列等操作
information_schema
mysql
performance_schema
sys
# 以上四个为数据库中默认的几项,无需关注,再重新增添一项数据库即可