magento sql 4G 导入报错
来源:互联网 发布:淘宝店铺怎样装修 编辑:程序博客网 时间:2024/06/14 04:37
http://injustfiveminutes.com/2013/02/14/errors-restoring-mysql-database-dump-on-wamp-environment/
Errors restoring MySQL database dump on WAMP environment
You have maybe happened to get lots of errors when sourcing a .SQL database dump into a new WAMP installation, looking like these:
ERROR 1231 (42000): Variable ‘time_zone’ can’t be set to the value of ‘NULL’
ERROR 1231 (42000): Variable ‘sql_mode’ can’t be set to the value of ‘NULL’
ERROR 1231 (42000): Variable ‘foreign_key_checks’ can’t be set to the value of ‘NULL’
ERROR 1231 (42000): Variable ‘unique_checks’ can’t be set to the value of ‘NULL’
ERROR 1231 (42000): Variable ‘character_set_client’ can’t be set to the value of ‘NULL’
Query OK, 0 rows affected (0.00 sec)
ERROR 1231 (42000): Variable ‘collation_connection’ can’t be set to the value of ‘NULL’
ERROR 1231 (42000): Variable ‘sql_notes’ can’t be set to the value of ‘NULL’
The above errors where thrown trying to restore a Drupal database dump and lead to think there’s a clash among MySQL servers versions.
However, it all has to do with the maximum allowed size of blog fields within the database which defaults to 16MB.
Try to make it arbitrarily high temporarily by typing in:
mysql> set global max_allowed_packet=1000000000;
Then source your dump again:
mysql> source ./my_db.sql;
Finally restart your Wamp server to leave max_allowed_packet back to its default value.
- magento sql 4G 导入报错
- pl/sql developer 导入数据报错
- phpmyadmin导入.sql数据库文件报错解决
- mysql导入sql报错 Unknown command '\''.
- MySQL导入sql文件报错:2006
- SQLyog导入sql数据文件报错 1045
- SQL文件导入报错 #1113
- Magento报错 解决思路
- windows导入sql脚本文件报错(mysql)
- SqlYog工具执行导入比较大sql文件报错
- mysql导入sql文件的时候报错Segmentation fault
- MariaDB 10 mysqldump备份sql文件导入报错一则
- 在mysql导入sql报错:USING BTREE
- mysql导入sql文件乱码或者报错unknown command
- MYSQL数据库导入sql的时候报错:[Err] 1046
- SQL Server数据导入报错的问题
- Mysql导入大容量SQL报错修改配置文件
- mysql用navicat导入sql文件报错问题
- 控制音量的大小
- 【leetcode】Linked List Cycle II
- Windows下Python命令行自动补全设置
- 仓库软件管理系统设计思路(神龟管理1.0版)
- 底部导航栏实现
- magento sql 4G 导入报错
- 关键字final修饰变量小记
- Redis持久化实践及灾难恢复模拟
- 白话JVM-深入虚拟机字节码执行引擎
- Unity快捷键
- weiphp首次使用(weiphp 该公众号暂时无法提供服务)
- 如何进行WebShpere MQ 运行故障的定位分析和排除
- 字符串---实现整数和字符串数的互相转换
- 一个半路出家的10年程序员:谈工作、学习与Qt