UPDATE: Starting with MySQL 8.0.16 we have introduced the new
minimal tar ball distribution. Take a look here.
MySQL is known and famous for it’s simplicity and small size,
especially compared to other RDBMSs. But what if you want to
deploy on tiny hardware? I mean something even smaller than
RaspberryPi? I tested three steps to make the MySQL footprint as
small as possible. All my tests were compiled for Oracle Linux 7
on x64 platform. I did not test any ARM cross compile. And these
are the steps:
- Compile my own binary
- Remove all unnecessary tools/files
- Strip symbol information from binary
Let’s take a closer look at the tree steps.
Compile my own binary MySQL is available as a source release.
Using that you can configure the make process. That is documented
pretty …