In k8s, mariadb 10.1.24 deny using ipv6 domain name access
Does mariadb 10.1.24 not support ipv6 access?
I run a springboot web project and connect to mariadb using config like this spring: datasource: driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql:mariadb-service.namespaces:3306/my_db?createDatabaseIfNotExist=true&charset=utf8&serverTimezone=UTC&autoReconnect=true username: username password: password
however, run application failed and got an error message, “Could not create connection to database server. ”. I want to connect to mariadb using ipv6 domain name. Any help would be greatly appreciated!
Answer Answered by Ian Gilfillan in this comment.
See this related question Does MariaDB support IPV6?.
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.