· 7 years ago · Dec 22, 2018, 02:16 AM
1 Illuminate\Database\QueryException : SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'blogs' already exists (SQL: create table `blogs` (`id` int unsigned not null auto_increment primary key, `titulo` varchar(255) not null, `conteudo` varchar(255) not null, `imagem` varchar(255) not null, `created_at` timestamp null, `updated_at` timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')
2
3 at /var/www/html/f5consultoriaempresarial/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664
4 660| // If an exception occurs when attempting to run a query, we'll format the error
5 661| // message to include the bindings with SQL, which will make this exception a
6 662| // lot more helpful to the developer instead of just the database's errors.
7 663| catch (Exception $e) {
8 > 664| throw new QueryException(
9 665| $query, $this->prepareBindings($bindings), $e
10 666| );
11 667| }
12 668|
13
14 Exception trace:
15
16 1 PDOException::("SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'blogs' already exists")
17 /var/www/html/f5consultoriaempresarial/vendor/laravel/framework/src/Illuminate/Database/Connection.php:458
18
19 2 PDOStatement::execute()
20 /var/www/html/f5consultoriaempresarial/vendor/laravel/framework/src/Illuminate/Database/Connection.php:458
21
22 Please use the argument -v to see more details.