Apparently there is no cmake check for mysql(-devel) in the amarok build system, because for me cmake finished ok but then there was a compile error on a missing mysql.h. -panzi