mysql一条SQL一次插入大容量数据
在这样的SQL文中:
INSERT INTO table_name (column1, column2, column3,...)VALUES (value1, value2, value3,...),VALUES (value1, value2, value3,...),...?
?
执行时,mysql会出现错误,此时在mysql的my.ini最后一行中添加
max_allowed_packet=100m?
发布时间: 2012-08-08 14:32:45 作者: rapoo
mysql一条SQL一次插入大容量数据
在这样的SQL文中:
INSERT INTO table_name (column1, column2, column3,...)VALUES (value1, value2, value3,...),VALUES (value1, value2, value3,...),...?
?
执行时,mysql会出现错误,此时在mysql的my.ini最后一行中添加
max_allowed_packet=100m?