CIC Soluções em T.I Posted October 12, 2017 Share Posted October 12, 2017 Após um upgrade para o Maria DB, o round cube apresenta: (Os bancos de dados do sites estão funcionando normalmente) DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database! Please contact your server-administrator. 0 Quote Link to comment Share on other sites More sharing options...
Jaime Silva Posted October 12, 2017 Share Posted October 12, 2017 Não seria melhor contatar o suporte cPanel? 0 Quote Link to comment Share on other sites More sharing options...
msaulohenrique Posted October 13, 2017 Share Posted October 13, 2017 Já conferiu o fórum de suporte cPanel, existem alguns tópicos sobre. 0 Quote Link to comment Share on other sites More sharing options...
DELTA SERVERS Posted October 13, 2017 Share Posted October 13, 2017 Essa nova atualização do MariaDB veio realmente com problemas. Uma delas foi com o MySQL Strict Mode Detected, vários sites se depara com erros e você precisa colocar manual. Descobri que a opção sql_mode não estava presente ou definido para valores em branco. quando isso é feito, o servidor usa padrões compilados. Eu adicionei o seguinte para /etc/my.cnf: ==== sql_mode = NO_ENGINE_SUBSTITUTION ==== E mudei a /usr/my.cnf arquivo para /root/my.cnf.usr o servidor agora mostra o modo estrito desativada: # mysql -u rootWelcome to the MariaDB monitor. Commands end with ; or \g.Your MariaDB connection id is 8Server version: 10.2.9-MariaDB MariaDB ServerCopyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.MariaDB [(none)]> SELECT @@GLOBAL.sql_mode;+------------------------+| @@GLOBAL.sql_mode |+------------------------+| NO_ENGINE_SUBSTITUTION |+------------------------+1 row in set (0.00 sec)MariaDB [(none)]> SELECT @@SESSION.sql_mode;+------------------------+| @@SESSION.sql_mode |+------------------------+| NO_ENGINE_SUBSTITUTION |+------------------------+1 row in set (0.00 sec)MariaDB [(none)]> quit;Bye==== 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.