[SOLVED] RE: Issue Running OpenCms in Docker
Ramon Gavira Sáenz via opencms-dev <[email protected]>
| Newsgroups | gmane.comp.cms.opencms.devel |
|---|---|
| Message-ID | <AS8PR05MB8502B10C811B4C6786C204FCE2A29@AS8PR05MB8502.eurprd05.prod.outlook.com> |
It Works if we set a Mariadb minor versión like 10.4.28 Probably there is an incopatibility with latest versión of mariadv Regards De: opencms-dev <[email protected]> En nombre de Ramon Gavira Sáenz via opencms-dev Enviado el: martes, 14 de febrero de 2023 19:55 Para: [email protected] CC: Ramon Gavira Sáenz <[email protected]> Asunto: [opencms-dev] Issue Running OpenCms in Docker Hello people, I am trying to deploy OpenCms14 in Docker, but the MariaDB container doesn't deploy correctly, It's like root can't access even on the Mariabd own container. Less from the other container, OpenCms setup process throws this error: 2023-02-14 19:45:36 Setup-Bean initialized successfully. 2023-02-14 19:45:37 Exception: java.sql.SQLInvalidAuthorizationSpecException: Could not connect to address=(host=mysql)(port=3306)(type=master) : (conn=5) Access denied for user 'root'@'172.27.0.3' (using password: YES) 2023-02-14 19:45:37 Current charset is UTF-8. If password has been set using other charset, consider using option 'passwordCharacterEncoding' 2023-02-14 19:45:37 at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:66) 2023-02-14 19:45:37 at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:192) 2023-02-14 19:45:37 at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1392) 2023-02-14 19:45:37 at org.mariadb.jdbc.internal.util.Utils.retrieveProxy(Utils.java:635) 2023-02-14 19:45:37 at org.mariadb.jdbc.MariaDbConnection.newConnection(MariaDbConnection.java:150) 2023-02-14 19:45:37 at org.mariadb.jdbc.Driver.connect(Driver.java:89) 2023-02-14 19:45:37 at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677) 2023-02-14 19:45:37 at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228) 2023-02-14 19:45:37 at org.opencms.setup.CmsSetupDb.setConnection(CmsSetupDb.java:518) 2023-02-14 19:45:37 at org.opencms.setup.CmsSetupDb.setConnection(CmsSetupDb.java:488) 2023-02-14 19:45:37 at org.opencms.setup.CmsAutoSetup.setupDB(CmsAutoSetup.java:283) 2023-02-14 19:45:37 at org.opencms.setup.CmsAutoSetup.run(CmsAutoSetup.java:215) 2023-02-14 19:45:37 at org.opencms.setup.CmsAutoSetup.main(CmsAutoSetup.java:135) 2023-02-14 19:45:37 Caused by: java.sql.SQLInvalidAuthorizationSpecException: (conn=5) Access denied for user 'root'@'172.27.0.3' (using password: YES) 2023-02-14 19:45:37 Current charset is UTF-8. If password has been set using other charset, consider using option 'passwordCharacterEncoding' 2023-02-14 19:45:37 at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:66) 2023-02-14 19:45:37 at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:187) 2023-02-14 19:45:37 at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.authenticationHandler(AbstractConnectProtocol.java:767) 2023-02-14 19:45:37 at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.createConnection(AbstractConnectProtocol.java:553) 2023-02-14 19:45:37 at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1387) 2023-02-14 19:45:37 ... 10 more 2023-02-14 19:45:37 2023-02-14 19:45:37 An error occurred during the setup process with the following error message: 2023-02-14 19:45:37 DB Connection test faild. 2023-02-14 19:45:37 Please have a look into the opencms log file for detailed information. May be I am missing something in Docker-compose file?? If I deploy de Mariadb image without using compose it seems to be ok, but not wher I try with the two services together Thanks in advance Ramón Gavira Sáenz _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit https://lists.opencms.org/mailman/listinfo/opencms-dev