No, it is not the same network, the remote database is MySql, and my default database in my Django application is Postgres, I only want is to read or get data to the remote database into may Django application.
On Wednesday, July 20, 2022 at 11:15:05 AM UTC+8 [email protected] wrote: > We don't know if your DB is in the same network or not as your Django App > server but the answer is to open the database port on the database server. > If you're using postgresql on the Database, then install a psql client on > the app server and test connect from there. If it works, then your Django > should also work too. > > On Tue, Jul 19, 2022 at 11:32 PM Wennie Catabay <[email protected]> > wrote: > >> Hello, >> >> I am stuck on defining how to connect a remote database from another >> server using ssh. I am able to connect the remote database with putty using >> ssh, but but I don't know how to apply it in django. >> >> Thank you. >> >> -- >> > You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/d0c2f56f-c739-4508-8529-4c5107f08636n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/django-users/d0c2f56f-c739-4508-8529-4c5107f08636n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Abdul Qoyyuum Bin Haji Abdul Kadir > HP No: +673 720 8043 <+673%20720%208043> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a57444a9-b4f4-4273-a8e1-a11fccc539d7n%40googlegroups.com.

