MySQL Forums
Forum List  »  Stored Procedures

Query to different MySQL serevers on diff hosts
Posted by: Slava Divxak
Date: January 10, 2006 04:36AM

Subj..

I need to make query from one host to another in SP

For example:
CREATE PROCEDURE some(IN host CHAR(80), IN user CHAR(80), IN pass CHAR(20), IN db_name CHAR(80))
BEGIN
<connect_to_another_host>.....
<make_some_queries_and_fill_vars>.....

SELECT <vars>;
END;
//

Can I do it? If yes - how?

Trust me! I'm the best! :)

Options: ReplyQuote


Subject
Views
Written By
Posted
Query to different MySQL serevers on diff hosts
2096
January 10, 2006 04:36AM


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.