Syntax error when installing laravel-admin

Asked 1 years ago, Updated 1 years ago, 56 views

Installing laravel in the local environment.
The installation of larvel-admin failed, although it worked fine in itself.

I installed "larvel-admin#v1.4.5"
https://packagist.org/packages/encore/laravel-admin#v1.4.5

I have completed migration while looking into various things

phpartisan migrate

Error executing install command.

phpartisan admin:install

The errors displayed are as follows:

Illuminate\Database\QueryException]
SQLSTATE [42000]:Syntax error access violation:1103Incorrect table name'''(SQL:create table``(idinsigned not null auto_increment primary key,usernamevarchar(190)not null, char(60)not null,namevarchar(191)not null,avatarvarchar(191)null,remember_tokenvarchar(100)null,created_attimestamp null,updated_null)setuploader teutf8mb4_unicode_ci)

PDOException
SQLSTATE [42000]:Syntax error or access violation:1103Incorrect table name

As far as DB is concerned
password_resets
migrations
users
and other tables.

What are the possible causes of the error?

php laravel

2022-09-30 21:29

1 Answers

Sorry, I solved myself.
The initial steps appear to have been omitted, and
after executing the following command: Installation successfully avoided errors.

phpartisan vendor:public --tag=larvel-admin

phpartisan admin —install


2022-09-30 21:29

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.