简体   繁体   English

如何在使用phpmyadmin导出的mysql数据库中放置密码

[英]How to put password in mysql database that you export using phpmyadmin

How do I do that? 我怎么做? Is it possible? 可能吗? If it's not possible in phpmyadmin then can you tell me some alternative to achieve the same thing (putting a password to the mysql database that is being exported for backup)? 如果在phpmyadmin中是不可能的,那么您能告诉我一些替代方法来实现相同的目的吗(将密码输入到要备份的mysql数据库中)?

Passwords and permissions are stored in the database named mysql. 密码和权限存储在名为mysql的数据库中。 If you need to copy passwords you can dump and restore that database, but it will likely cause you problems, you can line by line restore from the database for tables that contain specific info. 如果您需要复制密码,则可以转储和还原该数据库,但这可能会导致问题,您可以从数据库逐行还原包含特定信息的表。

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

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