If your database is on Amazon RDS, please visit the RDS setup documentation to first enable Chartio in your security groups before following these steps.

Check out our step-by-step video showing how to connect your MySQL database to Chartio:

MySQL read-only user

Chartio requires a read-only user for connecting to your database. Here is a sample GRANT statement for creating a read-only user:

ON $database_name.*
TO $user@`` IDENTIFIED BY '$password';

$database_name, $user, and $password are described in the Chartio connection form. Copy this command and paste it into a MySQL shell to create the user. This will grant the user read-only access to ALL tables in your database. If you would like to restrict access to only certain tables in your database, check out our Data Tutorial on granting MySQL table and column permissions.

MySQL SSL connection

Instructions on creating a certificate and SSL connection can be found in the MySQL SSL connection documentation.