当前位置:Gxlcms > mysql > 装配绿色版mysql-5.6.14

装配绿色版mysql-5.6.14

时间:2021-07-01 10:21:17 帮助过:36人阅读

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

?

人气教程排行