Importing larger sql files into MySQL

前端 未结 14 2224
感情败类
感情败类 2020-12-12 10:45

I have a 400MB large sql backup file. I\'m trying to import that file into MySQL database using WAMP->import, but the import was unsuccessful due to many reasons such as upl

14条回答
  •  萌比男神i
    2020-12-12 11:06

    You can import large files this command line way:

    mysql -h yourhostname -u username -p databasename < yoursqlfile.sql
    

提交回复
热议问题