Is there a way to copy all the data in a mysql database to another? (phpmyadmin)

前端 未结 4 406
你的背包
你的背包 2021-01-18 07:27

I want to copy all the tables, fields, and data from my local server mysql to my hosting sites mysql. Is there a way to copy all the data? (It\'s only 26kb, very small)

4条回答
  •  北恋
    北恋 (楼主)
    2021-01-18 07:55

    If you have the same version of mysql on both systems (or versions with compatible db file sytsem), you may just copy the data files directly. Usually files are kept in /var/lib/mysql/ on unix systems.

提交回复
热议问题