Amazon Aurora is a global-scale relational database service built for the cloud with full MySQL and PostgreSQL compatibility.
QStudio is a free SQL Client, it allows running SQL scripts, easy browsing of tables, charting and exporting of results. It works on every operating system, with every database including Aurora-MySQL.

Setting up a Aurora-MySQL connection in QStudio

Start Aurora-MySQL

Aurora-MySQL is available on AWS Cloud. Simply start a small service in your chosen region. The connection details should be provided, similar to shown:

  • Engine type: Aurora MySQL Compatible
  • Public access: Yes
  • VPN: With access permitted from our IP address.
Aurora-MySQL Console Aurora-MySQL Console

Connecting to a Server

Aurora-MySQL is MySQL compatible, QStudio includes MySQL drivers, for this demo we will use the MySQL driver.

When you first open QStudio click on the menu options Server->Add Server or on the add server button on the toolbar.
Then set the details:

  1. Server Type: MySQL
  2. Host: database-1-instance-1.ctayqjdfp8vl.eu-west-1.rds.amazonaws.com
    Port: 3306
  3. Username: admin
    Password: XXXXXXXXXXX
  4. Click Add

Add Aurora-MySQL Connection

Sending Queries

You can run queries by highlighting selected code and pressing Ctrl + e to run that code. See Keyboard Shortcuts.

CommandShortcut
Run current statement Ctrl + q
Run highlighted text Ctrl + e
Run Line Ctrl + Enter

This will update your various results panels, result contains your table (excel export etc. supported), charts are generated based on your data and the console summarizes your recent commands

Run Aurora-MySQL Select

Well Done!

You have now got QStudio querying your database successfully.

We want to make QStudio the best SQL analysis tool. If you have any problems or want additional features, please post on our github repo.