当前位置:网站首页>MYSQL环境配置
MYSQL环境配置
2022-07-02 06:48:00 【张意的博客】
1.mysql-5.6.26压缩包安装
将压缩包解压到目录
配置环境变量(路径为bin的前一级目录)
修改MYSQL的配置文件(my-default.ini)
//mysql解压缩的位置 basedir = D:\MYSQL\mysql-5.6.26-winx64\mysql-5.6.26-winx64 //数据库数据存放位置 datadir = D:\MYSQL\mysql-5.6.26-winx64\mysql-5.6.26-winx64\data //数据库的默认端口号 port = 3306 explicit_defaults_for_timestamp=true
安装MYSQL服务
mysqld --install
生成MYSQL data文件夹目录(存放MYSQL数据)
mysqld --initialize --console
启动MYSQL服务
net start mysql
*注意:刚生成的初始账号没有密码,直接输入用户名或者不输入用户名直接回车.
刚生成的初始账号没有密码,直接输入用户名或者不输入用户名直接回车**.
边栏推荐
- Application of rxjs operator withlatestfrom in Spartacus UI of SAP e-commerce cloud
- flume 190 INSTALL
- 使用Windbg静态分析dump文件(实战经验总结)
- 2021-10-02
- AttributeError: type object ‘Image‘ has no attribute ‘fromarray‘
- Blender模型导入ue、碰撞设置
- Solution of mysql8 forgetting password file in Windows Environment
- 【MySQL】连接MySQL时出现异常:Connection must be valid and open
- Project practice, redis cluster technology learning (6)
- Project practice, redis cluster technology learning (16)
猜你喜欢
随机推荐
虛幻AI藍圖基礎筆記(萬字整理)
Blender石头雕刻
合并有序数列
Postman -- use
01安装虚拟机
Mock Server基本使用方法
flume 190 INSTALL
[pit avoidance guide] pit encountered by unity3d project when accessing Tencent bugly tool
Flutter环境配置保姆级教程,让doctor一绿到底
[leetcode] sword finger offer 53 - I. find the number I in the sorted array
stm32和电机开发(上位系统)
2021-10-04
2021-10-02
Project practice, redis cluster technology learning (16)
【Visual Studio】每次打开一个Unity3D的脚本,都会自动重新打开一个新的VS2017
MySQL -- time zone / connector / driver type
01 install virtual machine
Test -- Summary of interview questions
2021-09-12
webUI自动化学习