Home >Database >Mysql Tutorial >MYSQL ZIP免安装版配置步骤及图形化管理工具mysql-workbench_MySQL

MYSQL ZIP免安装版配置步骤及图形化管理工具mysql-workbench_MySQL

WBOY
WBOYOriginal
2016-06-01 13:18:071519browse

bitsCN.com

1. 解压ZIP包和配置

首先,将mysql-5.5.25-winx64.zip 解压缩到D:/mysql-5.5.25 目录下,然后根据网上相关资料,将my-large.ini(当然也可以视情况选择别的ini配置文件) 复制后改名为my.ini,在此基础上,主要是在[mysqld]段中添加了:


#系统基本目录
basedir= D:/mysql-5.5.25
#用户数据目录
datadir= D:/mysql-5.5.25/data
#字符集设置
character-set-server = utf8
在[client]段中添加了:
default-character-set = utf8

2. MySQL安装Windows服务

2.1 安装
找到mysql的安装目录中的bin目录,执行mysqld

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn