PHP/MySQL question?
So I'm working on building a drupal-based site at the moment. Last Friday, I took home the file structure and database so I could tinker with it.
Well, the database was like 18 megs, so I imported it to the server on my laptop using this--
source /etc/drive/foo/whatev.sql;
It imported with all sorts of garbage characters like ligatures and random accented vowels interspersed with the normal text.
However, when I opened up php.ini and changed the max_download variable so I could import it in phpmyadmin, it worked fine. So...
A: Can I replicate whatever phpmyadmin is doing at the command line without having an insanely huge file upload limit?
B: Why is this nonsense happening in the first place?
Collin: How is that different from using the source command I mentioned?
Gr1m: A.18 megs is not a massive amount of data. It's not even worth looking at the checksum.
B. I'm not streaming anything. This is the webserver on my laptop, as mentioned.
C. I don't think you know what you're talking about.
Using the command line so I can use the 'source' command.
The size of a database imported using phpmyadmin is constrained by post_max_size and upload_max_filesize in php.ini.
Every time I've refreshed this site on my laptop, I've exported the database as a whole from my work machine, dropped the original on the laptop, and reimported it as a whole.