Just some FYI, to get started:
- I'm using a 16 GB Sandisk SD card.
- I have a model B Pi, 512 MB RAM (not really relevant, thought I'd mention it).
- Monitor and keyboard connected to the Pi itself, for now.
- Network working, internet access.
| // gcc -O2 -Wall -pedantic process-mysqldump.c -o process-mysqldump | |
| // Usage: cat dump.sql | process-mysqldump | |
| // Or : process-mysqldump dump.sql | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdbool.h> | |
| #include <string.h> | |
| #define BUFFER 100000 |