欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

装配绿色版mysql-5.6.14

程序员文章站 2022-04-04 19:48:31
...

安装绿色版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

?装配绿色版mysql-5.6.14