Geoff Dalgas Geoff Dalgas - 1 year ago 154
SQL Question

Binary Data in MySQL

How do I store binary data in MySQL?

Mat Mat
Answer Source

The answer by phpguy is correct but I think there is a lot of confusion in the additional details there.

The basic answer is in a BLOB data type / attribute domain. BLOB is short for Binary Large Object and that column data type is specific for handling binary data.

See the relevant manual page for MySQL.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download