phpMyAdmin Accessing the remote database

Source: Internet
Author: User
Tags phpmyadmin

Modify the config.default.php file under the Libraries folder in the phpMyAdmin directory
1. Find $cfg[' Pmaabsoluteuri ') and set its value to Http://192.168.1.1/phpmyadmin
2. Find $cfg[' Servers ' [$i] [' Host '] and set its value to 192.168.1.2
3. Find $cfg[' Servers ' [$i] [' User '] and set its value to admin
4, find $cfg[' Servers ' [$i] [' Password '], set its value to 123456
Three, configuration complete, now through Http://192.168.1.1/phpmyadmin input database user name: admin password: 123456 can access the server 192.168.1.2 above the MySQL database.


Note: MySQL database cannot use root account, need to create a new account, and set up the account can connect to the database remotely

phpMyAdmin Accessing the remote database

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.