Integration MySQL Database
janluak opened this issue · 0 comments
janluak commented
Hey guys,
I run into a problem when trying to use a mysql database: for some reason inspect -f "{{ .HostConfig.Links }}" returns that my linking to another container worked out (output: [/MySQL-OC:/OwnCloud/mysql] or in one of my tries [/MySQL-OC:/OwnCloud/usr/sbin/mysql]).
Yet, when starting the owncloud container no access to the mysql database is possible. If I enter the oc container and start mysql a mariaDB is started instead of my preferred mysql in a different container.
Therefore, when trying to set up the owncloud, I get "SQLSTATE[HY000][1045] Access denied for user 'my-user'@'localhost' (using password: YES)".
Any idea why? Thanks!