Set ip for remote access

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
ludwingamd
Posts: 3
Joined: Mon Jun 19, 2017 6:30 am

Set ip for remote access

Postby 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.

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

Re: Set ip for remote access

Postby 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.

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

Re: Set ip for remote access

Postby ludwingamd » Mon Jun 19, 2017 7:43 am

How can I know the server IP?

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

Re: Set ip for remote access

Postby 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


Return to “Database Server”



Who is online

Users browsing this forum: No registered users and 4 guests