forked from CypherX/xAuth
-
Notifications
You must be signed in to change notification settings - Fork 21
Upgrading
CypherX edited this page Mar 18, 2012
·
9 revisions
This page explains how to upgrade to xAuth 2.0 from older versions.
- Download, install, and configure MySQL. Create a MySQL database of xAuth.
- Delete the old xAuth plugin, config.yml, and strings.yml files.
- 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 to MySQL importer [here] (http://dl.dropbox.com/u/24661378/Bukkit/xAuth/Importer/xAuthImporter%20%28FlatFile%20to%20MySQL%29.zip) 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\importer(replace path\to\importer with the actual path on your computer) and 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.
- Delete the old xAuth plugin, config.yml, messages.yml, and DBVERSION files.
- Rename xAuth.h2.db to xAuth_old.h2.db.
- Download the latest version of xAuth, configure the included configuration file, and start your server so the H2 database is generated. Stop the server now.
- Download the H2 to H2 importer [here] (http://dl.dropbox.com/u/24661378/Bukkit/xAuth/Importer/xAuthImporter%20%28H2%20to%20H2%29.zip) and extract all included files into the same directory.
- Configure the importer.properties file included in the importer to accurately reflect your old xAuth configuration.
- Place xAuth_old.h2.db and xAuth.h2.db in the same directory as the importer.
- Run the importer:
-
Windows:
- Open Command Prompt, type
cd path\to\importer(replace path\to\importer with the actual path on your computer) and 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.
- Move xAuth.h2.db into your xAuth plugins folder.
- Download, install, and configure MySQL. Create a MySQL database of xAuth.
- Delete the old xAuth plugin, config.yml, messages.yml, and DBVERSION files.
- 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 to MySQL importer [here] (http://dl.dropbox.com/u/24661378/Bukkit/xAuth/Importer/xAuthImporter%20%28H2%20to%20MySQL%29.zip) 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 the xAuth.h2.db file in the same directory as the importer.
- Run the importer:
-
Windows:
- Open Command Prompt, type
cd path\to\importer(replace path\to\importer with the actual path on your computer) and 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.
- Delete the old xAuth plugin, config.yml, messages.yml, and DBVERSION files.
- Rename the accounts and sessions tables in the database used by xAuth 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 to MySQL importer [here] (http://dl.dropbox.com/u/24661378/Bukkit/xAuth/Importer/xAuthImporter%20%28MySQL%20to%20MySQL%29.zip) 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\importer(replace path\to\importer with the actual path on your computer) and 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.