In addition to using prepared statements from the libmysqld, you can also do prepared statements from any client by using the text based prepared statement interface.

You first prepare the statement with PREPARE, execute with EXECUTE, and release it with DEALLOCATE.