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

Set ip for remote access

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
ludwingamd
Posts: 3
Joined: Mon Jun 19, 2017 6:30 am

Set ip for remote access
  • Quote

Post by ludwingamd » Mon Jun 19, 2017 6:33 am

How can I establish an ip to access from another web or application to the database?
Only appears localhost.
Top

Phogo
Posts: 60
Joined: Fri Dec 09, 2016 12:40 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: Set ip for remote access
  • Quote

Post by Phogo » Mon Jun 19, 2017 7:37 am

Ensure remote access is allowed in your my.cnf and connect using the IP address of the server.
Top

ludwingamd
Posts: 3
Joined: Mon Jun 19, 2017 6:30 am

Re: Set ip for remote access
  • Quote

Post by ludwingamd » Mon Jun 19, 2017 7:43 am

How can I know the server IP?
Top

Phogo
Posts: 60
Joined: Fri Dec 09, 2016 12:40 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: Set ip for remote access
  • Quote

Post by Phogo » Wed Jun 21, 2017 10:33 am

You should really know the IP address of the server... But to see this you can either run

Code: Select all

ip addr show
or

Code: Select all

ifconfig
Top


Post Reply
  • Print view

4 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