Environment Builder

https://www.pb-prototype.redaktionsbuero-lamprecht.de

dev → build

Building database using SilverStripe\ORM\Connect\MySQL 8.0.42-33

Creating database

GET /dev/build

[Emergency] Uncaught SilverStripe\ORM\Connect\DatabaseException: Couldn't run query: CREATE DATABASE "db_408456_14" DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_unicode_ci Access denied for user 'USER408456_pb'@'%' to database 'db_408456_14'

GET /dev/build

Line 64 in /home/webpages/lima-city/slamprecht/pbprototype/vendor/silverstripe/framework/src/ORM/Connect/DBConnector.php

Source

55         if (!empty($sql)) {
56             $formatter = new SQLFormatter();
57             $formattedSQL = $formatter->formatPlain($sql);
58             $msg = "Couldn't run query:\n\n{$formattedSQL}\n\n{$msg}";
59         }
60 
61         if ($errorLevel === E_USER_ERROR) {
62             // Treating errors as exceptions better allows for responding to errors
63             // in code, such as credential checking during installation
64             throw new DatabaseException($msg, 0, null, $sql, $parameters);
65         } else {
66             user_error($msg ?? '', $errorLevel ?? 0);
67         }
68     }
69 
70     /**

Trace