Home  >  Article  >  Database  >  装配绿色版mysql-5.6.14

装配绿色版mysql-5.6.14

WBOY
WBOYOriginal
2016-06-07 16:15:331455browse

安装绿色版mysql-5.6.14 1)下载www.mysql.com mysql安装程序,mysql-5.6.14-winx64.zip2)解压至你的本地硬盘文件夹内,如:D:\D\Database\mysql-5.6.14-winx643)根目录下新建my.ini内容如下:# Save as "my.ini" in your MySQL installed directory[mysqld

安装绿色版mysql-5.6.14
1)下载www.mysql.com mysql安装程序,mysql-5.6.14-winx64.zip
2)解压至你的本地硬盘文件夹内,如:D:\D\Database\mysql-5.6.14-winx64
3)根目录下新建my.ini
内容如下:
# Save as "my.ini" in your MySQL installed directory
[mysqld]
# Set MySQL base (installed) directory
# @@ Change to your MySQL installed directory @@
basedir=D:/D/Database/mysql-5.6.14-winx64

# Set MySQL data directory
# @@ Change to sub-directory "data" of your MySQL installed directory  @@
datadir=D:/D/Database/mysql-5.6.14-winx64/data

# Run the server on this TCP port number
port=2222
   
[client]
# MySQL client connects to the server running on this TCP port number
port=2222

4)设置系统环境变量:
   MYSQL_HOME D:\D\Database\mysql-5.6.14-winx64
   PATH               ;%MYSQL_HOME%\bin

5)运行mysql服务
    cmd-> mysqld --console

?

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