https://bugs.contribs.org/show_bug.cgi?id=10148

--- Comment #4 from Jean-Philippe Pialasse <[email protected]> ---
funny,

seems that rh decided to put configuration in /etc/opt/rh/rh-mysql57
while the process still searching for its default directory

a way to solve would be :

ln -s /etc/opt/rh/rh-mysql57 /opt/rh/rh-mysql57/root/etc


@4000000058c608a10e5e005c 2017-03-13T02:48:55.238234Z 0 [Warning] Can't create
test file /opt/rh/rh-mysql57/root/var/lib/mysql/sme9x64.lower-test
@4000000058c608a10e5e0444 2017-03-13T02:48:55.238284Z 0 [Note]
/opt/rh/rh-mysql57/root/usr/libexec/mysqld (mysqld 5.7.16) starting as process
5540 ...
@4000000058c608a10e5e17cc 2017-03-13T02:48:55.240904Z 0 [Warning] Can't create
test file /opt/rh/rh-mysql57/root/var/lib/mysql/sme9x64.lower-test
@4000000058c608a10e5e17cc 2017-03-13T02:48:55.240917Z 0 [Warning] Can't create
test file /opt/rh/rh-mysql57/root/var/lib/mysql/sme9x64.lower-test
@4000000058c608a10e5e1bb4 2017-03-13T02:48:55.241026Z 0 [ERROR] failed to set
datadir to /opt/rh/rh-mysql57/root/var/lib/mysql/
@4000000058c608a10e5e8144 2017-03-13T02:48:55.241064Z 0 [ERROR] Aborting


also 
ln -s /var/opt/rh/rh-mysql57 /opt/rh/rh-mysql57/root/var

also few default need to be modified in my.cnf and run 

pid-file=/var/run/rh-mysql57-mysqld/mysqld.pid

lc-messages-dir=/opt/rh/rh-mysql57/root/usr/share/rh-mysql57-mysql/english/

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to