您的位置:首页 > 数据库 > MySQL

mysql 5.6.17 x64 安装

2016-04-06 16:12 609 查看

下载地址百度网盘地址:http://pan.baidu.com/share/link?shareid=1895747668&uk=3257050114&fid=234538452官网下载太慢了,擦!1.将 my-default.ini文件 复制一份 改为my.ini配置文件如下
[WinMySQLAdmin]Server=E:\Mydata\ly\mysql-5.6.15\bin[client]no-beep# pipe# socket=mysqlport=3306[mysql]default-character-set=utf8# 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]explicit_defaults_for_timestamp = TRUE# 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 = 2G# 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="E:\Mydata\ly\mysql-5.6.15"datadir="E:\Mydata\ly\mydata"port=3306server_id=1general-log=0general_log_file="mysql_general.log"slow-query-log=1slow_query_log_file="mysql_slow_query.log"long_query_time=10log-error="mysql_error_log.err"default-storage-engine=INNODBmax_connections=1024query_cache_size=128Mkey_buffer_size=128Minnodb_flush_log_at_trx_commit=1innodb_thread_concurrency=128innodb_autoextend_increment=128Mtmp_table_size=128M# 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_TABLESsql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"character-set-server=utf8
2. dos 下进入mysql 安装目录 运行
mysqld -install mysql  --default-file=E:\mydata\ly\mysql-5.6.15\my.ini
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: