Amazon RDS MySQL DatabaseΒΆ

In this article, we are going to show how to connect to the Amazon RDS MySQL instance with dolphinNext for MySQL.

  1. Open Amazon RDS console: First of all, sign in to the AWS Management Console and find RDS in the Database section of All Services and click to open the Amazon RDS Console.
  1. Create an Amazon MySQL instance: Go to Databases on the side menu and click Create database. In this step, you will need to pick a database creation method, configure engine options, and select a database version. Afterwards, choose the MySQL engine and select the version.
  1. Select a template: Next, you will need to select a sample template for your MySQL instance on Amazon RDS.
  1. Provide settings for your MySQL database on AWS: Pleade provide a unique name for your instance and master username and password which will be used in DolphinNext configuration.
  1. Continue configuring your MySQL instance: Next, define instance size and storage options.
  1. Define connectivity options: Please provide the necessary connectivity configurations for your MySQL instance.
  1. Define advanced settings: Here you can enable database backup, enhanced monitoring, and maintenance.
  1. Launch MySQL instance on AWS: After you have defined all the settings, you can finally click Launch DB Instance.

As soon as the instance process is finished (it might take some time), you will be able to check the status, together with some other configuration information in the corresponding window as shown on the screenshot.

To view the details of your MySQL instance, click the database instance name. Check the details and click Create database to finalize the process.

  1. Connecting DolphinNext to an Amazon RDS MySQL database: Lets open main DolphinNext configuration file (located here: dolphinnext/config/.sec) and enter following information to establish our connection:

  • DB: Database name.
  • DBUSER: Name for a database user.
  • DBPASS: Password for a database user.
  • DBHOST: RDS MySQL Server Hostname.
  • DBPORT: RDS MySQL Server Port.