Dump big rows using CI return error memory limit |
PHP Code: <?php my database.php PHP Code: $active_group = 'default'; i want to dump all my rows (180k++ rows) for several purpose (like migration, etc). But i always get memory_limit error. So i create 2 method to compared my problem: test_ci = fatal error memory_limit blabla test_native = 180k++ NOTE: Quote:1. in this demo i just try to count rows to simplify the demo code. But in the real case i have have complex script to parse the result. i tried to googling this for an hour but still not get any luck. did i miss something?
You would need to dump it out with phpMyAdmin.
You could then read and write out using CodeIgniter in chunks. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
While I agree with InsiteFX, my question is...did you check the PHP and CI error logs to see if you could get more information?
|
Welcome Guest, Not a member yet? Register Sign In |