MySQL Forums
Forum List  »  Install & Repo

Deploying MySQL to shinyapps.io
Posted by: RUEBEN LARYEA
Date: January 07, 2020 04:00PM

Hi,

I am deploying a shiny app which connects to mysql database to shinyapps.io . The application works fine on my local computer. However, when i deploy the application to shinyapps.io , i receive the error message

"Warning: Error in .local: Failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)".

I understand I have to do some port fowarding to be able to connect remotely from shinyapps.io to mysql instance on my local computer. Please, can i get some help with this? Thanks in advance.

Options: ReplyQuote


Subject
Written By
Posted
Deploying MySQL to shinyapps.io
January 07, 2020 04:00PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.