Mysql installation, configuration

Mysql installation, configuration and use of

First, the installation:

    Archive version represents the free installation:


Second, located:

    Open the folder,


Create a my.ini. Copy the following code to save ok.

[mysql]
# 设置mysql客户端默认字符集
default-character-set=utf8 
[mysqld]
#设置3306端口
port = 3306 
# 设置mysql的安装目录
basedir=D:\常用软件\学习类\数据库\mysql\mysql-5.6.24-winx64
# 设置mysql数据库的数据的存放目录
datadir=D:\常用软件\学习类\数据库\mysql\mysql-5.6.24-winx64\data
# 允许最大连接数
max_connections=200
# 服务端使用的字符集默认为8比特编码的latin1字符集
character-set-server=utf8
# 创建新表时将使用的默认存储引擎
default-storage-engine=INNODB 

Third, install mysql service:

    Run as administrator cmd.exe, enter the following bin folder, enter mysqld install, appears the installation was successful, type net start mysql, mysql open service.


To open the Task Manager to view services:


to sum up:

    More practice, more hands-on it


Thank you for reading!


Published 253 original articles · won praise 76 · views 290 000 +

Guess you like

Origin blog.csdn.net/hongwei15732623364/article/details/54237167