I have a project in Django, this project connects to a mysql database called billing. I’d like to know if can I make a query like:
SELECT * from cdr where accountcode = 'MARY'
And show the results in a page, my problem is that the database where the table cdr is created is not the same of my project, it’s only in the same server.
Is it possible?
Thanks.
Yes, this is possible.
Documentation on multiple databases
Documentation on raw SQL queries