# How to Install Appvance IQ results database in Amazon MySQL RDS

## Setting parameter group

After creating a MySQL RDS database in Amazon AWS, you need to create a new parameter group by navigating to **RDS &gt; Parameter Groups &gt; Create parameter group**

After group is created, select Edit Parameters. The following values should be set:

<table id="bkmrk-parametervalue-log_b"><thead><tr><th>Parameter</th><th>Value</th></tr></thead><tbody><tr><td>log\_bin\_trust\_function\_creators</td><td>1</td></tr><tr><td>bulk\_insert\_buffer\_size</td><td>536870912</td></tr><tr><td>connect\_timeout</td><td>10</td></tr><tr><td>max\_allowed\_packet</td><td>104857600</td></tr><tr><td>max\_connections</td><td>500</td></tr><tr><td>max\_user\_connections</td><td>200</td></tr><tr><td>myisam\_use\_mmap</td><td>1</td></tr><tr><td>read\_buffer\_size</td><td>524288</td></tr><tr><td>validate\_password</td><td>OFF</td></tr><tr><td>wait\_timeout</td><td>1080 *(AIQ-6619)*</td></tr></tbody></table>

## Assign the new parameter group to your database

After creating the new parameter group, assign it to the database and reboot it.

Then connect to the MySQL database using the admin credentials and execute **MySQLInitial.sql** and then **MySQLAppvance.sql**. No error should be visible in the execution. If an error happens, review the error message.

**Error Code: 1419.** You do not have the SUPER privilege and binary logging is enabled

If you get this error while running `MySQLAppvance.sql` on AWS RDS, make sure that the RDS parameter group has the value `1 (ON)` for `log_bin_trust_function_creators`. The RDS database MUST be rebooted for parameter changes to take effect.