Code Monkey home page Code Monkey logo

aivenapplication's Introduction

Create new MySQL Service using Aiven

Getting started

  1. Click on the “Create new service” button on the top right as shown in the picture below.

Stormtroopocat

  1. Select Your Service from the list of Aiven Service by clicking on the “MySQL” option as shown in the picture below.

Stormtroopocat

  1. Then select the suitable Service Cloud Provider , Service Cloud Region, Service Plan, and Disk Space. Then give your service a name. In the example we will be creating we will use the default suggestions, except the service plan, we will choose the "Hobbyist" plan.

  2. Click on the "Create" button

Now, you will be redirected to your current services page, where you will find your list of Databases, including the one we just created!

The new Database will start building, and when it is ready it will show its status as "Running" in green as shown in the picture below.

Very easy! Stormtroopocat

Connect the new service to your local database design tool

Well, now we need to connect our database to the tool that we will be using to design it. There are many tools that we can use, in this example we'll be using MySQL Workbench.

If you would like to install MySQL Workbench, please click here and follow the installation steps!

  1. We first need to define the parameters by setting up a new connection, by clicking on the plus sign as shown in the picture below.

Stormtroopocat

  1. Go to your database service on Aiven and copy the corresponding parameters' values into Workbench, and give a name to your Connection as shown in the pictures

Stormtroopocat Stormtroopocat

  1. Download the "CA Certificate" and attach it to the "SSL CA File" under the SSL section in Workbench as in the picture below

Stormtroopocat

  1. Test your Database connection by clicking on the "Test Connection" button

  2. When the connection is successful as in the picture shown below, click the "Ok" button

Stormtroopocat

Now you are ready to start the fun part! 😎

Create Database Tables

  1. Now, we will test our Database by creating a small example of 2 tables, adding some records, and then observe our Aiven application!

  2. In this example, we will create a "Persons" table and "Cats" table from Workbench, as shown in the picture. Stormtroopocat

  3. Then we created 1 instance of Persons and 2 instances of cats

Stormtroopocat

  1. Next, you can check your Aiven service, you will find different views that show information about your database, for example, you can check the logs and the Query statistics as shown below Stormtroopocat Stormtroopocat Stormtroopocat

Now, you are ready to work with MyDQL on the Aiven platform!

aivenapplication's People

Contributors

madeleine92 avatar

Watchers

 avatar

aivenapplication's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.