返回顶部
摘要: 如果忘了数据库中的root密码,无法登陆mysql。 解决步骤: 1. 使用“--skip-grant-tables”启动数据库 ~]#systemctl stop mysql ~]#mysqld_safe --skip-grant-tables & //skip-grant-tables这个选项让 阅读全文
posted @ 2017-04-24 22:58 Adrian·Ding 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 应用场景:日常需求安装数据库——MySQL。 安装环境:① 最小化安装的centos7.2(同版本RHEL7适用); ② MySQL 5.6; 具体步骤: 1. 下载mysql 5.6并解压(官网有时候会有变动,这里此时是5.6.36) 官网:https://dev.mysql.com/downlo 阅读全文
posted @ 2017-04-24 15:04 Adrian·Ding 阅读(4961) 评论(2) 推荐(2) 编辑