You should be able to find an older version of libmysql.dll for 4.x if you look around