Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

Add Remote Database Dropdown in PhpMyAdmin

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
Gordon55M
Posts: 43
Joined: Tue Apr 22, 2014 8:37 pm
Contact:
Contact Gordon55M
Twitter

Os: Ubuntu 15x
Web: nginx + php-fpm
Add Remote Database Dropdown in PhpMyAdmin
  • Quote

Post by Gordon55M » Thu Sep 03, 2015 10:19 pm

I'm trying to configure phpmyadmin screen to have a dropdown of my remote databases. I tried adding this on the line below

Code: Select all

$i++;
of /etc/phpmyadmin/config.inc.php

Code: Select all

$cfg['Servers'][$i]['verbose']       = 'Remote MariaDB';// Change this to whatever you $
$cfg['Servers'][$i]['host']          = 'IPofRemoteServer';
$cfg['Servers'][$i]['port']          = '3306';
$cfg['Servers'][$i]['connect_type']  = 'tcp';
$cfg['Servers'][$i]['extension']     = 'mysqli';
$cfg['Servers'][$i]['compress']      = FALSE;
$cfg['Servers'][$i]['auth_type']     = 'cookie';

$i++;
And I can't login with the VestaCP user. I don't get a drop-down to choose servers. When I try to login using a VestaCP created database and user I can't login, however when I type in the root db user and password I can see all databases. Is there a way to make it so that when I click the PhpMyAdmin button in VestaCP the users can access only their database on the remote db?
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password