Database Connections

Database connections ..

Workshop - Database Connections


Create a new Transformation

Any one of these actions opens a new Transformation tab for you to begin designing your transformation.

  • By clicking File > New > Transformation

  • By using the CTRL-N hot key

Database Connections

DBeaver

Usually you start working with a database by creating a connection to it. The tool you will be using is DBeaver CE; which helps you quickly to create connections to various databases, as the drivers are shipped with the product.

Once you have a database connection you can search for database objects in the Database Navigator, or use the search tools to find specific objects, or compare databases and their contents. You can also edit data and import and export data, and you can create reports about the database and objects in it.

MySQL Database

If you have completed the Setup requirements, then you should have a MySQL Docker container, exposed on port:3306 with sampledata databse.

  1. Launch DBeaver and Select: MySQL.

MySQL
  1. Configure the connection with the following properties:

Username: root

Password: password

Configure & Test MySQL connection - sampledata
Enable: allowPublicKeyRetrieval
  1. Test the connection.

Test connection
  1. Expand: databases > sampledata > Tables

Customer Data
  1. Open a SQL window and run a test query.

select * from CUSTOMERS
where COUNTRY = 'USA' and CITY = 'NYC';
Sql query - NYC Customers

Last updated

Was this helpful?