Skip to main content

Migrate database from shared hosting to AWS Lightsail with WHM

Comments

3 comments

  • quietFinn
    in root ssh go to the directory where the mysql database dump is and do: mysql DATABASE < DATABASEDUMP.sql (of course create the database 1st).
    0
  • SimpleSonic
    in root ssh go to the directory where the mysql database dump is and do: mysql DATABASE < DATABASEDUMP.sql (of course create the database 1st).

    The OP's current hosting is shared, so doubtful he has root access.
    0
  • cPRex Jurassic Moderator
    @stepup88 - you can import the database with PHPMyAdmin as well:
    0

Please sign in to leave a comment.