Local phpMyAdmin accessing the remote database server

Source: Internet
Author: User
Tags phpmyadmin
  1. First step: Open the/phpmyadmin/libraries directory

  2. Step Two: Modify the config.default.php file (Vim editor available under Linux, vi or EE editor under FreeBSD) to find the "Allowarbitraryserver" code content

    $cfg [' allowarbitraryserver '] = false; modified to: $cfg [' allowarbitraryserver '] = true;

    Will $cfg[' Servers ' [$i] [' host '] = '; Change the IP address of your server

    Will $cfg[' Servers ' [$i] [' port '] = '; Change to your server's port

    $cfg[' Servers ' [$i] [' user '] = ' root '; change to your server's username

    Will $cfg[' Servers ' [$i] [' password '] = '; Change your server's password

    3.

    Step three: Enter Localhost:3336/phpmyadmin in the Address bar, enter the server address, user name, password.

Local phpMyAdmin accessing the remote database server

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.