r/BookStack • u/russellii • Feb 16 '26
New install getting sql error
Hi, new to BookStack
Just installed, artisan migrate worked (So database access is correct) tables created.
When I go to webpage it switches to SITE/login
from storage/logs/laravel.log I get SQLSTATE[HY000] [1045] Access denied for user
but the problem seems to be with the SQL
SQL: select * from users where system_name = public limit 1
Now when I run the command in mysql as the user, the ERROR is the un quoted word public
if I quote it the command runs fine.
MySQL version 8.0.45-0ubuntu0.24.04.1
git clone https://github.com/BookStackApp/BookStack.git --branch release --single-branch bookstack
Any sugestions?
View all comments
Show parent comment
1
u/russellii Feb 17 '26
Yes manual install, following the steps on the install page.
But finally just gave up. Tried the docker version, and got that to run, with basically the same variables.