Connection to multiple mysql databases

QuestionsConnection to multiple mysql databases
german asked 10 years ago

Hi sir,

good morning

I would like to connect with multiple database which is in mysql .

How to do it?

Please help

Thank you

1 Answers
Abu Ghufran answered 10 years ago

You can join tables of multiple database in SQL and set in select_command.
http://stackoverflow.com/questions/5698378/mysql-join-between-tables-in-2-different-databases

If sql query solution is not suitable, you can use demos/loading/php-array sample code. Use normal mysql_query functions to fetch data from databases and fill that array, that will be populated in grid. DML operations are not there in array based grid.

Your Answer

4 + 3 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?