how to delete all records from a table in mysql database code example Example: delete all content in table mysql TRUNCATE tablename