Advertisement
dadang9

Untitled

Apr 27th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.22 KB | None | 0 0
  1.  Illuminate\Database\QueryException  : SQLSTATE[42000]: Syntax error or access
  2.  violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: a
  3. lter table `users` add unique `users_email_unique`(`email`))
  4.  
  5.   at C:\xampp\htdocs\laraveldika\vendor\laravel\framework\src\Illuminate\Databas
  6. e\Connection.php:664
  7.     660|         // If an exception occurs when attempting to run a query, we'll
  8. format the error
  9.    661|         // message to include the bindings with SQL, which will make th
  10. is exception a
  11.    662|         // lot more helpful to the developer instead of just the databa
  12. se's errors.
  13.     663|         catch (Exception $e) {
  14.   > 664|             throw new QueryException(
  15.     665|                 $query, $this->prepareBindings($bindings), $e
  16.     666|             );
  17.     667|         }
  18.     668|
  19.  
  20.   Exception trace:
  21.  
  22.   1   PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Sp
  23. ecified key was too long; max key length is 767 bytes")
  24.       C:\xampp\htdocs\laraveldika\vendor\laravel\framework\src\Illuminate\Databa
  25. se\Connection.php:458
  26.  
  27.   2   PDOStatement::execute()
  28.       C:\xampp\htdocs\laraveldika\vendor\laravel\framework\src\Illuminate\Databa
  29. se\Connection.php:458
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement