Add code to use table prefix for mysql