skip to Main Content

(Docker+SpringBoot+Mysql) Mysql connection refused – Phpmyadmin

Problem Description Spring Boot(app) container cant connect to "mysql" container Problem Output Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up. application.properties spring.datasource.username = root spring.datasource.url = jdbc:mysql://mysql:3306/fms?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&useSSL=false spring.datasource.password = manager@123 docker-compose.yml version:…

VIEW QUESTION

Why X-RateLimit-Remaining -1 in response header while using spring cloud api gateway ratelimit with redis?

I implemented ratelimit with redis in my spring cloud api gateway. Here is part of application.yml: spring: cloud: gateway: httpclient: ssl: useInsecureTrustManager: true discovery: locator: enabled: true routes: - id: test-rest-service uri: lb://test-rest-service predicates: - Path=/test/** filters: - RewritePath=/test/(?<path>.*), /${path}…

VIEW QUESTION
Back To Top
Search