You can download a converter tool from here:
https://github.com/philip/MySQLConverterTool
The code it generates is pretty gross, mainly because of the way it implements the default database link argument with a $GLOBAL
variable. (This also makes it easy to recognize when someone is using code that’s gone through the converter.)
There’s also a MySQL Shim Library located here: