The Testrunner script crashes at the MySQL call to create the DB since Dreamhost has turned off the permission for the MySQL "CREATE" command.
Does anybody know of a workaround?
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
The Testrunner script crashes at the MySQL call to create the DB since Dreamhost has turned off the permission for the MySQL "CREATE" command.
Does anybody know of a workaround?
Hi Jahbini,
Not a workaround as such - most shared hosts lock down MySQL permissions to limit the amount of databases a user can create and to isolate users to having access only to their own databases. Obviously if a script or site gets hacked it's a bad idea to be running a site on a MySQL user account which has a high privilege level.
The best workaround is set up a webserver on your development machine (using something like WAMP server or XAMPP) to run the tests locally.
Regards,
Paul
Thanks for the suggestion, but that's an option that we have decided against, as all testing needs to be done on an environment that closely matches a dreamhost PS.
Too many side-effects in changing the environment radically.