[solved] RelStorage with MySQL on Plone 6

Update

I use a config.yaml file and now, the relstorage options with the database connection options are in the zope.conf available:

cookiecutter -f --no-input --config-file config.yaml https://github.com/plone/cookiecutter-zope-instance

default_context:
  initial_user_name: "admin"
  initial_user_password: "admin"

  target: "./instance"

  load_zcml:
    package_includes: []

  db_storage: relstorage
  db_relstorage: mysql
  db_blobs_mode: "cache"
  db_relstorage_keep_history: false
  db_relstorage_mysql_parameters:
    host: localhost
    user: zodbuser
    passwd: secret
    db: zodb

  debug_mode: true

Amazing!

1 Like