MySQL
Connect a MySQL database to trend with a SELECT-only user.
trend connects to MySQL 5.7+ and MariaDB over the standard wire protocol.
Recommended user setup
CREATE USER 'trend_readonly'@'%' IDENTIFIED BY 'choose-a-strong-password';
GRANT SELECT ON your_db.* TO 'trend_readonly'@'%';
FLUSH PRIVILEGES;
If you need to restrict the host the connection can come from, replace '%' with the IP or hostname of the trend deployment.
Adding the connection
Connections → New connection → MySQL. Enter host, port (3306), database, user, password, and SSL preference. Test connection runs the read-only probe and surfaces the green badge on success.