Using the --prefix switch allows you to identify individual installations. This can help avoid confusion when running multiple instances on the same server, or if you need to move or reinstall the client.
The chartio_setup wizard will walk you through setting up a readonly user, connecting to Chartio, and then give you a link to visit your Dashboard and see some Charts being automatically generated.
Don't have pip but have easy_install?
If you don't have pip but have easy_install, you can alternatively run the following:
B. Download the Chartio Connection Client source here, and follow the installation instructions as described there.
If your PostgreSQL database is hosted on Amazon RDS, Heroku or another hosting service that does not allow shell access to the database instances, you won't be able to use the Connection Client and will instead need to connect directly. If your database is on Amazon RDS, please visit the RDS setup documentation to first enable Chartio to your security group before following these steps.
In the top navigation menu, click Settings, then select Data Sources from the dropdown.
At the top of your data sources list, click +New Data Source.
Choose PostgreSQL to connect your PostgreSQL database.
You'll be redirected to a form to enter your database connection information.
To connect to PostgreSQL, Chartio needs the following information:
Hostname or IP - the Hostname or IP address of the server your database is hosted on
Database Port - the port that the database is listening to (default: 5432)
Database Name - the name of the database you're connecting
Database Username - the name of a preferably read-only user to your database
Database Password - the password for the read-only user
If you have issues connecting with Chartio, the exact PostgreSQL or connection errors should be displayed for you as form errors when submitting. If you are unclear on what the error messages mean or how to fix them, do not hesitate to email us at email@example.com.
If you have already established a database connection but something is going wrong, please read our documentation on database connection debugging.