forked from CypherX/xAuth
-
Notifications
You must be signed in to change notification settings - Fork 21
Upgrading
CypherX edited this page Mar 10, 2012
·
9 revisions
This page explains how to upgrade to xAuth 2.0 from various previous versions.
- Download the latest version of xAuth, configure the included configuration file, and start your server so the MySQL tables are generated. Stop the server now.
- Download the flat file importer [here] (http://bit.ly/A9OZT9) and extract all included files into the same directory.
- Configure the importer.properties file included in the importer to accurately reflect your xAuth configuration.
- Place your auths.txt file in the same directory as the importer.
- Run the importer:
-
Windows:
- Open Command Prompt, type
cd path\to\importerand hit enter. - Now do the same for
java -jar xAuthImporter.jarto begin the import process.
- Open Command Prompt, type
-
Linux:
- Navigate to the directory xAuthImporter.jar is located in.
- Execute
java -jar xAuthImporter.jarto begin the import process.
-
Windows:
- If no errors are shown, your import should have finished successfully.
- Download the latest version of xAuth, configure the included configuration file, and start your server so the MySQL tables are generated. Stop the server now.
- Download the H2 importer [here] (http://bit.ly/zs7Btd) and extract all included files into the same directory.
- Configure the importer.properties file included in the importer to accurately reflect your old and new xAuth configurations.
- Place your xAuth.h2.db file in the same directory as the importer.
- Run the importer:
-
Windows:
- Open Command Prompt, type
cd path\to\importerand hit enter. - Now do the same for
java -jar xAuthImporter.jarto begin the import process.
- Open Command Prompt, type
-
Linux:
- Navigate to the directory xAuthImporter.jar is located in.
- Execute
java -jar xAuthImporter.jarto begin the import process.
-
Windows:
- If no errors are shown, your import should have finished successfully.
- Rename the accounts and sessions tables in your current database to anything other than what the new tables will be named.
- Download the latest version of xAuth, configure the included configuration file, and start your server so the MySQL tables are generated. Stop the server now.
- Download the MySQL importer [here] (http://bit.ly/Am1jJ6) and extract all included files into the same directory.
- Configure the importer.properties file included in the importer to accurately reflect your old and new xAuth configurations.
- Run the importer:
-
Windows:
- Open Command Prompt, type
cd path\to\importerand hit enter. - Now do the same for
java -jar xAuthImporter.jarto begin the import process.
- Open Command Prompt, type
-
Linux:
- Navigate to the directory xAuthImporter.jar is located in.
- Execute
java -jar xAuthImporter.jarto begin the import process.
-
Windows:
- If no errors are shown, your import should have finished successfully.