Uploading csv file error

I encounter the below error, when I try to upload a .csv file into my collection.

Error executing write query: ERROR: cannot execute CREATE TABLE in a read-only transaction

Hey absoliman

Do you know if the account used to connect to the database has write access?

To upload data to Metabase, an admin will need to connect your Metabase to a database that supports uploads using a database user account that has write access to that database.