日期:2014-05-16  浏览次数:20841 次

win安装mysql-noinstall指南

1,下载mysql:http://download.mysql.cn/
文件名:mysql-noinstall-5.0.22(win32)
2.加压缩导任何一个目录,最好目录名称不要有空格;
例如:D:\DevelopTools\mysql-5.0.22-win32
3,在mysql-5.0.22-win32
目录下新建一个my.ini,拷贝my-small.ini代码至my.ini;修改后如下:

?1#?Example?MySQL?config?file?for?small?systems.
?2#
?3#?This?is?for?a?system?with?little?memory?(<=?64M)?where?MySQL?is?only?used
?4#?from?time?to?time?and?it's?important?that?the?mysqld?daemon
?5#?doesn't?use?much?resources.
?6#
?7#?You?can?copy?this?file?to
?8#?/etc/my.cnf?to?set?global?options,
?9#?mysql-data-dir/my.cnf?to?set?server-specific?options?(in?this
10#?installation?this?directory?is?/usr/local/var)?or
11#?~/.my.cnf?to?set?user-specific?options.
12#
13#?In?this?file,?you?can?use?all?long?options?that?a?program?supports.
14#?If?you?want?to?know?which?options?a?program?supports,?run?the?program
15#?with?the?"--help"?option.
16
17#?The?following?options?will?be?passed?to?all?MySQL?clients
18[client]
19#password????=?your_password
20port????????=?3306
21socket????????=?/tmp/mysql.sock
22#这里是我们增加的内容
23