linux wget安装mysql
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
免费下载资源
·
-
下载mysql源安装包
wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm
-
安装mysql源
yum localinstall mysql57-community-release-el7-8.noarch.rpm
-
安装MySQL
yum install mysql-community-server
-
启动MySQL服务
systemctl start mysqld
-
获取默认密码
grep 'temporary password' /var/log/mysqld.log
-
修改密码强度
set global validate_password_mixed_case_count=0;
set global validate_password_number_count=3;
set global validate_password_special_char_count=0;
set global validate_password_length=6;
- 修改密码
set password for 'root'@'localhost'=password('newPassword');
修改编码为utf-8
- 在/etc/my.cnf中 在mysqld标签下添加
character_set_server = utf8
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
已为社区贡献1条内容
所有评论(0)