mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-06 09:09:38 +03:00
While setup portal getting "SQLSTATE[HY000] [2002] (SQL: select * from settings where setting_key = app-public limit 1)"
#2329
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GrooveDevops on GitHub (Jul 26, 2021).
Hi Have Bookstack setup everything got installed properly but now getting below error while accessing portal
@ssddanbrown commented on GitHub (Jul 27, 2021):
Hi @BirenGroove,
From the error provided it seems like the BookStack instance can't connect to the database at all.
It might depend on how you've installed BookStack, but are you able to run the
php artisan migratecommand from the BookStack installation folder; If so, does it run without error?@GrooveDevops commented on GitHub (Jul 28, 2021):
Hi Dan,
Thanks for your reply, yes it was SQL connectivity issue, I am using Azure Paas SQL which required SSL connection to connect SQL, I fixed this it start working, then I ran php artisan migrate inside of bookstack folder and all tables got created after that it's working fine
@ssddanbrown commented on GitHub (Jul 28, 2021):
Thanks for confirming @BirenGroove, Will therefore close this off.