]]>re: mysql-noinstall瀹夎鎸囧崡http://www.tkk7.com/niumd/archive/2009/08/27/219683.html#292739adddadddWed, 26 Aug 2009 16:49:00 GMThttp://www.tkk7.com/niumd/archive/2009/08/27/219683.html#292739
An option file can be created and modified with any text editor, such as Notepad. For example, if MySQL is installed in E:\mysql and the data directory is in E:\mydata\data, you can create an option file containing a [mysqld] section to specify values for the basedir and datadir options:
[mysqld]
# set basedir to your installation path
basedir=E:/mysql
# set datadir to the location of your data directory
datadir=E:/mydata/data
Note that Windows path names are specified in option files using (forward) slashes rather than backslashes. If you do use backslashes, you must double them:
[mysqld]
# set basedir to your installation path
basedir=E:\\mysql
# set datadir to the location of your data directory
datadir=E:\\mydata\\data