Moritz,
A few success command before I reply:
=====================================
mysql -u openexchange -p$(cat /etc/ox-secrets/dbuser.secret)
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 90
Server version: 5.5.44-0.15.201508042121 (Univention)
Copyright © 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
mysql>
============================================
mysql -u root -p$(cat /etc/mysql.secret)
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 91
Server version: 5.5.44-0.15.201508042121 (Univention)
Copyright © 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
mysql>
========================================================
From the above output you can see that I am able to auth and login to mysql with user [b]root using password defined on /etc/mysql.secret [/b] and user [b]openexchange using /etc/ox-secret/dbuser.secret[/b] .
Now following your explanation you are telling that root and openexchange user [b] "both" has the same passwords[/b]? .
Here is a KEY QUESTION. I can simply copy /etc/mysql.secret over /etc/ox-secrets/dbuser.secret and I would make root succesfully authenticate ; but then isn't it has an implication over openexchange user ACCESS to the table. On my system those user definetly has different passwords.
Rolando