91游戏 · 数据库类

Mysql 5.7.11 32位官方解压版

Mysql 5.7.11 32位官方解压版

给大家分享下Mysql 5.7.11 32位官方解压版,该本为目前最新的My SQL 版本,用户下载后按照本篇下面教程配置后可以直接使用,有需要的可以来本站下载。

mysql 5.7.11解压版安装教程

1、解压安装包

2、将my-default.ini文件另存为my.ini,并新建data目录(5.7以后没有data目录了)

3、修改my.ini文件,主要是添加如下几项

 

1

 

2

 

3

 

4

 
 

< class="xml plain" style="border: 0px; margin: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; box-sizing: content-box !important; font-size: 1em !important; overflow: visible !important; height: auto !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; width: auto !important; vertical-align: baseline !important; right: auto !important; position: static !important; float: none !important; color: black !important; outline: invert none 0px !important; padding: 0px !important; left: auto !important; line-height: 1.1em !important; top: auto !important; bottom: auto !important; background: none 0% 0% repeat scroll transparent;">basedir = D:⁄mysql-5.7.11-winx64</>

 

< class="xml plain" style="border: 0px; margin: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; box-sizing: content-box !important; font-size: 1em !important; overflow: visible !important; height: auto !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; width: auto !important; vertical-align: baseline !important; right: auto !important; position: static !important; float: none !important; color: black !important; outline: invert none 0px !important; padding: 0px !important; left: auto !important; line-height: 1.1em !important; top: auto !important; bottom: auto !important; background: none 0% 0% repeat scroll transparent;">datadir = D:⁄mysql-5.7.11-winx64⁄data</>

 

< class="xml plain" style="border: 0px; margin: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; box-sizing: content-box !important; font-size: 1em !important; overflow: visible !important; height: auto !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; width: auto !important; vertical-align: baseline !important; right: auto !important; position: static !important; float: none !important; color: black !important; outline: invert none 0px !important; padding: 0px !important; left: auto !important; line-height: 1.1em !important; top: auto !important; bottom: auto !important; background: none 0% 0% repeat scroll transparent;">port = 3306</>

 

< class="xml plain" style="border: 0px; margin: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; box-sizing: content-box !important; font-size: 1em !important; overflow: visible !important; height: auto !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; width: auto !important; vertical-align: baseline !important; right: auto !important; position: static !important; float: none !important; color: black !important; outline: invert none 0px !important; padding: 0px !important; left: auto !important; line-height: 1.1em !important; top: auto !important; bottom: auto !important; background: none 0% 0% repeat scroll transparent;">character_set_server = utf8</>

   

注:D:⁄mysql-5.7.11-winx64为我的解压目录

4、安装MySQL服务,启动命令提示符(管理员)并切换到[MySQL安装目录]/bin下,并依次执行如下命令

 

1

 
 

< class="php plain" style="border: 0px; margin: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; box-sizing: content-box !important; font-size: 1em !important; overflow: visible !important; height: auto !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; width: auto !important; vertical-align: baseline !important; right: auto !important; position: static !important; float: none !important; color: black !important; outline: invert none 0px !important; padding: 0px !important; left: auto !important; line-height: 1.1em !important; top: auto !important; bottom: auto !important; background: none 0% 0% repeat scroll transparent;">mysqld  --initialize-insecure</>

   

注:该命令初始化数据库并且初始化的root用户没有密码(mysqld --initialize也能进行初始化但是root用户的密码为一随机值),执行完后data目录下会多出一些数据库相关的文件

 

1

 
 

< class="php plain" style="border: 0px; margin: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; box-sizing: content-box !important; font-size: 1em !important; overflow: visible !important; height: auto !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; width: auto !important; vertical-align: baseline !important; right: auto !important; position: static !important; float: none !important; color: black !important; outline: invert none 0px !important; padding: 0px !important; left: auto !important; line-height: 1.1em !important; top: auto !important; bottom: auto !important; background: none 0% 0% repeat scroll transparent;">mysqld install</>

   

注:该命令为将MySQL服务安装进Windows服务里,方便使用如下命令启动和关闭服务

启动MySQL服务:net start mysql

关闭MySQL服务:net stop mysql

5、修改root用户的密码

 

1

 
 

< class="php plain" style="border: 0px; margin: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; box-sizing: content-box !important; font-size: 1em !important; overflow: visible !important; height: auto !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; width: auto !important; vertical-align: baseline !important; right: auto !important; position: static !important; float: none !important; color: black !important; outline: invert none 0px !important; padding: 0px !important; left: auto !important; line-height: 1.1em !important; top: auto !important; bottom: auto !important; background: none 0% 0% repeat scroll transparent;">mysqladmin -uroot -p password</>

   

Mysql 5.7.11新功能特性:

InnoDB: 增加 InnoDB 新的配置参数 innodb_tmpdir, 用于配置一个单独的临时目录用于联机 ALTER TABLE 操作,避免 tmpdir 超出限制

InnoDB: InnoDB 现在支持 at-rest 数据加密,用于 file-per-table 表空间,通过指定 ENCRYPTION 参数启用,详情请看 InnoDB Tablespace Encryption. Linux学习,http:// linux.it.net.cn

Replication: 新增 log_statements_unsafe_for_binlog 变量用于控制是否生成 1592 错误的警告添加到二进制日志

yaSSL 更新到 2.3.9 版本

Valgrind 功能签名升级到 3.11 版本

audit_log 插件可在 MYSQL_AUDIT_TABLE_ACCESS_CLASS 类中生成事件,事件可终止 (Bug #21458192) Linux学习,http:// linux.it.net.cn

mysqld_safe 生成的日志格式可通过 --mysqld-safe-log-timestamps 参数进行配置

废弃 mysql_kill(), mysql_list_fields(), mysql_list_processes(), 和 mysql_refresh() 等 C API,将来这些 API 将被移除,可通过 mysql_query() 来执行 KILL, SHOW COLUMNS, SHOW PROCESSLIST, or FLUSH 操作

mysql_plugin 工具已被废弃,将在以后版本中移除,可在服务器启动时候通过 --plugin-load 或者 --plugin-load-add 参数进行控制,或者在运行时使用 INSTALL PLUGIN 语句. Linux学习,http:// linux.it.net.cn

存储引擎现在可请求关于元数据锁的获得和释放

相关下载

取消
下载此应用的人还喜欢