当前位置:网站首页>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
*注意:刚生成的初始账号没有密码,直接输入用户名或者不输入用户名直接回车.
刚生成的初始账号没有密码,直接输入用户名或者不输入用户名直接回车**.

边栏推荐
- MongoDB-快速上手MongoDB命令行的一些简单操作
- js promise.all
- Pytest learning --base
- allure--常用配置项
- Sum the two numbers to find the target value
- 【避坑指南】Unity3D项目接入腾讯Bugly工具时遇到的坑
- Blender多鏡頭(多機比特)切換
- pytest框架实现前后置
- Unreal material editor foundation - how to connect a basic material
- Vscode set JSON file to format automatically after saving
猜你喜欢

《MySQL 8 DBA基础教程》简介

Database dictionary Navicat automatic generation version

Network real-time video streaming based on OpenCV

Aiphacode is not a substitute for programmers, but a tool for developers

This article takes you to learn in detail what is fiber to home FTTH

Flink submitter

01安装虚拟机

Pytest learning --base

allure--常用配置项

MongoDB-快速上手MongoDB命令行的一些简单操作
随机推荐
Applet development summary
【leetcode】33. Search rotation sort array
ue4材质的入门和原理笔记
Windows环境MySQL8忘记密码文件解决方案
Solutions to a series of problems in sqoop job creation
01-spooldir
Network real-time video streaming based on OpenCV
[jetbrain rider] an exception occurred in the construction project: the imported project "d:\visualstudio2017\ide\msbuild\15.0\bin\roslyn\microsoft.csh" was not found
Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
allure--常用配置项
【Visual Studio】每次打开一个Unity3D的脚本,都会自动重新打开一个新的VS2017
【JetBrain Rider】构建项目出现异常:未找到导入的项目“D:\VisualStudio2017\IDE\MSBuild\15.0\Bin\Roslyn\Microsoft.CSh
[IDL] Research
2021-09-12
pytest框架实现前后置
js setTimeout()与面试题
Is this code PHP MySQL redundant?
2021-10-04
ERROR 1118 (42000): Row size too large (> 8126)
Deep understanding of redis cache avalanche / cache breakdown / cache penetration