title: How to upgrade my MySQL version to 5.7.7 or higher in Xampp 3.2.2 (latest version), errors in Laravel MySQL migration
body: <p>My Laravel cannot migrate the tables giving an error of:</p>
  
  <blockquote>
    <p>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 <code>users</code> add unique <code>users_email_unique</code>(<code>email</code>))</p>
  </blockquote>
  
  <p>I got a solution <a href="https://laravel-news.com/laravel-5-4-key-too-long-error" rel="nofollow noreferrer">in this link</a>, but it is also not working, so I decided to upgrade my MySql to 5.7.7 or higher as the blog says that I won't face any problems then.</p>
  
  <p>I am using Windows 10. Here is a screenshot of my phpMyAdmin:</p>
  
  <p><img src="https://i.stack.imgur.com/L42v9.png" alt="Phpmyadmin"></p>
  
  <p>Here is my error screen:</p>
  
  <p><img src="https://i.stack.imgur.com/KHDnt.png" alt="My error screen"></p>