3、tmpdir="D:/phptools/MySQL/temp/"
这条是设置临时文件目录的,此条是我在检测错误时候加上的,是否不用加我没有测试,总之加上是没有错误的。下面附上my.ini的整体配置文件。
======================my.ini START ======================
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/ ... ation-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]
character-set-server=utf8
# 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 = .....
# datadir = .....
# port = .....
# server_id = .....
basedir=D:/phptools/MySQL
datadir=D:/phptools/MySQL/data
port=3306
innodb_buffer_pool_size=128M
innodb_log_file_size=8M
# 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
tmpdir="D:/phptools/MySQL/temp/"
======================my.ini END======================
打开命令行键入“mysqld install”
启动服务:net start mysql
MySQL End
环境已经搭建完成。下面测试MySQL数据库与安装破解Zeed Studio。
登录MySQl:mysql -p3306 -u root -p
Zeed Studio IDE安装:
下载地址直接在官方下载吧。大约320兆。直接安装就可以了。安装成功后需要输入注册码,百度搜索一个破解补丁替换其中的dll文件就可以了。下面主要说Zeed Studio 12中设置Apache本地服务器。比较简单。
window => preferences