An open-source relational database management system.
When you deploy the MySQL service, Zeabur will automatically inject the relevant environment variables into other services.
MYSQL_HOST
: The hostname of the MySQL service.MYSQL_PORT
: The port of the MySQL service.MYSQL_USERNAME
: The username for the MySQL service.MYSQL_PASSWORD
: The password for the MySQL service.MYSQL_DATABASE
: The default database name for the MySQL service.MYSQL_URI
or MYSQL_CONNECTION_STRING
: The connection string for the MySQL service.Zeabur offers an automatic backup feature for MySQL. However, you must restore the backup manually. Follow the steps below to restore your backup:
<Command to connect to your MySQL> < data.sql