Hello, Unable to Connect to the external database. Iam getting the following error com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: Either.right.get on Left at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:423) Caused by: java.util.NoSuchElementException: Either.right.get on Left at scala.util.Either$RightProjection.get(Either.scala:640) at com.mendix.connectionbus.connections.jdbc.implementations.mysql.MySqlDataStoreConfigurator.createDefaultDataSource(MySqlDataStoreConfigurator.scala:79) at com.mendix.connectionbus.connections.jdbc.implementations.mysql.MySqlDataStoreConfigurator.createDataSource(MySqlDataStoreConfigurator.scala:32) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreConfigurator.initialize(JdbcDataStoreConfigurator.java:62) at com.mendix.connectionbus.connections.jdbc.ConnectionManager.<init>(ConnectionManager.java:29) at com.mendix.connectionbus.ConnectionBusImpl.initialize(ConnectionBusImpl.java:330) at com.mendix.basis.impl.MxRuntimeImpl.initializeConnectionBus(MxRuntimeImpl.java:575) at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:391) at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:49) at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.java:30) at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:129) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:502) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) at java.base/java.lang.Thread.run(Thread.java:834) Database Type: Thank You
asked
Bedika Mounika
2 answers
1
you do not need to specify jdbc/mysql and db name, try localhost:3306 as your db url and specify the db name below it (mendixdb)
answered
Sinan Karakurt
0
Hello Sinan,
Thank You For Your Response
I have done what you said but getting the following error