Answer the question
In order to leave comments, you need to log in
How to locally connect to db with skip-networking mysql 8.0.27?
In jdbc I passed the following url:
jdbc:mysql://localhost:3306/test/useSSL=false&allowPublicKeyRetrieval=true
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
show variables like 'port';
!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mysql.conf.d/
[mysqld]
port=3306
bind-address=127.0.0.1
mysqlx-bind-address=127.0.0.1
skip-networking
skip-grant-tables
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question