Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:1100_inst_guide:0350_db_integration [2022/08/18 12:28] – ↷ Page moved from documentation:1100_inst_guide:0350_db_integration to docs:1100_inst_guide:0350_db_integration administrator | docs:1100_inst_guide:0350_db_integration [2025/06/12 02:31] (current) – aware_support3 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ====== Database integration ====== | ====== Database integration ====== | ||
| - | //**Aware IM**// requires database software to function correctly. At the moment //**Aware IM**// is compatible with the Apache Derby, MySQL, Microsoft SQL Server/ | + | //**AwareIM**// requires database software to function correctly. At the moment //**AwareIM**// is compatible with the Apache Derby, MySQL, Microsoft SQL Server/ |
| - | Apache Derby is included in //**Aware IM**// and does not require any additional integration. | + | Apache Derby is included in //**AwareIM**// and does not require any additional integration. |
| - | Integrating //Aware IM// with MySQL database | + | {{simplenavi> |
| - | If you do not have MySQL database software you can download one free of charge from the MySQL web site at [[https:// | ||
| - | |||
| - | - Start the Aware IM Control Panel | ||
| - | - Select the Settings/ | ||
| - | - Enter credentials of the MySQL account. Note that the account you specify here must have root user privileges, otherwise Aware IM will not work | ||
| - | - Specify MySQL server name and the port number where MySQL listens to requests (if these are different from the default values) | ||
| - | - Click OK and restart Aware IM | ||
| - | |||
| - | |||
| - | |||
| - | If you installed Aware IM as Windows service you can perform database integration manually without using the Aware IM Control Panel. To do this: | ||
| - | |||
| - | |||
| - | - Delete the default '' | ||
| - | - Rename the file '' | ||
| - | - Use any text editor to change server name, port and root user credentials to the following lines in the '' | ||
| - | |||
| - | < | ||
| - | DriverURL=jdbc: | ||
| - | DriverTestURL=jdbc: | ||
| - | BootstrapURL=jdbc: | ||
| - | </ | ||
| - | |||
| - | ===== Integrating Aware IM with MS SQL Server database ===== | ||
| - | |||
| - | |||
| - | If you do not have MS SQL Server database software you can download the free version (SQL Server Express) from the Microsoft web site. Make sure that MS SQL Server or SQL Server Express is running and perform the integration steps described below. | ||
| - | |||
| - | <note important> | ||
| - | |||
| - | - Make sure that your MS SQL Server database is configured to use TCP/IP protocol – please refer to the MS SQL Server manual for details. | ||
| - | - Start the Aware IM Control Panel | ||
| - | - Select the Settings/ | ||
| - | - Enter credentials of the SQL Server account. | ||
| - | - Specify SQL server name and the port number where SQL Server listens to requests (if these are different from the default values) | ||
| - | - Click OK and restart Aware IM | ||
| - | |||
| - | |||
| - | |||
| - | If you installed Aware IM as Windows service you can perform database integration manually without using the Aware IM Control Panel. To do this: | ||
| - | |||
| - | |||
| - | |||
| - | - Delete the default '' | ||
| - | - Rename the file '' | ||
| - | - Use any text editor to modify the following lines in the '' | ||
| - | |||
| - | < | ||
| - | DriverURL=jdbc: | ||
| - | DriverTestURL=jdbc: | ||
| - | BootstrapURL=jdbc: | ||
| - | DriverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver | ||
| - | DatabaseComponent=com.bas.basserver.persistence.dbplugins.MSSQLServerInterface | ||
| - | </ | ||
| - | |||
| - | |||
| - | Change values for '' | ||
| - | |||
| - | |||
| - | |||
| - | If you are running a specific instance of the SQL Server configure this instance to listen on a particular TCP/IP port and specify this port in the URL above | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ==== Troubleshooting MS SQL Server database integration. ==== | ||
| - | |||
| - | ^Cause of failure | ||
| - | |Aware IM fails to authenticate with MS SQL Server. | ||
| - | |Aware IM cannot connect to the MSQL Server through the default TCP/IP port|1. Check that SQL Server is configured to use TCP/IP. Restart the SQL Server service after you make the changes.\\ \\ 2. If SQL Server is listening for connections on a different port than the default port 1433, specify this port number in the BASServer.props file after '' | ||
| - | |||
| - | If //**Aware IM**// does not start it could be for reasons described in the following table (which also suggests what to do): | ||
| - | |||
| - | |||
| - | ==== Integrating Aware IM with Oracle database ==== | ||
| - | |||
| - | |||
| - | IMPORTANT: Support for Oracle database is optional in //**Aware IM**//. Before integrating this database with Aware IM make sure that this option is available in your Aware IM edition. | ||
| - | |||
| - | |||
| - | You need to install Oracle database prior to using //**Aware IM**// as it is not included in the Aware IM installation. Before you can start using Aware IM with the Oracle database make sure you do the following: | ||
| - | |||
| - | |||
| - | - //**Aware IM**// manages two databases named '' | ||
| - | - Perform the steps to setup Aware IM connection with the Oracle database using the Aware IM Control Panel in a similar way as for MySQL or SQL Server databases described above. Or if Aware IM is installed as a service, perform manual integration in a similar fashion as described for MySQL and SQL Server databases. | ||
| - | |||
| - | |||
| - | |||
| - | ==== Integrating Aware IM with Microsoft Azure, Maria DB and PostgreSQL databases ==== | ||
| - | |||
| - | |||
| - | Integration with these databases is very similar to the one described for MySQL or SQL Server databases. When integrating using the Aware IM Control Panel, make sure that you select the corresponding database engine and enter the required values for the database server. If integrating manually, make sure that you rename the appropriate '' | ||