Pre-existing User Data
The following scenarios display what happens to pre-existing User Data in a Connect upgrade.
Note: In regards to the MySQL (Connect version 2021.2 and earlier) or MariaDB (Connect version 2022.1 onwards) entries: these are only applicable if the OL Connect database component was installed in a previous Connect installation.
Scenario 1: Upgrading from Connect 2021.2 or earlier with Remove User Data CHECKED
- 
                                                        
In all cases:
- 
                                                                
Files and folders are removed from the user data folder C:\Users\<connectUser>\Connect , where <connectUser> is the user that installed OL Connect.
 - 
                                                                
Files and folders are removed from the following data folders:
- 
                                                                        
C:\ProgramData\Objectif Lune\OL Connect\.settings
 - 
                                                                        
C:\ProgramData\Objectif Lune\OL Connect\CloudLicense
 - 
                                                                        
C:\ProgramData\Objectif Lune\OL Connect\ErrorLogs
 - 
                                                                        
C:\ProgramData\Objectif Lune\OL Connect\LiquibaseUpdate
 
 - 
                                                                        
 - 
                                                                
Files are removed from the root of the data folder C:\ProgramData\Objectif Lune\OL Connect\.
If the folder is empty following this (i.e. no license or user folders were present) then the C:\ProgramData\Objectif Lune\OL Connect\ folder itself is removed. - 
                                                                
License files as well as any content not listed above but found in the C:\ProgramData\Objectif Lune\OL Connect\ folder remain untouched.
 
 - 
                                                                
 - 
                                                        
Additional cases:
- 
                                                                
If MySQL was previously installed as an OL Connect component AND the database contains some user-defined schemas:
- 
                                                                        
The native OL Connect schema is removed from the MySQL database.
 - 
                                                                        
The MySQL database files (C:\ProgramData\Objectif Lune\OL Connect\MySQL) are kept intact, as user-defined schemas mean that the user did not have only the OL Connect native schema content in their database.
- 
                                                                                
A message at the end of the upgrade will advise the user that some non-OL schemas were found in the database, so the database files were not removed.
 
 - 
                                                                                
 
 - 
                                                                        
 - 
                                                                
If MySQL was previously installed as an OL Connect component AND the database does not contain any user-defined schemas:
- 
                                                                        
The MySQL database files (C:\ProgramData\Objectif Lune\OL Connect\MySQL) are removed entirely.
 
 - 
                                                                        
 
 - 
                                                                
 
Scenario 2: Upgrading from Connect 2021.2 or earlier with Remove User Data UNCHECKED
- 
                                                        
In all cases:
- 
                                                                
The user data folder C:\Users\<connectUser>\Connect (where <connectUser> is the user that installed OL Connect) is retained, untouched.
 - 
                                                                
All the files and folders under the data folder C:\ProgramData\Objectif Lune\OL Connect remain untouched.
 
 - 
                                                                
 
- 
                                                        
If MySQL was previously installed as an OL Connect component:
- 
                                                                
All schemas from the MySQL database are migrated to MariaDB, allowing the user to continue using their database content normally.
NOTE: This might take some time during the installation, depending upon the size of the existing databases. - 
                                                                
The MySQL database files (C:\ProgramData\Objectif Lune\OL Connect\MySQL) are also kept intact.
 
 - 
                                                                
 
Scenario 3: Uninstalling Connect 2022.1 or later with Remove User Data CHECKED
- 
                                                        
In all cases:
- 
                                                                
Files and folders are removed from the user data folder C:\Users\<connectUser>\Connect , where <connectUser> is the user that installed OL Connect.
 - 
                                                                
Files and folders are removed from the following data folders:
- 
                                                                        
C:\ProgramData\Objectif Lune\OL Connect\.settings
 - 
                                                                        
C:\ProgramData\Objectif Lune\OL Connect\CloudLicense
 - 
                                                                        
C:\ProgramData\Objectif Lune\OL Connect\ErrorLogs
 - 
                                                                        
C:\ProgramData\Objectif Lune\OL Connect\LiquibaseUpdate
 
 - 
                                                                        
 - 
                                                                
Files are removed from the root of the data folder C:\ProgramData\Objectif Lune\OL Connect\.
If the folder is empty following this (i.e. no license or user folders were present) then the C:\ProgramData\Objectif Lune\OL Connect\ folder itself is removed. - 
                                                                
License files as well as any content not listed above but found in the C:\ProgramData\Objectif Lune\OL Connect\ folder remain untouched.
 
 - 
                                                                
 - 
                                                        
Additional cases:
- 
                                                                
If MariaDB was previously installed as an OL Connect component AND the database contains some user-defined schemas:
- 
                                                                        
The native OL Connect schema is removed from the MariaDB database.
 - 
                                                                        
The MariaDB database files (C:\ProgramData\Objectif Lune\OL Connect\MariaDB) are kept intact, as user-defined schemas mean that the user did not have only the OL Connect native schema content in their database.
- 
                                                                                
A message at the end of the upgrade will be displayed, stating some non-OL schemas were found in the database, so the database files were not removed.
 
 - 
                                                                                
 
 - 
                                                                        
 - 
                                                                
If MariaDB was previously installed as an OL Connect component AND the database does not contain some user-defined schemas:
- 
                                                                        
The MariaDB database files (C:\ProgramData\Objectif Lune\OL Connect\MariaDB) are removed entirely.
 
 - 
                                                                        
 
 - 
                                                                
 
Scenario 4: Uninstalling Connect 2022.1 or later with Remove User Data UNCHECKED
- 
                                                        
In all cases:
- 
                                                                
The user data folder C:\Users\<connectUser>\Connect (where <connectUser> is the user that installed OL Connect) is retained, untouched.
 - 
                                                                
All the files and folders under the data folder C:\ProgramData\Objectif Lune\OL Connect remain untouched.
 
 - 
                                                                
 
- 
                                                        
If MariaDB was previously installed as an OL Connect component:
- All schemas from the MariaDB database are kept, allowing the user to use those database files if they reinstall the software.