Install MySQL to a place where Windows (I guess you're using Windows) can find it. You don't need to recompile anything if you already have the dll. If you do that correctly, you shouldn't need to do anything more.