it means that table already exists in the db. are you running a migration ?
Thanks for the answer, I'm trying to run a migration, as shown in the Basic Tasks List: https://laravel.com/docs/5.1/quickstart.
mysql> create database forge; Query OK, 1 row affected (0.00 sec)
mysql> Bye [root@localhost project]# php artisan migrate
Application In Production! *
Do you really wish to run this command? yes Migration table created successfully.
[Illuminate\Database\QueryException]
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'tasks' alre
ady exists (SQL: create table tasks
(id
int unsigned not null auto_incr
ement primary key, name
varchar(255) not null, created_at
timestamp def
ault 0 not null, updated_at
timestamp default 0 not null) default charact
er set utf8 collate utf8_unicode_ci)
[PDOException] SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'tasks' alre ady exists
migrate [--bench [BENCH]] [--database [DATABASE]] [--force] [--path [PATH]] [--package [PACKAGE]] [--pretend] [--seed]
Hope this helps
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community