Dump/restore MySQL database with utf8mb4 encoding

# dump
mysqldump -u user -p database --default-character-set=utf8mb4 --result-file=dump.sql
# restore
mysql -u user -p database < dump.sql
赞(0)
未经允许不得转载:PHPez » Dump/restore MySQL database with utf8mb4 encoding

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址