How do i connect to the Database running on the idx worskpace through my local system or any other workspace

Here is the db server i am running on the project:

so i made the port public and now i wanted to connect it through other workspace using php mysqli

just covered the public access port for security purpose and the output i get is:

can anyone help??

(post deleted by author)

Try changing $port = 3306 to $port = 443and see if that works. If I’m not mistaken, I believe the “port” number is appended to the subdomain as in 3306-firebase-sql…but it’s actually running on the default port for HTTPS which is 443. Try that and let me know if it works.

This above image is from workspace:Workspace1 I think we do not need the port number but still no it ain’t working , i think due to timeout it’s not even showing anything:

My MYSQL Server is running on other workspace:Workspace2