planetscale / cli

The CLI for PlanetScale Database
https://planetscale.com/cli
Apache License 2.0
604 stars 51 forks source link

Switch shell / connect to use caching_sha2_password by default #919

Closed dbussink closed 1 month ago

dbussink commented 1 month ago

This switches up both connect and shell to use caching_sha2_password by default. connect gets an option to also select the legacy mysql_native_password option. shell selects based on the mysql --version returns. For MySQL 8.x and later, it now uses caching_sha2_password.

Alternative to #918

Depends on https://github.com/planetscale/psdbproxy/pull/24

dbussink commented 1 month ago

Fixes #916