Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Here is some brief documentation for how to run the scripts for MySQL:

{{
$ mysql -p -u DB_USER_NAME DATABASE_NAME
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 123456 to server version: 4.1.22

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> source SAKAIADMINX-SRC/sql/mysql-sakaiadminx-v1.0.sql
Query OK, 0 rows affected (0.20 sec)

...

Query OK, 0 rows affected (0.01 sec)
Records: 0 Duplicates: 0 Warnings: 0

mysql> source SAKAIADMINX-SRC/sql/mysql-sakaiadminx-upgrade-1.0-1.1.sql
Query OK, 0 rows affected (0.03 sec)
Records: 0 Duplicates: 0 Warnings: 0

...

Query OK, 1 row affected (0.00 sec)

mysql> exit
Bye
}}

NOTE: You can also use the combined script instead of the creation then upgrade script.

Thanks to Alan Hoyle (alanh@unc.edu) for this information.