Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 624 Bytes

Setup:-MySQL.md

File metadata and controls

14 lines (11 loc) · 624 Bytes

This applies to Rancher 1.6 only!

By default Rancher.io launches using an embedded H2 database. This is for simplicity as this approach is sufficient for small deployments of Rancher. To switch to MySQL the following [[Settings|https://github.com/rancher/rancher/wiki/Setup:-Settings]] must be set.

db.cattle.database=mysql
db.cattle.username=cattle
db.cattle.password=cattle
db.cattle.mysql.host=localhost
db.cattle.mysql.port=3306
db.cattle.mysql.name=cattle

All values above are the defaults except db.cattle.database. If the defaults are fine, then all you need to set is db.cattle.database=mysql.