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

Remote Database Help

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Locked
  • Print view
Advanced search
7 posts • 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
Remote Database Help

Post by Gordon55M » Tue Jul 01, 2014 3:28 pm

Read this thread viewtopic.php?f=10&t=4054 and am still having issues.

I am trying to get a remote MySQL DB working with Vesta CP. Here is where I am at:

I am using Digital Ocean and have identical Ubuntu 12.04.4 X64 servers. One is running Vesta, the other MySQL. Both are on a private network. I set up a remote user on the MySQL called VestaUser and allowed remote access using the private IP address from the Vesta CP server. I ran the following code on the Vesta CP server:

Code: Select all

v-add-database-host mysql new-server.com root password

Code: Select all

v-list-database-hosts

Code: Select all

v-suspend-database-host mysql localhost
Everything looks good and I am able to choose my private IP address to create DB's in the Vesta CP without error messages. However a few issues arise.
-Both localhost and my private IP address are options in the drop down still even after I suspended localhost.
-When I create a DB using the private IP drop-down and click "Open phpMyAdmin", it doesn't open as it points to the private IP not a public one...how do I set it to go to the public when using a private IP (If possible?)?
-When I visit the public IP phpMyAdmin of the remote MySQL server, none of the databases that I created in VestaCP exist. Does that make sense?
Top

Gordon55M
Posts: 43
Joined: Tue Apr 22, 2014 8:37 pm
Contact:
Contact Gordon55M
Twitter

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: Remote Database Help

Post by Gordon55M » Tue Jul 08, 2014 3:13 pm

Since I haven't received a response, does anyone know if there is a tutorial written on this topic that I can reference?
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Remote Database Help

Post by imperio » Tue Jul 08, 2014 7:04 pm

Hi,
Both localhost and my private IP address are options in the drop down still even after I suspended localhost
This problem is confirmed
Top

MAN5
Posts: 86
Joined: Sun Jan 31, 2016 4:14 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Remote Database Help

Post by MAN5 » Fri Mar 11, 2016 2:45 pm

imperio wrote:Hi,
Both localhost and my private IP address are options in the drop down still even after I suspended localhost
This problem is confirmed
Hi. Too need this option.
I would like to remove "LOCAL HOST" from drop down menu.
Any help?
Top

MAN5
Posts: 86
Joined: Sun Jan 31, 2016 4:14 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Remote Database Help

Post by MAN5 » Fri Mar 11, 2016 3:13 pm

maniekandan55 wrote:
imperio wrote:Hi,
Both localhost and my private IP address are options in the drop down still even after I suspended localhost
This problem is confirmed
Hi. Too need this option.
I would like to remove "LOCAL HOST" from drop down menu.
Any help?
Ok Got-it..
Simply edit the file:
/usr/local/vesta/conf/mysql.conf
Than 'Restart MySQL service'.

- The dropdown sequence & the hosts are following from this file.
- The Database maximum DBs counting also from here.
Top

liewcf
Posts: 4
Joined: Sun May 01, 2016 9:37 pm

Re: Remote Database Help

Post by liewcf » Mon May 09, 2016 4:16 pm

maniekandan55 wrote: Ok Got-it..
Simply edit the file:
/usr/local/vesta/conf/mysql.conf
Than 'Restart MySQL service'.

- The dropdown sequence & the hosts are following from this file.
- The Database maximum DBs counting also from here.
Thanks! I was looking for this solution!
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Remote Database Help

Post by skurudo » Tue May 10, 2016 1:59 pm

Ok, closed.
Top


Locked
  • Print view

7 posts • 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