How to get big data from mysql in php? I tried, but I get line 1048576 , and my line is longer.
Okay, so thanks to Pablo Jimenez, it was fast.
The Pdo buffer is really too small, so I was able to get my data.
$pdo = new PDO( $dsn, $username, $password, array(PDO::MYSQL_ATTR_MAX_BUFFER_SIZE => 2097152)
);
Source: https://habr.com/ru/post/1272190/More articles:PAC Fetch Error with [NSURLErrorDomain: -1003] Error - iosPHP only stores 1,048,576 characters in an array - phpCoreData: abstract: Failed to load optimized model (React Native) - xcodeRead Big Data mongodb - javaMany blocks by elements - javascriptHow to find antipatterns in your vim workflow? - vimThe file is uploaded via visual studio, but not via .exe - c #Which means $ 0.1, $ 0.0, etc. In Swift? - swiftlogstash filter, how to create two (or higher) outputs for a single input - elasticsearchJenkins fails to build follow-up - continuous-integrationAll Articles