MySQL Forums
Forum List  »  Federated Storage Engine

Re: simple select from another server
Posted by: brian pribis
Date: October 26, 2009 01:39PM

I realize you are looking for an easy way to do this, but the way I've always done it (and I believe the most secure) is to create a user on the remote db with the specific privileges needed (and if possible restricted to a specific IP address), Then log in remotely using mysql -u user_name -p -h [ip of remote host]

You are right, I can't imagine being able to connect via a SQL query from another database is very secure. In fact, it would seem the trade off between convenience and parsing the query for remote access plus the security issues would be worth it.


brian

Options: ReplyQuote


Subject
Views
Written By
Posted
12687
September 21, 2009 09:29AM
Re: simple select from another server
6746
October 26, 2009 01:39PM
5892
October 26, 2009 01:46PM
5476
November 20, 2009 06:14PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.