getting to phpmyadmin with mamp

匿名 (未验证) 提交于 2019-12-03 08:33:39

问题:

I'm using MAMP, and trying to get to phpmyadmin. loaclhost/phpmyadmin isn't working.. the sql light is green so it is enabled.

I have changed the Document Root to /Users/troycosentino/Sites/easyuniv/ and when i open the start page from MAMP it is a page created by apple it looks like, not MAMP.

Any ideas?

回答1:

If i go to localhost:8888/MAMP it gives me the MAMP screen, from which i can go to phpmadmin.



回答2:

If MAMP has MySQL Server and Apache Server running.
You can go to phpMyAdmin via url http://localhost/phpMyAdmin/



回答3:

Try this localhost:8888/MAMP/?language=English

Click on phpMyAdmin tab and you have it.



回答4:

My htdocs folder was only filled with personal projects.

I have no idea WHY this works, but it did for me:

In the httpd.conf folder (do a command + space and search for that if you don't know what it is already), change your root folder to:

DocumentRoot "/Applications/MAMP/bin” 

Comment out your OLD document root with a '#', such that it will look like:

#DocumentRoot "/Applications/MAMP/htdocs” 

Then, repeat those changes for the Directory path:

<Directory "/Applications/MAMP/bin”> #DocumentRoot "/Applications/MAMP/htdocs” 

Stop/Restart MAMP. For good measure, try loading local server in your browser, it shouldn't work.

Then, undo everything above and change your document and directory roots back to their originals.

Stop/Restart MAMP. Try navigating to localhost/phpmyadmin or localhost:8888/phpmyadmin again.

Not sure exactly why, but it seems to trigger MAMP to behave itself. Hope that helps



回答5:

Try this:

localhost/MAMP 

and from nav-menu choose: tools>PhpMyAdmin



回答6:

On Windows pay attention to capital letters:

http://localhost/phpMyAdmin/ 


标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!