mysql安装 for windows
来源:互联网 发布:voip网络电话软件 编辑:程序博客网 时间:2024/06/04 18:06
1:去mysql官网下载需要的版本http://dev.mysql.com/downloads/mysql/点击打开链接
2:解压之后放在适合的位置,进入根目录把my-default.ini文件复制一份更名为my.in配置如下:
basedir = D:/javaide/mysql-5.7.11-winx64
datadir = D:/javaide/mysql-5.7.11-winx64/data
port = 3306
3:配置环境变量
4:进入dos命令输入mysqld -install
5:输入mysqld --initialize
6:输入net start mysql
7:接着,就可以去找登录密码了,登录密码在数据目录(my.ini配置的datadir目录)的日志文件中,
比如我的就在D:\javaide\mysql-5.7.11-winx64\data下。文件名为 计算机名.err;
比如我的电脑名为LAPTOP-J709AKSF,那密码就在LAPTOP-J709AKSF.err文件内,
用记事本或者notepad++或者任意文本编辑器打开该文件,ctrl+f,搜索password关键字
8:用root登陆就可以了。
常用问题解决方案:
1:ERROR 1862 (HY000): Your password has expired. To log in you must
change it using a client that supports expired passwords.
所以只需重新修改下密码即可,修改方式如下:
以root权限登录mysql:(这里我的账户是root,密码也是root)
mysql -uroot -proot
然后更改密码:
SET PASSWORD = PASSWORD('root');
- Mysql For Windows安装
- mysql安装for windows
- mysql安装 for windows
- MySQL for Windows安装配置
- Mysql For Windows安装图解
- Mysql For Windows安装图解
- Mysql For Windows安装图解
- Mysql For Windows安装图解
- 第一章:mysql安装for windows
- DBI DBD-MYSQL 安装(for windows)
- mysql for windows 安装后无法使用
- MySQL安装详解(5.5.X For Windows)
- 【配置mysql 免安装版】 for windows
- MySQL for Windows 解压缩版配置安装
- MySQL 5.6 for Windows安装说明
- MySQL 5.6 for Windows 配置安装
- MySQL for Windows 解压缩版配置安装
- 基于Windows安装mysql for python支持
- git终端命令
- android项目之记事本-1(已上线)
- LeetCode题目索引-难度及面试频率
- UVA-10420 List of Conquests
- 一个过来人的经验
- mysql安装 for windows
- 系统架构师谈企业应用架构之系统设计规范与原则1
- 【老经验】shell命令和PHP Cron job以及tmux
- 冒泡排序
- 每秒处理10万订单乐视集团支付架构
- OpenCV学习C++接口:图像遍历+像素压缩
- 弹出框(警告框)iOS9.0使用方法
- eclipse快捷键
- 我的c学习:迭代