docker-owncloud icon indicating copy to clipboard operation
docker-owncloud copied to clipboard

Integration MySQL Database

Open janluak opened this issue 7 years ago • 0 comments

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!

janluak avatar Feb 24 '17 16:02 janluak