Somsak,
Tuesday, March 05, 2002, 2:03:57 PM, you wrote:
SR> Dear sir,
SR> I use MySQL-3.23.35 before that running on FreeBSD-4.2.
SR> Now I use MySQL-4.0.1 running on FreeBSD-4.5.
SR> I want to convert Database ...
SR> from
SR> MySQL-3.23.35 that store at "/usr/local/mysql/data"
SR> to
SR> MySQL-4.0.1 that store at "/usr/local/mysql/var".
SR> Anyone have tools or have another method to convert it ?
You can use mysqldump. You can find info about mysqldump and examples of usage at:
http://www.mysql.com/doc/m/y/mysqldump.html
If you want to change data dir in MySQL you should specify path to new
data dir in my.cnf:
[mysqld]
datadir=path_to_your_dir
SR> Somsak.
--
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php