This topic is locked
[SOLVED]

What kind of database connection do you use?

11/30/2021 2:28:51 PM
PHPRunner General questions
I
I author

Hello forum, I have my own domain on which a phprunner application is installed. Now I want to request data from a database of another domain (of course I have the login details). Which database connection should I apply? Thanks

admin 11/30/2021

The question doesn't make much sense in the way it is asked. It depends on what kind of database is that. If this is a MySQL then you need to use MySQL database connection etc.

I
I author 11/30/2021

I asked the question unclearly. I use MySql.

To connect to the database on my own domain, that's no problem. But from "my" domain to another domain (also MySql). Can I do that with REST-API? Or can I use phprunner.php to connect to a table on another domain (of course with the correct login details)?

A
AlphaBase 11/30/2021

Just create a new connection and fill in the credentials. Simple. You don't need a rest api.