Jump to:

23483 Posts in 18976 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Problem with automated testing on Cpanel / WHM

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 413 Views
  • tfliam
    Avatar
    Community Member
    20 Posts

    Problem with automated testing on Cpanel / WHM Link to this post

    I'm trying to setup automated testing on Silverstripe! in CPanel/WHM. When I ran any of the test in url (for my case it is DOMAIN/dev/tests/AggregateTest), it says

    Fatal error: Couldn't run query: CREATE DATABASE tmpdb2605857 Access denied for user 'todaytes_root'@'localhost' to database 'tmpdb2605857' in /home/todaytes/public_html/sapphire/core/model/MySQLDatabase.php on line 525

    Silverstripe will create a random-named database every time the test executed and destroy it after the test finished.

    From the "databases" menu in cPanel/WHM, I am only allowed to add database and user manually with some prefix name for it (in my case, all my database and user start with todaytes_). How do I configure cPanel/WHM to give permission to the user so that Silverstripe Automated Test could work fine?

    Or is there any other solution on this?

  • tfliam
    Avatar
    Community Member
    20 Posts

    Re: Problem with automated testing on Cpanel / WHM Link to this post

    Hi... I really need to get automated testing setup on my site... anyone could offer help?

    413 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.