Parameter of prepared statement which is set through mysql_send_long_data() is longer than 'max_allo

mysql上傳大數據文件時,傳輸的數據過大就會拋出如下錯誤。 解決方式:打開mysql安裝路徑,找到my.ini文件打開。 打開之後,在最末尾加上一句:max_allowed_packet=10485760 10485760k也就是10M。當然你也可以設置更大
相關文章
相關標籤/搜索