Prerequisites
- A MariaDB database (version 10.2 or later recommended) that is accessible over the network
- The database host, port, name, username, and password
- A VexiData account
Connect MariaDB to VexiData
1
Gather your connection details
You need five pieces of information to connect. If you set up MariaDB yourself, you’ll already know these. If someone else manages the database, ask your database administrator.
2
Allow VexiData through your firewall (if applicable)
If your MariaDB server is behind a firewall or only accepts connections from specific IPs, add VexiData’s IP address:
143.244.204.118
- Cloud VMs (AWS EC2, DigitalOcean Droplets, GCP Compute) — Security Groups or firewall rules
- Self-hosted servers — Your OS firewall (e.g.,
ufw,iptables) - Managed databases — See the provider-specific guides linked above
VexiData connects directly over TCP and has no SSH tunnel option, so the database must be reachable from the internet. The form rejects
localhost, 127.0.0.1, 0.0.0.0, and ::1.3
Verify MariaDB accepts remote connections
By default, MariaDB may only listen on If the
localhost. If your database is on a remote server, make sure it’s configured to accept external connections:- In your MariaDB configuration file (
my.cnformy.ini), set:
- Restart MariaDB for the change to take effect.
-
Verify your MariaDB user is allowed to connect from remote hosts. Users created with
'localhost'can only connect locally:
host column shows localhost or 127.0.0.1, you’ll need to create a user that allows remote access (see the read-only user section below).Managed database services (AWS RDS, Aiven, etc.) handle this automatically. You only need this step for self-hosted MariaDB.
4
Add the connection in VexiData
- Go to Integrations in VexiData
- Under Databases, click Connect on the MariaDB card
- Fill in the details:
5
Test and save
Click Test & Save Connection. VexiData checks that it can reach your database, saves the connection, and starts analyzing your schema. To check the details without saving, click Test Connection.
Creating a read-only user (recommended)
For security, we recommend connecting VexiData with a dedicated read-only user instead of your admin or application user. This ensures VexiData can only read data, never modify it.Troubleshooting
Connection timed out
Connection timed out
This means VexiData can’t reach your server. Check:
- Your firewall allows inbound connections on port
3306from VexiData’s IP bind-addressin your MariaDB config is set to0.0.0.0(not127.0.0.1)- Your server has a public IP or hostname that resolves correctly
- If on a cloud VM, the Security Group / firewall rules allow traffic on port
3306
Authentication failed
Authentication failed
- Verify the username and password are correct
- Check that the MariaDB user allows connections from remote hosts. Run
SELECT user, host FROM mysql.user;to see allowed hosts — if it showslocalhost, the user can’t connect remotely - Create a user with
'%'as the host to allow connections from any IP:CREATE USER 'user'@'%' IDENTIFIED BY 'password';
Access denied for database
Access denied for database
- The MariaDB user might not have permissions on the specified database. Grant access with:
GRANT SELECT ON your_database.* TO 'user'@'%'; - Run
SHOW GRANTS FOR 'your_user'@'%';to verify current permissions
No tables visible after connecting
No tables visible after connecting
- Check that your user has
SELECTpermissions on the tables in the database - Verify you entered the correct database name — MariaDB database names are case-sensitive on Linux
- Run
SHOW TABLES;in the MariaDB CLI to confirm tables exist in the database
SSL connection errors
SSL connection errors
- A test that fails with Database requires SSL connection. means the server only accepts encrypted connections
- For self-hosted servers, ensure MariaDB SSL is properly configured with valid certificates
- Check that
require_secure_transportis set correctly in your MariaDB config