- 1 Minute to read
- 1 Minute to read
This is a step-by-step tutorial for creating a MariaDB connection.
You must first set up your database credentials in MariaDB before you can connect to your MariaDB database.
Define your MariaDB connection
- In Rivery’s main menu, Go to Connections->Create Connection, or create your new connection in the source, pressing Create New Connection in the Rivers wizard.
- In the pop-out window, define your credential details: Please be advised about whitelisting Rivery's IPs on your Database Firewall.
Please note - In the EU server there are 4 IPs to whitelist in the Database Firewall:
- Define your Host, Port, Database, Username, and Password.
In addition to providing your username and password, you can also connect to MariaDB by using an SSL pem file. You have the option to upload the file in the corresponding section.
Using SSH Tunneling in order of connecting your On-Premise database server with Rivery
Using a hybrid method of data processing, Rivery can connect to on-prem servers. We recommend the use of an SSH Tunneling Method.
To use the SSH Tunneling via Rivery, please configure your SSH Tunnel server in your network. This server will have the ability to get SSH connections from Rivery IPs, and will be able to connect to your database server via the internal IP or address. Rivery connects to that SSH server using a private key.
After you've configured SSH tunneling, you can set it up in the Rivery Connection:
Under the SSH Options section, in the MariaDB Connection Pop-up, you can define the following:
- SSH Hostname
- SSH Port (in most of the connections, that should be 22)
- The Username Rivery should connect via the SSH to the server
- Password (optional)
- SSH Pem Key (Recommended)
- And if you have also a PemPassword for that key file.
Test the connection and Save.