MySQL Version Difference

If you are running MySQL queries from PHP and include the semi-colon in the SQL query, your query will run just fine on a MySQL 4 database but will fail on a MySQL 3 database.

This doesn’t work in MySQL 3:

$sql = "SELECT * FROM foo;";

but this does:

$sql = "SELECT * FROM foo";

At least this is what I’m seeing, is this a known thing?