MySQL Forums
Forum List  »  Docs

Re: Information Needing to be Added Regarding non-Standard Data Path
Posted by: Mike Hillyer
Date: August 16, 2005 08:17AM

I actually went into the documentation to add your request, but noted this was already there:

An option file can be created and modified with any text editor, such as the Notepad program. For example, if MySQL is installed at E:\mysql and the data directory is located at D:\MySQLdata, you can create the option file and set up a [mysqld] section to specify values for the basedir and datadir parameters:

[mysqld]
# set basedir to your installation path
basedir=E:/mysql
# set datadir to the location of your data directory
datadir=D:/MySQLdata

It does not actually mention moving the contents of the data directory, so I am adding a paragraph advising the reader to move the data directory before restarting the server.

Thanks for the feedback.

Mike Hillyer, Technical Writer
MySQL AB, www.mysql.com
Office: +1 403-380-6535
Mobile: +1 403-330-0870
Blog: http://www.openwin.org/mike

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Information Needing to be Added Regarding non-Standard Data Path
2880
August 16, 2005 08:17AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.