-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MyBatis installed in Docker container fails with ERROR: Could not create SqlRunner. Cause: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection[Pipeline] #100
Comments
Can you share a simple docker project? Usually when you get this it is either
|
@svscorp Your docker setup, not migrations, is nearly certainly the culprit. |
Hi @h3adache @chb0github Thank you for quick reply. I consider it's in the docker environment as well, spent some time trying to figure out what is the issue. But it's a simple Docker container, with "as is" mybatis installation. wrapper code (migrate.sh):
image code
Saying upfront, if I go inside the container, I can see that development.properties file generated properly (looks like):
I can telnet from the container to that host or ip (port 1521). |
It's validated on mybatis in non-container installation
IP the same
It's running, I can connect to it using telnet
Same as above. --trace output
|
Sorry just to double check you are sure databasesid is the right name of the db? |
I did some troubleshooting. It has nothing to do with Docker. I installed it on the VM itself to check narrow down the issue. Strange. |
As this is not related to MyBatis most probably, closing the issue. |
Hi team,
I am facing an issue with my MyBatis 3.3.2. It can't execute migration, and there is not more information that below.
MyBatis is installed in a Docker image and executed inside a container. DB Host and Port is accessible both from host and Docker container.
Not even sure where to go with further troubleshooting.
The text was updated successfully, but these errors were encountered: