[Xunix development Environment--01] MAMP Mac OS 10.10 configuration experience, Essentials--01. phpMyAdmin can't even do it.

Source: Internet
Author: User
Tags mysql command line phpmyadmin

Mac OS 10.10 has its own apache2 and PHP (php path I still do not know, too lazy to find)

Install MySQL with brew,

Download the phpMyAdmin on the official website, and configure it officially, no login, no error code, just say "unable to log on to MySQL server"

Looked at a lot of ways, did not solve, because other people's mistakes there are error codes, after thinking ....

I think it should also be a MySQL server configuration problem, you can see the status of MySQL information

Use MySQL to enter the MySQL command line and then use show variables;

Find the default installed MySQL bind_address:127.0.0.1

So you need to change the config.inc.php of phpMyAdmin, the MySQL server inside will be changed from the default localhost to 127.0.0.1,

And then, everything's fine.

I've been stuck with this problem for 3 hours, shit!.

[Xunix development Environment--01] MAMP Mac OS 10.10 configuration experience, Essentials--01. phpMyAdmin can't even do it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.