![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
景云科技
这个作者很懒,什么都没留下…
展开
-
shell 创建数据库
通过shell 创建数据库 Your password does not satisfy the current policy requirements#!/bin/bashread -p "请您输入数据库密码:" pread -p "请您输入要创建的数据库名称:" nameecho "xxxx_${name}0101"mysql -uroot -p$p << EOFcreate database $name character set utf8;grant all privi原创 2022-04-23 23:58:56 · 1164 阅读 · 0 评论 -
mysql yum 安装
wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpmrpm -ivh mysql57-community-release-el7-8.noarch.rpmyum -y install mysql-servergrep “temporary password” /var/log/mysqld.log rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql.原创 2022-04-19 20:54:37 · 865 阅读 · 0 评论