SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8mb4_unicode_ci' is not valid for CHARACTER SET 'binary'

SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION ‘utf8mb4_unicode_ci‘ is not valid for CHARACTER SET ‘binary‘

对数据表更改,然后执行数据迁移命令php artisan migrate,之后报错如下:

  

解决办法:

参考:https://www.hellojava.com/a/68286.html

SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8mb4_unicode_ci' is not valid for CHARACTER SET 'binary'

原文地址:https://www.cnblogs.com/honeyJYY/p/11771713.html

时间: 2024-11-10 09:10:20

SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8mb4_unicode_ci' is not valid for CHARACTER SET 'binary'的相关文章

php artisan migrate时出现 SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes解决办法

在测试队列中运用artisan命令行 php artisan queue:table php artisan migrate时出现 SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes Change database.php which is in config folder where it says 'charset' =

SQLSTATE[42000]: Syntax error or access violation

出现这种问题 直接修改my.cnf 即可 在mysqld下面添加sql_mode="" 然后保存 ->重启mysql 原文地址:https://www.cnblogs.com/zydtm/p/10178388.html

laravel migrate时报错:Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

在按照文档执行php artisan migrate时报错. 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`)) 解决方法 namespace App\Providers; use Illum

Laravel 5.4 migrate报错:Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table `users` add unique `us ers_email_unique`(`email`))

Laravel 5.4 migrate报错:Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table `users` add unique `us     ers_email_unique`(`email`)) public function up() { Schema::create('users', function (Blu

MDK5.00中*** error 65: access violation at 0xFFFFFFFC : no 'write' permission的一种解决方法

http://blog.csdn.net/coderfun/article/details/9417289 这是在调试过程中的修改方法,所以在每次运行的时候,都要设置. 先进入调试模式(crtl+F5),接下来在debug菜单下打开memory_map对话框,在这个对话框中添加新的映射区域0xFFFFF000,0xFFFFFFFF(map range)和它的属性,勾选read,write. MDK5.00中*** error 65: access violation at 0xFFFFFFFC

STM32 KEIL不能输入仿真引脚端口error 65: access violation at 0x40021000 : no 'read' permission

使用MDK自己创建一个STM32F103ZE核的项目 加入源码后编译,正常,在线仿真单步执行出现如下问题 error 65: access violation at 0x40021000 : no 'read' permission 发现是Debug里面的设置有问题 http://www.cnblogs.com/xiaobo-Linux/ 主要是下面2项设置 Dialog DLL默认是DCM3.DLL Parameter默认是-pCM3 应改为 Dialog DLL默认是DARMSTM.DLL

uVision V5.11.1.0软件仿真进不了main函数,提示*** error 65: access violation at 0x40023800 : no 'read' permission

在百度找到一篇文章   http://www.keil.com/support/docs/814.htm 博客这篇文章           http://blog.sina.com.cn/s/blog_46d528490101qadk.html uVision V5.11.1.0软件仿真进不了main函数,提示*** error 65: access violation at 0x40023800 : no 'read' permission

*** error 65: access violation at C:0x001B : no 'execute/read' permission

转自:http://blog.csdn.net/chenqiai0/article/details/7827071 很多人在进行串口调试的时候会遇到这个问题,请大家略看我的代码,解决方法在其中 //实验目的:串口调试助手上输入数据0-9,然后再数码管显示org 00Hljmp start org 23H //中断入口地址ljmp uart_interrupt org 30Hstart:               mov P0,#0xff//设置初始值    mov dptr,#numb   

关于Drupal中使用hook_schema建立数据库报错PDOException: SQLSTATE[42000]的解决办法

报错信息如下:PDOException: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 3072 bytes: CREATE TABLE {start_zero_order} ( `id` INT unsigned NOT NULL auto_increment COMMENT 'The order id.', `username` VAR