What is the difference between longblob and longtext in mysql?

faressoft picture faressoft · Apr 5, 2011 · Viewed 18.9k times · Source

What is difference between longblob and longtext in mysql?

What should I use to save a long topic ?

Answer

evilone picture evilone · Apr 5, 2011

BLOBs are for Binary Large Objects. If you're storing binary data in your DB, then BLOB would be the table type you want. Otherwise.. longtext.

In your case longtext.