简体   繁体   English

导出数据库 phpmyadmin

[英]Export database in phpmyadmin

I recently created an Ubuntu Virtual Machine in VirtualBox to create a new project.我最近在VirtualBox中创建了一个Ubuntu的虚拟机来创建一个新项目。 So now I created my database in phpmyadmin and I wanted to export my database to keep the data.所以现在我在 phpmyadmin 创建了我的数据库,我想导出我的数据库以保留数据。 The thing is that when I try to export it it throws an error that says that the database couldnt be exported because the origin file couldnt be read.问题是,当我尝试导出它时,它会抛出一个错误,提示无法导出数据库,因为无法读取原始文件。 It may be a php configuration problem (php.ini)?可能是php配置问题(php.ini)? or maybe I created the virtual machine on a wrong way?或者我以错误的方式创建了虚拟机?

Thank you in advance.先感谢您。

For security, if you want to save a database, do a dump on the server directly.为了安全起见,如果要保存数据库,请直接在服务器上进行转储。 You can take a look to this link: https://www.digitalocean.com/community/tutorials/how-to-import-and-export-databases-in-mysql-or-mariadb你可以看看这个链接: https://www.digitalocean.com/community/tutorials/how-to-import-and-export-databases-in-mysql-or-mariadb

phpmyadmin is good to have something more visual for an human and manage some little changes. phpmyadmin 很适合为人类提供更直观的东西并管理一些小的变化。 But it's not enough secure to be publish on inte.net.但在 inte.net 上发布还不够安全。 Becareful about that.对此要小心。

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

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