Setting up the database; you will be returned to your site shortly....
Source
516 }
517
518 function databaseError($msg, $errorLevel = E_USER_ERROR) {
519 // try to extract and format query
520 if(preg_match('/Couldn\'t run query: ([^\|]*)\|\s*(.*)/', $msg, $matches)) {
521 $formatter = new SQLFormatter();
522 $msg = "Couldn't run query: \n" . $formatter->formatPlain($matches[1]) . "\n\n" . $matches[2];
523 }
524
525 user_error($msg, $errorLevel);
526 }
527
528 /**
529 * Return a boolean type-formatted string
530 *
531 * @param array $values Contains a tokenised list of info about this data type
Trace
- Couldn't run query:
CREATE DATABASE `mouseket_silverstripe`
Access denied for user 'mouseket_silvers'@'localhost' to database 'mouseket_silverstripe'
Line 525 of MySQLDatabase.php
- MySQLDatabase->databaseError(Couldn't run query: CREATE DATABASE `mouseket_silverstripe` | Access denied for user 'mouseket_silvers'@'localhost' to database 'mouseket_silverstripe',256)
Line 123 of MySQLDatabase.php
- MySQLDatabase->query(CREATE DATABASE `mouseket_silverstripe`)
Line 136 of MySQLDatabase.php
- MySQLDatabase->createDatabase(,mouseket_silvers,ZCRk1jEh9xJORGbl3,mouseket_silverstripe)
Line 205 of DB.php
- DB::createDatabase(,mouseket_silvers,ZCRk1jEh9xJORGbl3,mouseket_silverstripe)
Line 190 of DatabaseAdmin.php
- DatabaseAdmin->doBuild(1)
Line 99 of DatabaseAdmin.php
- DatabaseAdmin->build(SS_HTTPRequest)
Line 193 of Controller.php
- Controller->handleAction(SS_HTTPRequest)
Line 143 of RequestHandler.php
- RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
- Controller->handleRequest(SS_HTTPRequest)
Line 134 of DevelopmentAdmin.php
- DevelopmentAdmin->build(SS_HTTPRequest)
Line 143 of RequestHandler.php
- RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
- Controller->handleRequest(SS_HTTPRequest)
Line 282 of Director.php
- Director::handleRequest(SS_HTTPRequest,Session)
Line 125 of Director.php
- Director::direct(/dev/build)
Line 127 of main.php