Executing custom SQL statements on the database can result in data loss or corruption. Run this procedure only when requested to do so by X-Formation Support. |
To avoid data loss or corruption, we recommend that you always back up your database before performing any operations on the database. |
In rare cases, X-Formation Support may ask you to run a custom SQL script to fix problems with the database.
If you are using an embedded MySQL database, you can run a custom SQL script using the following procedure:
For Windows:
cd C:\Program Files\X-Formation\License Statistics\mysql |
For Linux:
cd /usr/xflicstat/mysql |
For Windows:
mysql_start.bat |
For Linux:
sh mysql_start.sh |
For Windows:
mysql.exe -hlocalhost -uroot xformation_licstat < [download_file_directory]\script.sql |
For Linux:
mysql -h127.0.0.1 -uroot xformation_licstat < [download_file_directory]/script.sql |
For Windows:
mysql_stop.bat |
For Linux:
sh mysql_stop.sh |
If you are using an external database (recommended), you need to perform the same steps as described above for an embedded database (except steps 5 and 7), with paths and credentials adjusted for your environment.