Как подключиться с помощью mysql-connector-j к MariaDB 10.11 или новее? ⇐ JAVA
Как подключиться с помощью mysql-connector-j к MariaDB 10.11 или новее?
I had to change some of my infrastructure so I am now using MariaDB 10.11. My problem is that my setup no longer works. My Maven setup used the mysql-connector-java 5.1.34 package to connect to an older MariaDB version without any problems. Now I get the error unable to load authentication plugin "auth_gssapi_client" so I updated the mysql-connector-java version to 8.3.0 with the error java.sql.SQLException: !AuthenticationProvider.BadAuthenticationPlugin!.
How can I get a working db connection now? Is it still possible to use the "mysql-connector-j" or do I have to use the "mariadb-connector-j" now?
Edit: Solution found, see comment
Источник: https://stackoverflow.com/questions/780 ... 1-or-newer
I had to change some of my infrastructure so I am now using MariaDB 10.11. My problem is that my setup no longer works. My Maven setup used the mysql-connector-java 5.1.34 package to connect to an older MariaDB version without any problems. Now I get the error unable to load authentication plugin "auth_gssapi_client" so I updated the mysql-connector-java version to 8.3.0 with the error java.sql.SQLException: !AuthenticationProvider.BadAuthenticationPlugin!.
How can I get a working db connection now? Is it still possible to use the "mysql-connector-j" or do I have to use the "mariadb-connector-j" now?
Edit: Solution found, see comment
Источник: https://stackoverflow.com/questions/780 ... 1-or-newer
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Не могу подключиться к базе данных MySQL, используя Python MySQL.Connector
Anonymous » » в форуме Python - 0 Ответы
- 10 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Не могу подключиться к базе данных MySQL, используя Python MySQL.Connector
Anonymous » » в форуме MySql - 0 Ответы
- 10 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Не могу подключиться к базе данных MySQL, используя Python MySQL.Connector
Anonymous » » в форуме Python - 0 Ответы
- 11 Просмотры
-
Последнее сообщение Anonymous
-