我的服务器出了点问题,导致系统进不去,好在把所有的数据都拷贝下来了~ ( 用阿里云的快照现在的问题是,我在新的服务器上装了一个mysql我如果有原来数据库文件的话 请问要如何恢复数据?直接拷贝文件过去吗? 如果是这样 要拷贝哪些文件到哪里?
走同样的路,发现不同的人生
If the data file is copied, it will also be copied to the data directory. It should be noted that the version of mysql must be the same, because the file structure of different versions may be different.
If the data file is copied, it will also be copied to the data directory.
It should be noted that the version of mysql must be the same, because the file structure of different versions may be different.