Special Characters is Database Password #4498

Closed
opened 2026-02-05 09:01:09 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @buckybytes on GitHub (Mar 7, 2024).

Describe the Bug

Special characters in MySQL password cause "artisan migrate" to fail.

Steps to Reproduce

  1. Create database user with complex password including special characters. Test data password was [password#]
  2. Configure database user in .env file
  3. Follow manual installation steps.
  4. Receive access denied error when running step 8, "artisan migrate"

Expected Behaviour

I would expect the database tables to be created and populated despite the complex password.

Screenshots or Additional Context

This might be most easily resolved with a note on the manual installation instructions.

Browser Details

No response

Exact BookStack Version

24.02

Originally created by @buckybytes on GitHub (Mar 7, 2024). ### Describe the Bug Special characters in MySQL password cause "artisan migrate" to fail. ### Steps to Reproduce 1. Create database user with complex password including special characters. Test data password was [password#] 2. Configure database user in .env file 3. Follow manual installation steps. 4. Receive access denied error when running step 8, "artisan migrate" ### Expected Behaviour I would expect the database tables to be created and populated despite the complex password. ### Screenshots or Additional Context This might be most easily resolved with a note on the manual installation instructions. ### Browser Details _No response_ ### Exact BookStack Version 24.02
OVERLORD added the 🐛 Bug label 2026-02-05 09:01:09 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Mar 7, 2024):

Hi @buckybytes,

This should be defined in the .env file you would have edited:

8e01345f14/.env.example (L6-L7)

@ssddanbrown commented on GitHub (Mar 7, 2024): Hi @buckybytes, This should be defined in the `.env` file you would have edited: https://github.com/BookStackApp/BookStack/blob/8e01345f1494f37d462ad35fb6723c8051f9d752/.env.example#L6-L7
Author
Owner

@buckybytes commented on GitHub (Mar 7, 2024):

Ahh, that was the other hiccup with my install. I created the .env file from scratch because I couldn't find it.

@buckybytes commented on GitHub (Mar 7, 2024): Ahh, that was the other hiccup with my install. I created the .env file from scratch because I couldn't find it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4498