Installing Bookstack on RHEL 8 #3556

Closed
opened 2026-02-05 07:03:47 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @TheSteveBennett on GitHub (Feb 28, 2023).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

I am trying to manually install bookstack on a RHEL 8.6 server. I am recieving the following error when running the command "sudo php artisan migrate"

In Connection.php line 760:

SQLSTATE[42000]: Syntax error or access violation: 1142 CREATE command denied to user 'bookstack_librarian'@'localhost' for table 'migrations' (SQL: create table migrations (id int unsigned not null
auto_increment primary key, migration varchar(191) not null, batch int not null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')

In Connection.php line 539:

SQLSTATE[42000]: Syntax error or access violation: 1142 CREATE command denied to user 'bookstack_librarian'@'localhost' for table 'migrations'

Exact BookStack Version

23.02.1

Log Content

No response

PHP Version

8.0.28

Hosting Environment

Red Hat Enterprise Linux 8.6 running on vmware ESXI 6.5

Originally created by @TheSteveBennett on GitHub (Feb 28, 2023). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario I am trying to manually install bookstack on a RHEL 8.6 server. I am recieving the following error when running the command "sudo php artisan migrate" In Connection.php line 760: SQLSTATE[42000]: Syntax error or access violation: 1142 CREATE command denied to user 'bookstack_librarian'@'localhost' for table 'migrations' (SQL: create table `migrations` (`id` int unsigned not null auto_increment primary key, `migration` varchar(191) not null, `batch` int not null) default character set utf8mb4 collate 'utf8mb4_unicode_ci') In Connection.php line 539: SQLSTATE[42000]: Syntax error or access violation: 1142 CREATE command denied to user 'bookstack_librarian'@'localhost' for table 'migrations' ### Exact BookStack Version 23.02.1 ### Log Content _No response_ ### PHP Version 8.0.28 ### Hosting Environment Red Hat Enterprise Linux 8.6 running on vmware ESXI 6.5
OVERLORD added the 🐕 Support label 2026-02-05 07:03:47 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3556