日期:2014-05-16 浏览次数:21108 次
安装方式:绿色安装(使用压缩文件)
文件版本:MySQL Community Server 5.5.33(x86 & x64)
大部分过程同前一博文(配置mysql),本篇只写不同部分!
一、配置和安装
1,2 步相同
3. 修改my.ini文件
路径:
#Path to installation directory. All paths are usually resolved relative to this. basedir="D:/Program Files/MySQL/MySQL Server 5.5/" #Path to the database root datadir="D:/Program Files/MySQL/MySQL Server 5.5/Data/"其他详见附录。
4. 注册/注销服务
在cmd命令执行环境,输入mysqld -install
在cmd命令执行环境,输入mysqld -remove
注:粗体字部分为与V5.0不同部分。
5. 同v5.0
----------------------xiaobin_hlj80---------------------------------------------
附:
my.ini
# Other default tuning values
# MySQL Server Instance Configuration File
# ----------------------------------
# Generated by the MySQL Server Instance Configuration Wizard
#
#
# Installation Instructions
# ----------------------------------
#
# On Linux you can copy this file to /etc/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options
# (@localstatedir@ for this installation) or to
# ~/.my.cnf to set user-specific options.
#
# On Windows you should keep this file in the installation directory
# of your server (e.g. C:\Program Files\MySQL\MySQL Server X.Y). To
# make sure the server reads the config file use the startup option
# "--defaults-file".
#
# To run run the server from the co