Something is wrong with this template I have configured it several times and it refuses to connect to the database.
My config is
Host: unraid.home.my.domain
User: bookstack
Pass: (set correctly can login remotely and locally)
Database Name: (bookstack and created new database bookstack2)
Why is it launching with lowercase bookstack but authing with uppercase Bookstack?
Launch Command
Illuminate\Database\QueryException : SQLSTATE[HY000] [1045] Access denied for user 'Bookstack'@'172.17.0.1' (using password: YES) (SQL: select * from information_schema.tables where table_schema = bookstack2 and table_name = migrations and table_type = 'BASE TABLE')
at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:669
665| // If an exception occurs when attempting to run a query, we'll format the error
666| // message to include the bindings with SQL, which will make this exception a
667| // lot more helpful to the developer instead of just the database's errors.
668| catch (Exception $e) {
> 669| throw new QueryException(
670| $query, $this->prepareBindings($bindings), $e
671| );
672| }
673|
Exception trace:
1 Doctrine\DBAL\Driver\PDOException::("SQLSTATE[HY000] [1045] Access denied for user 'Bookstack'@'172.17.0.1' (using password: YES)")
/var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31
2 PDOException::("SQLSTATE[HY000] [1045] Access denied for user 'Bookstack'@'172.17.0.1' (using password: YES)")
/var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
EDIT: Changing DB_USER and DB PASS to DB_USERNAME and DB_PASSWORD fixed it something is wrong with the template.