141007 13:12:17 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. 141007 13:12:17 [Note] Plugin 'FEDERATED' is disabled. 141007 13:12:17 InnoDB: The InnoDB memory heap is disabled 141007 13:12:17 InnoDB: Mutexes and rw_locks use GCC atomic builtins 141007 13:12:17 InnoDB: Compressed tables use zlib 1.2.8 141007 13:12:17 InnoDB: Using Linux native AIO 141007 13:12:17 InnoDB: Initializing buffer pool, size = 128.0M 141007 13:12:17 InnoDB: Completed initialization of buffer pool InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! 141007 13:12:17 InnoDB: Setting file ./ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 141007 13:12:17 InnoDB: Log file ./ib_logfile0 did not exist: new to be created InnoDB: Setting log file ./ib_logfile0 size to 5 MB InnoDB: Database physically writes the file full: wait... 141007 13:12:17 InnoDB: Log file ./ib_logfile1 did not exist: new to be created InnoDB: Setting log file ./ib_logfile1 size to 5 MB InnoDB: Database physically writes the file full: wait... InnoDB: Doublewrite buffer not found: creating new InnoDB: Doublewrite buffer created InnoDB: 127 rollback segment(s) active. InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 141007 13:12:17 InnoDB: Waiting for the background threads to start 141007 13:12:18 InnoDB: 5.5.39 started; log sequence number 0 141007 13:12:18 InnoDB: Starting shutdown... 141007 13:12:19 InnoDB: Shutdown completed; log sequence number 1595675 141007 13:12:19 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. 141007 13:12:19 [Note] Plugin 'FEDERATED' is disabled. 141007 13:12:19 InnoDB: The InnoDB memory heap is disabled 141007 13:12:19 InnoDB: Mutexes and rw_locks use GCC atomic builtins 141007 13:12:19 InnoDB: Compressed tables use zlib 1.2.8 141007 13:12:19 InnoDB: Using Linux native AIO 141007 13:12:19 InnoDB: Initializing buffer pool, size = 128.0M 141007 13:12:19 InnoDB: Completed initialization of buffer pool 141007 13:12:19 InnoDB: highest supported file format is Barracuda. 141007 13:12:19 InnoDB: Waiting for the background threads to start 141007 13:12:20 InnoDB: 5.5.39 started; log sequence number 1595675 141007 13:12:20 InnoDB: Starting shutdown... 141007 13:12:21 InnoDB: Shutdown completed; log sequence number 1595675 141007 13:12:21 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. 141007 13:12:21 [Note] Plugin 'FEDERATED' is disabled. 141007 13:12:21 InnoDB: The InnoDB memory heap is disabled 141007 13:12:21 InnoDB: Mutexes and rw_locks use GCC atomic builtins 141007 13:12:21 InnoDB: Compressed tables use zlib 1.2.8 141007 13:12:21 InnoDB: Using Linux native AIO 141007 13:12:21 InnoDB: Initializing buffer pool, size = 128.0M 141007 13:12:21 InnoDB: Completed initialization of buffer pool 141007 13:12:21 InnoDB: highest supported file format is Barracuda. 141007 13:12:21 InnoDB: Waiting for the background threads to start 141007 13:12:22 InnoDB: 5.5.39 started; log sequence number 1595675 ERROR: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE user ADD column Show_view_priv enum('N','Y') CHARACTER SET utf8 NOT ' at line 1 141007 13:12:22 [ERROR] Aborting 141007 13:12:22 InnoDB: Starting shutdown... 141007 13:12:23 InnoDB: Shutdown completed; log sequence number 1595675 141007 13:12:23 [Note] /usr/sbin/mysqld: Shutdown complete 141007 13:12:23 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. 141007 13:12:23 [Note] Plugin 'FEDERATED' is disabled. 141007 13:12:23 InnoDB: The InnoDB memory heap is disabled 141007 13:12:23 InnoDB: Mutexes and rw_locks use GCC atomic builtins 141007 13:12:23 InnoDB: Compressed tables use zlib 1.2.8 141007 13:12:23 InnoDB: Using Linux native AIO 141007 13:12:23 InnoDB: Initializing buffer pool, size = 128.0M 141007 13:12:23 InnoDB: Completed initialization of buffer pool 141007 13:12:23 InnoDB: highest supported file format is Barracuda. 141007 13:12:23 InnoDB: Waiting for the background threads to start 141007 13:12:24 InnoDB: 5.5.39 started; log sequence number 1595675 141007 13:12:24 InnoDB: Starting shutdown... 141007 13:12:24 InnoDB: Shutdown completed; log sequence number 1595675 141007 13:12:24 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. 141007 13:12:24 [Note] Plugin 'FEDERATED' is disabled. 141007 13:12:24 InnoDB: The InnoDB memory heap is disabled 141007 13:12:24 InnoDB: Mutexes and rw_locks use GCC atomic builtins 141007 13:12:24 InnoDB: Compressed tables use zlib 1.2.8 141007 13:12:24 InnoDB: Using Linux native AIO 141007 13:12:24 InnoDB: Initializing buffer pool, size = 128.0M 141007 13:12:24 InnoDB: Completed initialization of buffer pool 141007 13:12:24 InnoDB: highest supported file format is Barracuda. 141007 13:12:24 InnoDB: Waiting for the background threads to start 141007 13:12:25 InnoDB: 5.5.39 started; log sequence number 1595675 ERROR: 1050 Table 'plugin' already exists 141007 13:12:25 [ERROR] Aborting 141007 13:12:25 InnoDB: Starting shutdown... 141007 13:12:26 InnoDB: Shutdown completed; log sequence number 1595675 141007 13:12:26 [Note] /usr/sbin/mysqld: Shutdown complete 141007 13:12:27 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. 141007 13:12:27 [Note] Plugin 'FEDERATED' is disabled. 141007 13:12:27 InnoDB: The InnoDB memory heap is disabled 141007 13:12:27 InnoDB: Mutexes and rw_locks use GCC atomic builtins 141007 13:12:27 InnoDB: Compressed tables use zlib 1.2.8 141007 13:12:27 InnoDB: Using Linux native AIO 141007 13:12:27 InnoDB: Initializing buffer pool, size = 128.0M 141007 13:12:27 InnoDB: Completed initialization of buffer pool 141007 13:12:27 InnoDB: highest supported file format is Barracuda. 141007 13:12:27 InnoDB: Waiting for the background threads to start 141007 13:12:28 InnoDB: 5.5.39 started; log sequence number 1595675 141007 13:12:28 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306 141007 13:12:28 [Note] - '127.0.0.1' resolves to '127.0.0.1'; 141007 13:12:28 [Note] Server socket created on IP: '127.0.0.1'. 141007 13:12:28 [Note] Event Scheduler: Loaded 0 events 141007 13:12:28 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.5.39-0ubuntu4' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu) 141007 13:12:29 [Note] /usr/sbin/mysqld: Normal shutdown 141007 13:12:29 [Note] Event Scheduler: Purging the queue. 0 events 141007 13:12:29 InnoDB: Starting shutdown... 141007 13:12:30 InnoDB: Shutdown completed; log sequence number 1595685 141007 13:12:30 [Note] /usr/sbin/mysqld: Shutdown complete 141007 13:12:30 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. 141007 13:12:30 [Note] Plugin 'FEDERATED' is disabled. 141007 13:12:30 InnoDB: The InnoDB memory heap is disabled 141007 13:12:30 InnoDB: Mutexes and rw_locks use GCC atomic builtins 141007 13:12:30 InnoDB: Compressed tables use zlib 1.2.8 141007 13:12:30 InnoDB: Using Linux native AIO 141007 13:12:30 InnoDB: Initializing buffer pool, size = 992.0M 141007 13:12:31 InnoDB: Completed initialization of buffer pool 141007 13:12:31 InnoDB: highest supported file format is Barracuda. 141007 13:12:31 InnoDB: Waiting for the background threads to start 141007 13:12:32 InnoDB: 5.5.39 started; log sequence number 1595685 141007 13:12:32 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 141007 13:12:32 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 141007 13:12:32 [Note] Server socket created on IP: '0.0.0.0'. 141007 13:12:32 [Warning] 'user' entry 'root@juju-t-machine-9' ignored in --skip-name-resolve mode. 141007 13:12:32 [Warning] 'proxies_priv' entry '@ root@juju-t-machine-9' ignored in --skip-name-resolve mode. 141007 13:12:32 [Note] Event Scheduler: Loaded 0 events 141007 13:12:32 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.5.39-0ubuntu4-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu) 141007 13:12:33 [Note] /usr/sbin/mysqld: Normal shutdown 141007 13:12:33 [Note] Event Scheduler: Purging the queue. 0 events 141007 13:12:35 InnoDB: Starting shutdown... 141007 13:12:35 InnoDB: Shutdown completed; log sequence number 1595685 141007 13:12:35 [Note] /usr/sbin/mysqld: Shutdown complete 141007 13:12:35 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. 141007 13:12:35 [Note] Plugin 'FEDERATED' is disabled. 141007 13:12:35 InnoDB: The InnoDB memory heap is disabled 141007 13:12:35 InnoDB: Mutexes and rw_locks use GCC atomic builtins 141007 13:12:35 InnoDB: Compressed tables use zlib 1.2.8 141007 13:12:35 InnoDB: Using Linux native AIO 141007 13:12:35 InnoDB: Initializing buffer pool, size = 992.0M 141007 13:12:35 InnoDB: Completed initialization of buffer pool 141007 13:12:36 InnoDB: highest supported file format is Barracuda. 141007 13:12:36 InnoDB: Waiting for the background threads to start 141007 13:12:37 InnoDB: 5.5.39 started; log sequence number 1595685 141007 13:12:37 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 141007 13:12:37 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 141007 13:12:37 [Note] Server socket created on IP: '0.0.0.0'. 141007 13:12:37 [Warning] 'user' entry 'root@juju-t-machine-9' ignored in --skip-name-resolve mode. 141007 13:12:37 [Warning] 'proxies_priv' entry '@ root@juju-t-machine-9' ignored in --skip-name-resolve mode. 141007 13:12:37 [Note] Event Scheduler: Loaded 0 events 141007 13:12:37 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.5.39-0ubuntu4-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu) 141007 13:13:44 InnoDB: Assertion failure in thread 140682259949312 in file dict0dict.c line 2563 InnoDB: Failing assertion: UT_LIST_GET_LEN(table->referenced_list) == rbt_size(table->referenced_rbt) InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html InnoDB: about forcing recovery. 13:13:44 UTC - mysqld got signal 6 ; 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 read_buffer_size=131072 max_used_connections=7 max_threads=151 thread_count=6 connection_count=6 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 338508 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7ff32d4fa2a0 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = 7ff324215e98 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x20)[0x7ff3299112f0] /usr/sbin/mysqld(handle_fatal_signal+0x3d4)[0x7ff329802d94] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfc90)[0x7ff3285a3c90] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7ff327bf0d27] /lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7ff327bf2418] /usr/sbin/mysqld(+0x58a76d)[0x7ff3299c376d] /usr/sbin/mysqld(+0x59333d)[0x7ff3299cc33d] /usr/sbin/mysqld(+0x596507)[0x7ff3299cf507] /usr/sbin/mysqld(+0x51ae5d)[0x7ff329953e5d] /usr/sbin/mysqld(+0x500e1c)[0x7ff329939e1c] /usr/sbin/mysqld(_Z18mysql_rename_tableP10handlertonPKcS2_S2_S2_j+0x123)[0x7ff32977c673] /usr/sbin/mysqld(_Z17mysql_alter_tableP3THDPcS1_P24st_ha_create_informationP10TABLE_LISTP10Alter_infojP8st_orderb+0x1eb6)[0x7ff3297802a6] /usr/sbin/mysqld(_ZN21Alter_table_statement7executeEP3THD+0x48a)[0x7ff3298f5c3a] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x163f)[0x7ff32972018f] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x160)[0x7ff329725a60] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1bcd)[0x7ff329727d6d] /usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x176)[0x7ff3297b4386] /usr/sbin/mysqld(handle_one_connection+0x41)[0x7ff3297b43e1] /lib/x86_64-linux-gnu/libpthread.so.0(+0x80a5)[0x7ff32859c0a5] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7ff327cb484d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (7ff2c4004af0): is an invalid pointer Connection ID (thread ID): 85 Status: NOT_KILLED The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash. 141007 13:13:44 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. 141007 13:13:44 [Note] Plugin 'FEDERATED' is disabled. 141007 13:13:44 InnoDB: The InnoDB memory heap is disabled 141007 13:13:44 InnoDB: Mutexes and rw_locks use GCC atomic builtins 141007 13:13:44 InnoDB: Compressed tables use zlib 1.2.8 141007 13:13:44 InnoDB: Using Linux native AIO 141007 13:13:44 InnoDB: Initializing buffer pool, size = 992.0M 141007 13:13:44 InnoDB: Completed initialization of buffer pool 141007 13:13:44 InnoDB: highest supported file format is Barracuda. InnoDB: Log scan progressed past the checkpoint lsn 2328678 141007 13:13:44 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files... InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer... InnoDB: Doing recovery: scanned up to log sequence number 4412081 141007 13:13:44 InnoDB: Starting an apply batch of log records to the database... InnoDB: Progress in percents: 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 InnoDB: Apply batch completed InnoDB: Last MySQL binlog file position 0 627272, file name /var/log/mysql/mysql-bin.000002 141007 13:13:45 InnoDB: Waiting for the background threads to start 141007 13:13:46 InnoDB: 5.5.39 started; log sequence number 4412081 141007 13:13:46 [Note] Recovering after a crash using /var/log/mysql/mysql-bin 141007 13:13:46 [Note] Starting crash recovery... 141007 13:13:46 [Note] Crash recovery finished. 141007 13:13:46 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 141007 13:13:46 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 141007 13:13:46 [Note] Server socket created on IP: '0.0.0.0'. 141007 13:13:46 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired 141007 13:13:46 [Warning] Checking table: './mysql/user' 141007 13:13:46 [ERROR] 1 client is using or hasn't closed the table properly 141007 13:13:46 [ERROR] /usr/sbin/mysqld: Table './mysql/db' is marked as crashed and should be repaired 141007 13:13:46 [Warning] Checking table: './mysql/db' 141007 13:13:46 [ERROR] 1 client is using or hasn't closed the table properly 141007 13:13:46 [Warning] 'user' entry 'root@juju-t-machine-9' ignored in --skip-name-resolve mode. 141007 13:13:46 [Warning] 'proxies_priv' entry '@ root@juju-t-machine-9' ignored in --skip-name-resolve mode. 141007 13:13:46 [Note] Event Scheduler: Loaded 0 events 141007 13:13:46 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.5.39-0ubuntu4-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu) 141007 13:18:36 InnoDB: Assertion failure in thread 139656749573888 in file dict0dict.c line 2563 InnoDB: Failing assertion: UT_LIST_GET_LEN(table->referenced_list) == rbt_size(table->referenced_rbt) InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html InnoDB: about forcing recovery. 13:18:36 UTC - mysqld got signal 6 ; 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 read_buffer_size=131072 max_used_connections=13 max_threads=151 thread_count=13 connection_count=13 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 338508 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f04b1845050 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = 7f045ef2de98 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x20)[0x7f04ad8092f0] /usr/sbin/mysqld(handle_fatal_signal+0x3d4)[0x7f04ad6fad94] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfc90)[0x7f04ac49bc90] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f04abae8d27] /lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f04abaea418] /usr/sbin/mysqld(+0x58a76d)[0x7f04ad8bb76d] /usr/sbin/mysqld(+0x59333d)[0x7f04ad8c433d] /usr/sbin/mysqld(+0x596507)[0x7f04ad8c7507] /usr/sbin/mysqld(+0x51ae5d)[0x7f04ad84be5d] /usr/sbin/mysqld(+0x500e1c)[0x7f04ad831e1c] /usr/sbin/mysqld(_Z18mysql_rename_tableP10handlertonPKcS2_S2_S2_j+0x123)[0x7f04ad674673] /usr/sbin/mysqld(_Z17mysql_alter_tableP3THDPcS1_P24st_ha_create_informationP10TABLE_LISTP10Alter_infojP8st_orderb+0x1eb6)[0x7f04ad6782a6] /usr/sbin/mysqld(_ZN21Alter_table_statement7executeEP3THD+0x48a)[0x7f04ad7edc3a] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x163f)[0x7f04ad61818f] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x160)[0x7f04ad61da60] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1bcd)[0x7f04ad61fd6d] /usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x176)[0x7f04ad6ac386] /usr/sbin/mysqld(handle_one_connection+0x41)[0x7f04ad6ac3e1] /lib/x86_64-linux-gnu/libpthread.so.0(+0x80a5)[0x7f04ac4940a5] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f04abbac84d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (7f0444279920): is an invalid pointer Connection ID (thread ID): 76 Status: NOT_KILLED The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash. 141007 13:18:36 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. 141007 13:18:36 [Note] Plugin 'FEDERATED' is disabled. 141007 13:18:36 InnoDB: The InnoDB memory heap is disabled 141007 13:18:36 InnoDB: Mutexes and rw_locks use GCC atomic builtins 141007 13:18:36 InnoDB: Compressed tables use zlib 1.2.8 141007 13:18:36 InnoDB: Using Linux native AIO 141007 13:18:36 InnoDB: Initializing buffer pool, size = 992.0M 141007 13:18:36 InnoDB: Completed initialization of buffer pool 141007 13:18:36 InnoDB: highest supported file format is Barracuda. InnoDB: Log scan progressed past the checkpoint lsn 5944762 141007 13:18:36 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files... InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer... InnoDB: Doing recovery: scanned up to log sequence number 6675980 141007 13:18:36 InnoDB: Starting an apply batch of log records to the database... InnoDB: Progress in percents: 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 InnoDB: Apply batch completed InnoDB: Last MySQL binlog file position 0 255292, file name /var/log/mysql/mysql-bin.000003 141007 13:18:37 InnoDB: Waiting for the background threads to start 141007 13:18:38 InnoDB: 5.5.39 started; log sequence number 6675980 141007 13:18:38 [Note] Recovering after a crash using /var/log/mysql/mysql-bin 141007 13:18:38 [Note] Starting crash recovery... 141007 13:18:38 [Note] Crash recovery finished. 141007 13:18:38 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 141007 13:18:38 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 141007 13:18:38 [Note] Server socket created on IP: '0.0.0.0'. 141007 13:18:38 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired 141007 13:18:38 [Warning] Checking table: './mysql/user' 141007 13:18:38 [ERROR] 1 client is using or hasn't closed the table properly 141007 13:18:38 [ERROR] /usr/sbin/mysqld: Table './mysql/db' is marked as crashed and should be repaired 141007 13:18:38 [Warning] Checking table: './mysql/db' 141007 13:18:38 [ERROR] 1 client is using or hasn't closed the table properly 141007 13:18:38 [Warning] 'user' entry 'root@juju-t-machine-9' ignored in --skip-name-resolve mode. 141007 13:18:38 [Warning] 'proxies_priv' entry '@ root@juju-t-machine-9' ignored in --skip-name-resolve mode. 141007 13:18:38 [Note] Event Scheduler: Loaded 0 events 141007 13:18:38 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.5.39-0ubuntu4-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu)