Jump to:

556 Posts in 3241 Topics by 243 members

Hosting Requirements

SilverStripe Forums » Hosting Requirements » TestRunner on Dreamhost

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

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

Page: 1
Go to End
Author Topic: 927 Views
  • jahbini
    Avatar
    Community Member
    13 Posts

    TestRunner on Dreamhost Link to this post

    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?

  • bennettpr
    Avatar
    Community Member
    37 Posts

    Re: TestRunner on Dreamhost Link to this post

    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

  • jahbini
    Avatar
    Community Member
    13 Posts

    Re: TestRunner on Dreamhost Link to this post

    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.

    927 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.