《Mysql應用mysql5的sql文件導入到mysql4數據庫》要點:
本文介紹了Mysql應用mysql5的sql文件導入到mysql4數據庫,希望對您有用。如果有疑問,可以聯系我們。
導讀:本節內容:實現將高版本的數據庫轉移到低版本的數據庫中,以mysql5數據轉到mysql4為例.1、將mysql5里導出的sql文件導入到mysql5中.2、用
m...
MYSQL教程本節內容:
實現將高版本的數據庫轉移到低版本的數據庫中,以mysql5數據轉到mysql4為例.
MYSQL教程1、將mysql5里導出的sql文件導入到mysql5中.
MYSQL教程2、用
mysqldump -uroot -p1234 --opt --compatible=mysql40 -A -re:localhost.sql
?
MYSQL教程--compatible=name參數描述如下:
?
--compatible=name Change the dump to be compatible with a given mode. By
default tables are dumped in a format optimized for
MySQL. Legal modes are: ansi, mysql323, mysql40,
postgresql, oracle, mssql, db2, maxdb, no_key_options,
no_table_options, no_field_options. One can use several
modes separated by commas. Note: Requires MySQL server
version 4.1.0 or higher. This option is ignored with
earlier server versions.
MYSQL教程3、將e:localhost.sql導入mysql4,如mysql命令行中
?
source e:localhost.sql
歡迎參與《Mysql應用mysql5的sql文件導入到mysql4數據庫》討論,分享您的想法,維易PHP學院為您提供專業教程。
轉載請注明本頁網址:
http://www.snjht.com/jiaocheng/12718.html