Problem on Migration Laravel 5.4, Upgrade MariaDB to 10.2.3 to solve this problem !!!


  • | 195 points

    Problem on Migration Laravel 5.4
    [Illuminate\Database\QueryException]
    SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table users add unique users_email_unique(email))

    [PDOException]
    SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
    Need to Upgrade MariaDB to 10.2.3 for solve this problem !!!


  • administrators
    | 66609 points

    Thanks @dukenst2006.


  • | 195 points

    You are welcome @leokhoa , you do a great work, keep it up. The best tool to develop with laravel on windows, i really love it !!


  • administrators
    | 66609 points

    So pleasure to hear that :relaxed: .
    I've updated Laragon 2.2.1 which bundles with MariaDB 10.2.3 as your suggestion.


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.