Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

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.

Hosting Requirements /

What you need to consider when choosing a hosting provider and plan.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

TestRunner on Dreamhost


Go to End


3 Posts   1972 Views

Avatar
jahbini

Community Member, 13 Posts

14 June 2010 at 4:53am


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?

Avatar
bennettpr

Community Member, 37 Posts

14 June 2010 at 9:16am

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

Avatar
jahbini

Community Member, 13 Posts

14 June 2010 at 4:32pm

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.