
- PHP 7 Tutorial
- PHP 7 - Home
- PHP 7 - Introduction
- PHP 7 - Performance
- PHP 7 - Environment Setup
- PHP 7 - Scalar Type Declarations
- PHP 7 - Return Type Declarations
- PHP 7 - Null Coalescing Operator
- PHP 7 - Spaceship Operator
- PHP 7 - Constant Arrays
- PHP 7 - Anonymous Classes
- PHP 7 - Closure::call()
- PHP 7 - Filtered unserialize()
- PHP 7 - IntlChar
- PHP 7 - CSPRNG
- PHP 7 - Expectations
- PHP 7 - use Statement
- PHP 7 - Error Handling
- PHP 7 - Integer Division
- PHP 7 - Session Options
- PHP 7 - Deprecated Features
- PHP 7 - Removed Extensions & SAPIs
- PHP 7 Useful Resources
- PHP 7 - Quick Guide
- PHP 7 - Useful Resources
- PHP 7 - Discussion
Connect to external server by using phpMyAdmin
The below lines of code can be added to the /etc/phpmyadmin/config.inc.php file at the bottom −
$i++; $cfg['Servers'][$i]['host'] = 'HostName:port'; // hostname and port are provided if they are not default values $cfg['Servers'][$i]['user'] = 'userName'; //user name for the remote server $cfg['Servers'][$i]['password'] = 'Password'; //the password $cfg['Servers'][$i]['auth_type'] = 'config';
It will display “Current Server:” with drop down of both "127.0.0.1" and the one provided with $cfg['Servers'][$i]['host'].
The user can switch between both the servers.
- Related Articles
- Using SAP JCO to connect SAP server to JAVA application
- How to add auto-increment to column in MySQL database using PhpMyAdmin?
- How to connect to SSH using PowerShell?
- Using JCo to connect SAP with Android
- How to connect Azure Account using PowerShell?
- How to specify Decimal Precision and scale number in MySQL database using PHPMyAdmin?
- How to connect to Chromium Headless using Selenium?
- How to connect to my MongoDB table by command line?
- How to open External Programs using Tkinter?
- How to connect to Derby database using a JDBC program?
- How to connect to HSQLDB database using a JDBC program?
- How to connect to PostgreSQL database using a JDBC program?
- Python program to Order Tuples using external List
- How to connect to an SQLite database using a JDBC program?
- How to connect to a MongoDB database using a JDBC program?

Advertisements