网站建设资讯

NEWS

网站建设资讯

mysql5.7.21winx64绿色版安装配置方法图文教程-创新互联

本文记录了mysql 5.7.21安装配置方法,具体内容如下

站在用户的角度思考问题,与客户深入沟通,找到鼓楼网站设计与鼓楼网站推广的解决方案,凭借多年的经验,让设计与互联网技术结合,创造个性化、用户体验好的作品,建站类型包括:成都做网站、网站制作、成都外贸网站建设、企业官网、英文网站、手机端网站、网站推广、域名注册、网页空间、企业邮箱。业务覆盖鼓楼地区。

1.下载

下载地址

mysql 5.7.21 winx64绿色版安装配置方法图文教程

解压到自己喜欢的一个位置即可(目录中不要包含中文)

如:D:\Program Files\

2.系统环境变量配置

(1)新增系统变量 

         变量名:MYSQL_HOME
         变量值:Mysql解压目录,如D:\Program Files\mysql-5.7.21-winx64

(2)追加PATH

         ;%MYSQL_HOME%\bin;

3.配置my.ini文件

在解压根目录新建一个my.ini的文件

# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
# *** default location during install, and will be replaced if you
# *** upgrade to a newer version of MySQL.
 
[mysqld]
 
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
 
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
 
# These are commonly set, remove the # and set as required.
 basedir = "D:\\Program Files\mysql-5.7.21-winx64"
 datadir = "D:\\Program Files\mysql-5.7.21-winx64\data"
 port = 3306
 character_set_server = utf8
 
# server_id = .....
 
 
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M 
 
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


网站标题:mysql5.7.21winx64绿色版安装配置方法图文教程-创新互联
链接地址:http://njwzjz.com/article/gjhhh.html