PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

SQLSTATE[42000] Error

mutluay-daşdemir

Jun 23rd, 2017 11:35 PM

I encountered a problem during installation: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table categories add unique categories_slug_unique(slug))

After that, the "404 Sorry, this page could not be found" window appears.

How can I solve this problem?

mark

Jun 28th, 2017 09:35 AM

Off-topic: Seems there are some spam here, pinging @Admin to remove it.

However @Mutluay-daşdemir, this is an easy fix. You can read the details here: https://laravel-news.com/laravel-5-4-key-too-long-error