• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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