How can I import a large (14 GB) MySQL dump file into a new MySQL database?

前端 未结 9 1583
醉话见心
醉话见心 2020-11-28 17:45

How can I import a large (14 GB) MySQL dump file into a new MySQL database?

9条回答
  •  [愿得一人]
    2020-11-28 18:05

    Have you tried just using the mysql command line client directly?

    mysql -u username -p -h hostname databasename < dump.sql
    

    If you can't do that, there are any number of utilities you can find by Googling that help you import a large dump into MySQL, like BigDump

提交回复
热议问题