Set up MySQL Workbench on your computer

1. Download and install MySQL Workbench on your computer.

To install MySQL, go to https://dev.mysql.com/downloads/ and install the latest version for Mac, Windows or Linux. To install MySQL Workbench go to https://dev.mysql.com/downloads/workbench/ and install the latest version for Mac, Windows or Linux. Click on the executable file and follow the default settings to complete the installation of MySQL and MySQL Workbench.

2. Set up MySQL Workbench to connect to the Amazon RDS database using the connection credentials.

Open MySQL Workbench on your computer. Click on the + icon to set up a new connection. In the New Connection window, enter: Connection Name: A descriptive name for the connection. Hostname: 127.0.0.1 for a local database, or the URL of an external database: for example, hg21k8gff.aws.amazon.com. Port: 3306 Username: username for the database admin account that you created when setting up the database. Password: password for the database admin account. Default Schema: Leave blank or if you know the schema name, enter it here. Click on Test Connection to verify the details entered are correct. You should see a success message.

3. Create a new schema (database) that can be used to create tables and database objects to store and retrieve data.

Once you have successfully tested the connection, click on Connect to launch the MySQL Workbench. Open the Editor and enter the create database command. Give the database any name you prefer. CREATE DATABASE mynewdb; Under the SCHEMAS menu on the side menu bar, your new database should be visible. If you do not see the database, click on the refresh icon.

4. Create objects like tables within your new database, using the MySQL Workbench visual tool.

Common objects are tables, views, stored procedures and functions. Click on the > icon to expand the database objects view. To create a table, right-click on Tables and select Create Tableā€¦. Similarly, you can create views, stored procedures or functions.

5. Set up your preferred layouts, text fonts and accessibility of visual editor tabs in the Settings window.

Click on MySQLWorkbench > Preferences in the menu bar. Set your coding and editor preferences.