mysql table if exists code example Example: mysql check table exists SELECT * FROM information_schema WHERE TABLE_NAME = "my_table"