Skip to content

Error 1071: Specified key was too long; max key length is 1000 bytes #400

@GameO7er

Description

@GameO7er

After running php artisan panel:install it gives me :

Migrating: 2014_11_16_205658_create_admins_table
Migrated:  2014_11_16_205658_create_admins_table (0.18 seconds)
Migrating: 2014_12_02_152920_create_password_reminders_table

   Illuminate\Database\QueryException  : SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table `password_reminders` add
 index `password_reminders_email_index`(`email`))

and here is Exception trace:


  1   PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes")
      C:\wamp\www\Project\vendor\laravel\framework\src\Illuminate\Database\Connection.php:458

  2   PDOStatement::execute()
      C:\wamp\www\Project\vendor\laravel\framework\src\Illuminate\Database\Connection.php:458

  Please use the argument -v to see more details.

admins , migrations , password_reminders have been created successfully with 1 row except password_reminders which have no rows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions