999+
浏览Linux系统 Centos7.0-7.5
新更新的教程,脚本也更新了:
1 yum -y update
2 rpm -qa | grep -i mysql
3 yum install https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
4 yum -y localinstall mysql80-community-release-el7-3.noarch.rpm
5 yum install -y mysql-server
6 yum install -y mysql-server –nogpgcheck
7 systemctl status mysqld.service 查看数据库
8 systemctl start mysqld.service 数据库开关
9 chown -R mysql:mysql /var/lib/mysql
10 cat /var/log/mysqld.log |grep localhost 查看数据库密码
11 mysql -uroot -p 修改数据密码
12 alter user ‘root’@’localhost’ IDENTIFIED BY ‘WER!@88$%^cbacREWWdd’
ZHMSYFe>L4vw
13 chmod 777 install.sh && ./install.sh
14 mysql -uroot -p’WER!@88$%^cbacREWWdd’ -D tso -e “update sys_person set UC_ACCOUNT_NAME = ‘9998574’, ACCOUNT_NAME = ‘9998574’, ACCOUNT_PASSWORD = ‘3D4F2BF07DC1BE38B20CD6E46949A1071F9D0E3D’;”
安装 yum list zip unzip
yum install -y unzip zip
**************************
账号默认 qj10001 密码默认 111111