Boolean vs tinyint(1) for boolean values in MySQL

tom picture tom · Sep 20, 2010 · Viewed 104.3k times · Source

What column type is best to use in a MySQL database for boolean values? I use boolean but my colleague uses tinyint(1).

Answer

Māris Kiseļovs picture Māris Kiseļovs · Sep 20, 2010

These data types are synonyms.