04-06-14 04:05 由于重装系统,今天又重装了My

04-06-14 04:05 由于重装系统,今天又重装了MySQL,发现MySQL在安装前就有一段说明,说了如果MySql不是安装在缺省目录下应该如何修改。由于大多数人在安装软件的时候都不大会看这些说明,这段说明几乎可以说是毫无作用的。我很奇怪的是,MySql为什么就不写一小段程序来检测路径而要用户修改呢? 附MySql安装时的说明: This is a release of MySQL 4.0.20a for Win32. NOTE: If you install MySQL in a folder other than C:\MYSQL or you intend to start MySQL on NT/Win2000 as a service, you must create a file named C:\MY.CNF or \Windows\my.ini or \winnt\my.ini with the following information:: [mysqld] basedir=E:/installation-path/ datadir=E:/data-path/ After your have installed MySQL, the installation directory  will contain 4 files named 'my-small.cnf, my-medium.cnf, my-large.cnf, my-huge.cnf'. You can use this as a starting point for your own C:\my.cnf file. If you have any problems, you can mail them to win32@lists.mysql.com after you have consulted the MySQL manual and the MySQL mailing list archive ( http://www.mysql.com/documentation/index.html ) On behalf of the MySQL AB gang, Michael Widenius fireshort @ 04-06-14 04:05 返回页首 | 评论 | 引用(0) | 编辑 评论

原始快照:web.archive.org