Mysql导入导出
2021-06-16 16:57:19    19    0    0
ivan

令行方式:

        MySQL数据库脚导出:

            mysqldump -u username -p dbname > xx.sql

        MySQL数据库脚导入:

            第一种方法:

                mysql -u username -p dbname < xx.sql

            第二种方法:

                mysql -u username -p dbname 陆到MySQL数据库

                use newdb(使要导入的库)

                source D:/DB/xx.sql

Pre: 触发器

Next: Debian系dash改bash

19
Sign in to leave a comment.
No Leanote account? Sign up now.
0 comments
Table of content