• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Grant external domain access to SQL server

N

Nethers

Guest
I am extremely confused (not an unusual thing in itself!) over how to set up the following :

Grant SQL access for accounts that we set up for users running PHP scripts on other domains (not hosted on our server). I assume first we would need to have something like mysql.ourdomain.com as the URL with appropriate DNS record pointing to the IP address of the server. But that's where I hit the brick wall - what happens next? I can't track down a way of doing this with Plesk (7.5 Reloaded) and haven't found any clues as to what needs to be done in Unix/MySQL to be able to do it.

As I sit here staring at the vertical face of a very steep learning curve......is there a patient and kindly soul who might be able to help a total beginner......
 
Hi Justyxxxx - Thanks very much for your reply.

I read that post but wasn't sure how that could do it, as I understood from your explanation that the MySQL server would look for the individual IP address of each machine connecting. Obviously in the scenario I described I won't know the IP address in advance, and anyway it could change on each connection from the same user. Would it work if I put in my server's IP? (I suspect not!)
 
Well, if you don't know the ip addresses of these people that are trying to access the MYSQL server, then you are correct that the procedure that I posted won't work.

I would think (but don't know) that you could grant access to everyone to a particular database if they knew the user/password, but someone else would have to post that because I'm unsure of the command line.
 
OK - Thanks again Justyxxxx - At least I did get the plot!!! I'll have another wander through the forum to see if somebody else has found the way to do this....or if anybody knows the secret I'd be delighted to share!!!!
 
Back
Top