Topic: MySQL 5.5.28 spec file modification

First off, thank you very much for contributing to the community!

I wanted to use remirepo/mysql55/mysql55.spec (found on github) to build the RPM, but I need to adjust the MySQL data directory to /mysql/data instead of the default /var/lib/mysql. I use sed to find and replace the latter, but it seems the RPM continues to use the default directory location (after I compiled the RPM).

Any suggestions?

Re: MySQL 5.5.28 spec file modification

No need to rebuild the RPM.

Just edit the datadir (and socket) value in /etc/my.cnf

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi