MySQL doesn't prefix parameters with "@". I believe that MySQL uses "?". You may be able to just replace all the "@" with "?", or you may have to remove the entire parameter names from the SQL code and use just "?" on its own.