• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue Docker / Owncloud - Mysql

Erwan

Regular Pleskian
Hi there,

We are running a docker container OwnCloud.
It works well with sqlite.

We want to use Mysql now but how can we make?

We have create a database on the website (not in the container) but OwnCloud (in the container) can not connect.
How can we create mysql database inside the container?

Thanks a lot.
 
Hi there,

We are running a docker container OwnCloud.
It works well with sqlite.

We want to use Mysql now but how can we make?

We have create a database on the website (not in the container) but OwnCloud (in the container) can not connect.
How can we create mysql database inside the container?

Thanks a lot.

Hello, you need to run your container with the flag "-net="host" to be able to access to the Plesk MySQL server. More details here : https://stackoverflow.com/a/24326540/4652585
I do not think you can do this directly from the Plesk interface, but via ssh it should not be a problem.
 
Back
Top