# Proxysql 2.7.1 can't handle default auth native config + sha2 user but mysql 8.0.x can?

**URL:** <https://forums.percona.com/t/proxysql-2-7-1-cant-handle-default-auth-native-config-sha2-user-but-mysql-8-0-x-can/35521>\
**Category:** ProxySQL\
**Created:** [December 6, 2024, 7:50pm UTC](https://forums.percona.com/t/proxysql-2-7-1-cant-handle-default-auth-native-config-sha2-user-but-mysql-8-0-x-can/35521 "2024-12-06T19:50:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew\_Lenz\_L1T](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthew_lenz_l1t/32/19302_2.png) [@Matthew\_Lenz\_L1T](https://forums.percona.com/u/Matthew_Lenz_L1T)\
**Post date:** [December 6, 2024, 7:50pm UTC](https://forums.percona.com/t/proxysql-2-7-1-cant-handle-default-auth-native-config-sha2-user-but-mysql-8-0-x-can/35521/1 "2024-12-06T19:50:10Z")

</div>

Preface - I’ve got credentials mirrored in proxysql for a mysql backend. Mysql’s backend has a default auth of native and user is configured for sha2. Proxysql is configured exactly the same as the mysql server (default native + sha2 user with same pass as mysql). I can connect to mysql directly with the mysql client and it works just fine. If I try to connect to proxysql I get an authentication error. I can connect to proxysql to users configured for native just fine.

How the heck can mysql handle this but proxysql can’t?
