When I try to import a large SQL backup using the command:
mysql -u ***** -p***** nxtpp < backup.sql
I get the following error message after the backup is partially executed:
Allowed memory size of 33554432 bytes exhausted
I already know about the memory_limit variable in php.ini, but the problem is that I am not using PHP to import, just the mysql command. How can I fix this? Could the problem have to do with the 128MB of memory the server has?
Edit: It turned out that the phpMyAdmin I was exporting from was producing the error. I could see the error's HTML in the actual dump file. When MySQL executed it, it just printed the error out.