博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
centos7 yum 安装mysql5.6
阅读量:2228 次
发布时间:2019-05-09

本文共 777 字,大约阅读时间需要 2 分钟。

这里用科技大学的mysql yum源官方的源太慢

[root@localhost ~]# rpm -ivh http://mirrors.ustc.edu.cn/mysql-repo/mysql-community-release-el7.rpm[root@localhost ~]# yum install mysql mysql-server
[root@localhost ~]# systemctl start mysqld[root@localhost ~]# systemctl enable mysqld

初始化设置

[root@localhost ~]# mysql_secure_installationNOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!In order to log into MySQL to secure it, we'll need the currentpassword for the root user.  If you've just installed MySQL, andyou haven't set the root password yet, the password will be blank,so you should just press enter here.Enter current password for root (enter for none):

  

  

转载于:https://www.cnblogs.com/37yan/p/7513605.html

你可能感兴趣的文章
HTTP高并发测试
查看>>
数据重生:让神经机器翻译中的不活跃样本“复活”
查看>>
【Java】【28】提高List的removeAll方法的效率
查看>>
【JS】【31】读取json文件
查看>>
OpenSSL源代码学习[转]
查看>>
Spring下载地址
查看>>
google app api相关(商用)
查看>>
linux放音乐cd
查看>>
GridView+存储过程实现'真分页'
查看>>
flask_migrate
查看>>
解决activemq多消费者并发处理
查看>>
UDP连接和TCP连接的异同
查看>>
hibernate 时间段查询
查看>>
java操作cookie 实现两周内自动登录
查看>>
Tomcat 7优化前及优化后的性能对比
查看>>
Java Guava中的函数式编程讲解
查看>>
Eclipse Memory Analyzer 使用技巧
查看>>
tomcat连接超时
查看>>
谈谈编程思想
查看>>
iOS MapKit导航及地理转码辅助类
查看>>