• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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