如何使用本地MAMP访问远程服务器 [英] How to access remote server with local MAMP
本文介绍了如何使用本地MAMP访问远程服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想通过PHPMyAdmin从我的系统访问我的远程服务器数据库.我在系统中使用MAMP
I want to access my remote server database from my system through PHPMyAdmin. I am using MAMP in my system
推荐答案
这实际上很容易,您所需要做的就是编辑phpmyadmin配置文件并重新启动MAMP服务器.
This is actually quite easy, all you need to do is edit the phpmyadmin config file and restart MAMP servers.
-
找到配置文件.
我的在这里:/Applications/MAMP/bin/phpMyAdmin/config.inc.php
编辑它以添加新的服务器配置(我将其放在服务器1的末尾).
有关需要添加的行,请参见此答案.
Edit it to add a new server config (I put it at end of server 1).
See this answer for the lines that need adding.
从MAMP重新启动服务器.
Restart servers from MAMP.
您会看到两个服务器(本地主机和远程服务器)的下拉列表.
You get a drop down of both servers (localhost and remote).
这篇关于如何使用本地MAMP访问远程服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文