The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
added password-reset.mdx
Mark Burggraf7458ef3e2fcd
diff --git a/web/docs/guides2/password-reset.mdx b/web/docs/guides2/password-reset.mdxnew file mode 100644index 00000000000..277fbf06df5--- /dev/null+++ b/web/docs/guides2/password-reset.mdx@@ -0,0 +1,57 @@+---+id: password-reset+title: "Reset Database Password"+description: How to change your PostgreSQL database password.+---++import Tabs from '@theme/Tabs';+import TabItem from '@theme/TabItem';++### How to change your PostgreSQL database password.++## Description++Your PostgreSQL database is the core of your Supabase project, so it's important to make sure it has a strong, secure password at all times. Changing the password is easy -- just make sure you choose a password that:++* is very secure+* does not contain of the following symbols: **: / ? # ] [ @ ! $ & ' ( ) * + , ; =**++These special symbols can conflict with connection string URLs or cause other problems, so it's best to avoid them. You can still make a secure password using a longer string or a randomized set of upper and lowercase letters and digits.++## Environment+* Any PostgreSQL database+* Any Supabase project++## Steps++Issue the following statement in a SQL editor:++From the [Supabase Dashboard](https://supabase.io):+- Home+- Select a Project+- SQL+- New Query++<Tabs+defaultValue="SQL"+values={[+ {label: 'SQL', value: 'SQL'},+]}>++<TabItem value="SQL">++```sql+ALTER USER postgres WITH PASSWORD 'new_password';+```++</TabItem>+</Tabs>+++Be sure to remember your password or store it in a secure place.++## Resources++* [Supabase Account - Free Tier OK](https://supabase.io)+* [PostgreSQL ALTER USER Documentation](https://www.postgresql.org/docs/12/sql-alteruser.html)+diff --git a/web/sidebars.js b/web/sidebars.jsindex 87189d9cf60..f99734fc6e8 100755--- a/web/sidebars.js+++ b/web/sidebars.js@@ -88,7 +88,7 @@ module.exports = {type: 'category',label: 'Guides2',collapsed: false,- items: ['guides2/arrays', 'guides2/json'],+ items: ['guides2/arrays', 'guides2/json', 'guides2/password-reset'],},{type: 'category',