• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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