Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

DB access for users that need to create test DBs #5

Description

@dhensby

SilverStripe specifically will create temporary databases for the TestRunner for running unit tests.

These are in the format of [prefix]tmpdb[rand_number]. If no prefix is specified for the site, it'll use ss_

Therefore, adding permissions for the DB user to have access to %tmpdb% would be helpful.

GRANT CREATE, DROP ON `%tmpdb%`.* TO 'user'@'%';

Edit: And DROP permission, of course, to clean up after itself.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions