MySQL Community Server 5.7安装
来源:互联网 发布:oneinstack java 编辑:程序博客网 时间:2024/05/17 23:25
1.下载
MySQL Community Server 5.7.18
2.解压缩zip包
放到D盘下面,例D:\MySQL
3.环境变量配置
3.1 添加path路径,
D:\MySQL\bin
3.2.在MySQL目录下新建mysql-default.ini配置文件
# These are commonly set, remove the # and set as required.
basedir = D:\MySQL
datadir = D:\MySQL\Data
port = 3306
# server_id = …..
4.以管理员身份进入命令提示符 cmd
进入mysql的bin目录下
Microsoft Windows [版本 6.3.9600]
(c) 2013 Microsoft Corporation。保留所有权利。
C:\Users\Administrator>cd D:
D:\
C:\Users\Administrator>cd D:\MySQL\bin
执行mysqld.exe –initialize 命令,
D:\MySQL\bin>mysqld.exe –initialize
D:\MySQL\bin>
执行完命令创建了data目录以及初始数据。
5.执行 mysqld -install命令
D:\MySQL\bin>mysqld -install
Service successfully installed. //成功安装服务
6.执行mysqld.exe -nt –skip-grant-tables
可以免密进入mysql,注意:窗口无反应
D:\MySQL\bin>mysqld.exe -nt –skip-grant-tables
7.重新打开dos窗口,执行mysql -u root
进入mysql命令行,执行命令
use mysql;
update user set authentication_string=password(‘sa’) where user=‘root’;
set password=Password(‘sa’);
8.在任务管理器中终止mysqld进程,开启mysql服务。
安装完成。
- MySQL Community Server 5.7安装
- MySQL Community Server 5.7.19安装指南
- 安装最新Mysql community server
- 关于mysql-community-server-5.7.13安装过程
- MySQL Community Server 5.7.11 ubuntu14.04 TLS安装tar
- MySQL Community Server 5.7.19版本解压安装
- CentOS7上yum安装数据库服务器MySQL Community Server 5.7
- mysql Community Server 5.7安装教程以及常见错误
- MySQL Community Server 5.1.30安装记录
- centos6 安装 5.6 mysql Community server
- Mac安装 Server version: 5.7.19 MySQL Community Server (GPL)的整个过程
- MySQL Community Server 5.7 的数据备份
- MySQL Community Server 5.7.12配置
- MySQL Community Server 5.7.5发布
- 【转载】MySQL Community Server 5.7.5发布
- MySQL Community Server 5.7.19环境部署
- Linux(Ubuntu14.04)+MySQL Community Server 5.7.17安装(5.7.17deb安装包)
- Linux(Ubuntu14.04)+MySQL Community Server 5.7.17安装(5.7.17deb安装包)
- 结构体内存对齐问题
- 资源下载类网站-点赞效果
- 初来CSDN,浅说去除浮动。
- the data type of redis
- ThinkPHP框架的各种大写字母(A\C\R\M\D\I、、、、)方法汇总
- MySQL Community Server 5.7安装
- java的文件过滤FileFilter
- #3 Reopening类和实例
- Java基础教程11-switch语句
- map的个人理解
- Java第一篇
- Python笔记(五)三级菜单
- beautiful C code(updating)
- springMvc请求的跳转和传值