简体   繁体   English

如何将.DMP 文件导入 SQLiteStudio

[英]How can i import .DMP files into SQLiteStudio

i need to import some.DMP files into SQLiteStudio, i tried a lot of things but can´t find how to do it.我需要将一些.DMP 文件导入 SQLiteStudio,我尝试了很多东西,但找不到如何去做。 If you can help me i appreciate it如果你能帮助我,我很感激

You cannot import MySQL dump files into SQLite database.您无法将 MySQL 转储文件导入 SQLite 数据库。 You need to first convert it into a format understandable by SQLite.您需要先将其转换为 SQLite 可以理解的格式。 There are several tools over the internet for doing so - just type " convert mysql dump into sqlite " in google or other search page.互联网上有几种工具可以做到这一点 - 只需在谷歌或其他搜索页面中输入“将 mysql 转储为 sqlite ”。 An example of such tool: https://github.com/dumblob/mysql2sqlite此类工具的示例: https://github.com/dumblob/mysql2sqlite

Once you have the file compatible with SQLite, you can open SQLiteStudio, create an empty database and then right-click on it, pick " Execute SQL from file " and use the SQLite-compatible file you produced earlier.获得与 SQLite 兼容的文件后,您可以打开 SQLiteStudio,创建一个空数据库,然后右键单击它,选择“ Execute SQL from file ”并使用您之前生成的 SQLite 兼容文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM