且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在本地phpmyadmin中设置/映射远程mysql数据库

更新时间:2021-08-14 23:38:46

如果你想避免使用终端,为什么不试试 href =http://dev.mysql.com/downloads/workbench/ =nofollow> MySQL Workbench 以连接到数据库?

If you want to avoid using terminal, why not try MySQL Workbench to connect to the database?

UPDATE

根据这个问题的所有观点,我添加了一个更准确地匹配问题的解决方案。请参见此链接,I相信会有所帮助。它涉及编辑phpmyadmin config.inc.php文件以添加其他服务器。这是如何保持localhost连接,并添加任何远程数据库连接。只需从登录屏幕的下拉菜单中选择服务器为phpmyadmin。

In light of all the views to this question, I am adding a solution that more accurately matches the question. Please see this link, I believe it will be helpful. It involves editing the phpmyadmin config.inc.php file to add additional servers. This is how you can keep your localhost connection, and add any remote db connections. Simply select the server from the drop down at the login screen to phpmyadmin.