Database user Remote Access from multiple IP addresses
#1
Database user Remote Access from multiple IP addresses
Hello,

In Sentora, when creating a mysql user, if using "Only from single IP", is there any option to allow more than one IP?

Thanks.
MrKaKisen - Website - GitHub
Reply
#2
RE: Database user Remote Access from multiple IP addresses
Like putting a ":" between the IPs.
MrKaKisen - Website - GitHub
Reply
#3
RE: Database user Remote Access from multiple IP addresses
Hello? Is there anyone that has a answer to this? Thanks!
MrKaKisen - Website - GitHub
Reply
#4
RE: Database user Remote Access from multiple IP addresses
never have done it before with sentora, but try editing your mysql/my.cnf change bind-address section to allow your ip and 
Code:
TO 'user'@'%'

to your db
thanks.
Reply
#5
RE: Database user Remote Access from multiple IP addresses
Yes, Disable Single IP... then any IP will be able to connect provided they know the port, user name and password.

More info: As per MySQL documentation, you can only bind to none, one or all. Not multiple.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#6
RE: Database user Remote Access from multiple IP addresses
(05-25-2016, 02:37 PM)TGates Wrote: Yes, Disable Single IP... then any IP will be able to connect provided they know the port, user name and password.

More info: As per MySQL documentation, you can only bind to none, one or all. Not multiple.

Aha, I see. Thanks!
MrKaKisen - Website - GitHub
Reply
#7
RE: Database user Remote Access from multiple IP addresses
Although, you can use firewall rules to only allow your preferred IPs to connect remotely to MySql for added security if that is a concern
Wink
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#8
RE: Database user Remote Access from multiple IP addresses
(05-25-2016, 11:47 PM)TGates Wrote: Although, you can use firewall rules to only allow your preferred IPs to connect remotely to MySql for added security if that is a concern
Wink

Yes, that I knew. The problem is, I need a specific database to only allow connections from two IPs, while the other databases on the same node needs to allow connections from everywhere. Solved it by buying another VPS xD
MrKaKisen - Website - GitHub
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
SSH Access rsthomas 2 7 ,590 01-06-2021, 12:14 AM
Last Post: rsthomas
How to run multiple version PHP with Apache (use Sentora panel) on Centos ??? BigBang 4 11 ,483 12-23-2020, 03:31 PM
Last Post: djkashdui1
MySQL Database user prefix MosleyCale 1 6 ,684 10-17-2020, 09:11 PM
Last Post: Ron-e

Forum Jump:


Users browsing this thread: 1 Guest(s)