• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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