type in replace script for mysql