Does anyone know how to change this feature. I'm getting an Error:

"Packet is larger than max_allowed_packet from server configuration of 65536 bytes"

I know why its happening I just can't figure out how to change this value. I've tried the my.conf file with no luck. Any help would be appreciated.