What's the best field type to use to store MAC addresses in a MySQL database? Also, should it be stored with a certain separator (colon or dash) or should it be stored without a separator?
use bigint unsigned (8 bytes) then you can:
select hex(mac_addr) from log;
and
insert into log (mac_addr) values (x'000CF15698AD');