
Based on your application needs and platform support, you can switch between the authentication modes with the same password.

PlanetScale supports both MySQL native authentication, which is widely used to provide a secure connection to MySQL servers, and MySQL Caching SHA-2 authentication, which is the most secure authentication mechanism to connect to MySQL. Scaling with you as your serverless application grows. PlanetScale can handle tens of thousands of simultaneous database connections. No need to worry about managing your connection count. Built for serverless scale #Ĭonnection Strings now enable you to connect your serverless functions with PlanetScale databases on serverless platforms such as AWS Lambda and Vercel Serverless Functions. If one of your PlanetScale Passwords or service tokens are committed in plain text to a public GitHub repository or private repositories owned by organizations where GitHub Advanced Security is enabled, through the GitHub Secret Scanning program we will automatically take corrective action to delete the access tokens and shut down all access from them. We do not store any passwords in plain text to add an extra layer of security to your database. PlanetScale also only stores hashes and metadata about your database passwords.


This strong security model allows you to generate passwords tied to a branch, which prevents accessing the data or schema on the given branch from another branch. PlanetScale Passwords are created for use with a single database branch. PlanetScale connection strings are built with security as a priority, so you can spend less time worrying if your database connections are secure. Strong passwords, never stored in plain text #
