Skip to main content

Unable to import database from shell

Comments

2 comments

  • masterross
    OK, I found the problem! In the dump file there was command: Create table if not exist, trying to make old table which is not permitted. So I used: sed -i '/old_gb/ s//new_db/g' mysqldump.sql Because the file is more then 5GB. After that I was able to inserted in DB. Regards!
    0
  • cPanelMichael
    Hello, I'm glad to see you were able to solve the issue. Thank you for sharing the outcome.
    0

Please sign in to leave a comment.