The SQL you ran had an error Echo mysql_error() to find out what happened. More than likely the remote server is a different version of MySQL and something you tried to run locally doesn't work on the remote server.