Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLSTATE[HY000] [1045] Access denied for user 'database_username'@'Bockstack.Bookstack' #5559

Open
2 tasks done
DevJulian98 opened this issue Mar 28, 2025 · 0 comments
Open
2 tasks done

Comments

@DevJulian98
Copy link

DevJulian98 commented Mar 28, 2025

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

i installed bookstack with portainer with a yaml file and always after startup this error came up
in the container i can also see that the db can not be connected but i have not found any solution in the internet for that

Image Image

Exact BookStack Version

latest

Log Content

Illuminate\Database\QueryException

SQLSTATE[HY000] [1045] Access denied for user 'database_username'@'Bockstack.Bookstack' (using password: YES) (Connection: mysql, SQL: select exists (select 1 from information_schema.tables where table_schema = 'bookstack' and table_name = 'migrations' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED')) as exists)

at /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:825

821▕                     $this->getName(), $query, $this->prepareBindings($bindings), $e

822▕                 );

823▕             }

824▕ 

➜ 825▕ throw new QueryException(

826▕                 $this->getName(), $query, $this->prepareBindings($bindings), $e

827▕             );

828▕         }

829▕     }

  +38 vendor frames 

39 /app/www/artisan:35
Illuminate\Foundation\Console\Kernel::handle()

Hosting Environment

Portainer Community Edition 2.27.3 LTS on a Raspi 5 with Raspi OS light 64 bit Version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant