Skip to content

Instantly share code, notes, and snippets.

@emrass
emrass / mysql_error_log
Created June 15, 2014 18:40
MySQL error log
Version: '5.6.19' socket: '/tmp/mysql.sock' port: 3306 MySQL Community Server (GPL)
18:34:01 UTC - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
key_buffer_size=8388608
irb(main):040:0> test = CalendarSyncLog.new(:message_v1 => "Vacation ? ?")
=> #<CalendarSyncLog id: nil, calendar_sync_run_id: nil, message_type: nil, mess
age_code: nil, message_v1: "Vacation ? ?", message_v2: nil, message_v3: nil, mes
sage_v4: nil, created_at: nil, updated_at: nil>
irb(main):041:0> test.save
←[1m←[36mSQL (0.0ms)←[0m ←[1mINSERT INTO `calendar_sync_logs` (`calendar_sync
_run_id`, `created_at`, `message_code`, `message_type`, `message_v1`, `message_v
2`, `message_v3`, `message_v4`, `updated_at`) VALUES (NULL, '2013-02-07 00:24:37
', NULL, NULL, 'Vacation NULL '2013-02-07 00:24:37'', NULL, NULL, NULL, '2013-02
-07 00:24:37')←[0m