PhpMyAdmin remote connection to mysql database

Source: Internet
Author: User
Premise: You have a local PHP environment. If PHPMYADMIN is installed locally, you are advised to download another folder name. 1. Download phpmyadmin to your local device

Premise: You have a local PHP environment. If PHPMYADMIN is installed locally, you are advised to download another folder name. 1. Download phpmyadmin to your local device

Premise: You have a local PHP environment. If PHPMYADMIN is installed locally, you are advised to download another folder name.

1. Download phpmyadmin to your local device

:

2. Modify the config. default. php file in the libraries folder.

1. Find $ cfg ['pmaabsoluteuri '] and set the value to your local phpmyadmin path, for example, 9999/phpmyadmin/

2. find $ cfg ['servers'] [$ I] ['host'] and set the value to your mysql database address, for example, 125.24.112.19.

3. Search for $ cfg ['servers'] [$ I] ['user'] and set the value to your mysql database username, such as abcd.

4. Search for $ cfg ['servers'] [$ I] ['Password'] and set the value to your mysql Database password, such as abcd.

3. Access the remote database through your local phpmyadmin path (same as the path set in step 2) and your mysql database username and password.

I personally tested the above method. If your problem cannot be solved, I am sorry !!!

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.