Skip to content

Mendix docker cannot run with connect to local server Mysql #202

Description

@Eirx-po

Hello

We meet some issue on the step run docker :

docker run -it -e ADMIN_PASSWORD=Password1! -e MXRUNTIME_DatabaseType=MYSQL -e MXRUNTIME_DatabaseUserName=mendix -e MXRUNTIME_DatabasePassword=mendix -e MXRUNTIME_DatabaseJdbcUrl=mysql://10.11.11.11:3306/mendix -e MXRUNTIME_DatabaseName=mendix mendix/mendix-buildpack:v3.5.3

ERROR - M2EE: An error occurred while initializing the Runtime: java.lang.NullPointerException
com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: java.lang.NullPointerException
at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:269)

Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: java.lang.NullPointerException
at com.mendix.connectionbus.connections.jdbc.ConnectionManager.attemptToConnect$1(ConnectionManager.scala:39)

Caused by: java.lang.NullPointerException: null
at org.mariadb.jdbc.MariaDbDataSource.getConnection(MariaDbDataSource.java:299)
at com.mendix.connectionbus.connections.jdbc.JdbcDataSourceConnectionFactory.createConnection(JdbcDataSourceConnectionFactory.scala:30)

did some one can help me ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions