Skip to main content
This guide explains how to connect to MySQL databases with Oxygen. MySQL is one of the world’s most popular open-source relational database management systems.

Configuration Options

Add your MySQL configuration to config.yml. Here are all available parameters:

Example Configurations

1

Prepare password environment variable

Export the environment variable:
Or put it in .env file:
2

Add MySQL configuration

Troubleshooting

  • Verify MySQL server is running: mysqladmin ping
  • Check connectivity: mysql -h hostname -u username -p
  • Common ports: 3306 (default), 33060 (X Protocol)
  • Ensure user has proper permissions: SHOW GRANTS