Search
 
SCRIPT & CODE EXAMPLE
 

PHP

General error: 1709 Index column size too large. The maximum column size is 767 bytes.

//Laravel located in config/database.php
//replace this one in mysql
    'charset' => 'utf8mb4',
    'collation' => 'utf8mb4_unicode_ci',
            
//to this one
    'charset'   => 'utf8',
    'collation' => 'utf8_unicode_ci',
Comment

index column size too large. the maximum column size is 767 bytes. mysql

set global innodb_file_format = BARRACUDA;
set global innodb_large_prefix = ON;
create table test (........) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
Comment

PREVIOUS NEXT
Code Example
Php :: strtotime add 1 hour 
Php :: method put laravel 
Php :: slp price php 
Php :: laravellivewire is not defined 
Php :: Cross-site request forgery validation failed. Required param "state" missing from persistent data 
Php :: php hash password using bcrypt 
Php :: cache clear in laravel 
Php :: install mess detector 
Php :: Warning: mysqli_fetch_all() expects parameter 1 to be mysqli_result, bool given in C: ewxammphtdocslearnindex.php on line 11 
Php :: php compare two versions return true or false if version is big 
Php :: remove action from theme wordpress 
Php :: In excel.php line 164: Class "MaatwebsiteExcelExcel" not found 
Php :: php write to file 
Php :: Could not find package laravel/ with stability stable. 
Php :: how to create a logfile in php? 
Php :: Laravel - Comparison betweeon two column values - whereColumn 
Php :: wordpress show notice 
Php :: php count amount of times a value appears in array 
Php :: assign php array into javascript 
Php :: get all artisan commands 
Php :: php get start of today 
Php :: delete image s3 laravel 
Php :: get taxonomies for custom post type 
Php :: strval in php 
Php :: laravel old value for select option 
Php :: laravel echo query 
Php :: laravel unique validation 
Php :: count words in string php 
Php :: How to get a substring between two strings in PHP? 
Php :: laravel foreach first 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =