From ce66bdcbd435262bc0ab5b9f40cbb687ca404fd8 Mon Sep 17 00:00:00 2001 From: Adarnof Date: Fri, 2 Mar 2018 20:18:23 -0500 Subject: [PATCH] Copy v1 database after creating new one for v2 if updating. --- docs/installation/auth/allianceauth.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/installation/auth/allianceauth.md b/docs/installation/auth/allianceauth.md index e6fc43c1..bff50932 100644 --- a/docs/installation/auth/allianceauth.md +++ b/docs/installation/auth/allianceauth.md @@ -71,6 +71,12 @@ Alliance Auth needs a MySQL user account and database. Open an SQL shell with `m Close the SQL shell and secure your database server with the `mysql_secure_installation` command. +If you're updating from v1, populate this database with a copy of the data from your v1 database. + + mysqldump -u root -p v1_database_name_here | mysql -u root -p alliance_auth + +Note this command will prompt you for the root password twice. + ## Auth Install ### User Account