Connecting to your database
MariaDB credentials, remote access, and a sane backup workflow.
3 min read
Every shared plan ships with a MariaDB 11 instance accessible from within your account. By default, remote access from the public internet is off; this is a security default, not a bug.
Credentials are visible in the dashboard under Apps → your-app → Database. Username, password, host, port, and database name all live there. For internal access (PHP, SSH session inside your account), use 127.0.0.1 with the credentials shown.
To enable remote access, go to Apps → Database → Remote access and add the IP range you want to allow (CIDR notation). We strongly recommend allowlisting specific IPs rather than 0.0.0.0/0; we'll warn you in the UI if you try to do the latter.
For backups: daily automated backups are included on Pro+. Manual on-demand backups can be triggered from the dashboard and downloaded as a `.sql.gz` file. For larger sites, `mysqldump --single-transaction` over SSH is the same workflow you'd use on any managed MySQL service.
Importing data is the reverse: `mysql -u … < dump.sql` through SSH. We don't impose import-time limits on Pro and above; the Basic plan has a 200 MB single-statement limit.