· 6 years ago · Dec 29, 2019, 12:24 PM
1Migrating: 2014_10_12_000000_create_users_table
2
3 Illuminate\Database\QueryException : SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' already exists (SQL: create table `users` (`id` bigint unsigned not null auto_increment primary key, `name` varchar(191) not null, `email` varchar(191) not null, `email_verified_at` timestamp null, `password` varchar(191) not null, `remember_token` varchar(100) null, `created_at` timestamp null, `updated_at` timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')
4
5 at C:\xampp\htdocs\siteApp\vendor\laravel\framework\src\Illuminate\Database\Connection.php:669
6 665| // If an exception occurs when attempting to run a query, we'll format the error
7 666| // message to include the bindings with SQL, which will make this exception a
8 667| // lot more helpful to the developer instead of just the database's errors.
9 668| catch (Exception $e) {
10 > 669| throw new QueryException(
11 670| $query, $this->prepareBindings($bindings), $e
12 671| );
13 672| }
14 673|
15
16 Exception trace:
17
18 1 PDOException::("SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' already exists")
19 C:\xampp\htdocs\siteApp\vendor\laravel\framework\src\Illuminate\Database\Connection.php:463
20
21 2 PDOStatement::execute()
22 C:\xampp\htdocs\siteApp\vendor\laravel\framework\src\Illuminate\Database\Connection.php:463
23
24 Please use the argument -v to see more details.