MySQL broken, databases deleted - mysql

I use MySQL 5.6. One time my server was suddenly stopped. MySQL is not starting now. In the folder where databases folders and files was stored - all folders was disappeared and only folder "WARNINGS" is there. When I try to start mysql I am getting the next log:
2018-09-21 03:02:31 0 [Note] c:\ospanel\modules\database\MySQL-5.6-x64\bin\mysqld.exe (mysqld 5.6.38) starting as process 4600 ...
2018-09-21 03:02:31 4600 [Note] Plugin 'FEDERATED' is disabled.
c:\ospanel\modules\database\MySQL-5.6-x64\bin\mysqld.exe: Table 'mysql.plugin' doesn't exist
2018-09-21 03:02:31 4600 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2018-09-21 03:02:31 4600 [Note] InnoDB: Using atomics to ref count buffer pool pages
2018-09-21 03:02:31 4600 [Note] InnoDB: The InnoDB memory heap is disabled
2018-09-21 03:02:31 4600 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-09-21 03:02:31 4600 [Note] InnoDB: Memory barrier is not used
2018-09-21 03:02:31 4600 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-09-21 03:02:31 4600 [Note] InnoDB: Not using CPU crc32 instructions
2018-09-21 03:02:31 4600 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-09-21 03:02:31 4600 [Note] InnoDB: Completed initialization of buffer pool
2018-09-21 03:02:31 4600 [Note] InnoDB: Highest supported file format is Barracuda.
2018-09-21 03:02:31 4600 [Note] InnoDB: The log sequence numbers 633063664 and 633063664 in ibdata files do not match the log sequence number 633063674 in the ib_logfiles!
2018-09-21 03:02:31 4600 [Note] InnoDB: Database was not shutdown normally!
2018-09-21 03:02:31 4600 [Note] InnoDB: Starting crash recovery.
2018-09-21 03:02:31 4600 [Note] InnoDB: Reading tablespace information from the .ibd files...
2018-09-21 03:02:31 4600 [Note] InnoDB: Restoring possible half-written data pages
2018-09-21 03:02:31 4600 [Note] InnoDB: from the doublewrite buffer...
2018-09-21 03:02:32 4600 [Note] InnoDB: 128 rollback segment(s) are active.
2018-09-21 03:02:32 4600 [Note] InnoDB: Waiting for purge to start
2018-09-21 03:02:32 4600 [Note] InnoDB: 5.6.38 started; log sequence number 633063674
2018-09-21 03:02:32 4600 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
2018-09-21 03:02:32 4600 [Note] - '0.0.0.0' resolves to '0.0.0.0';
2018-09-21 03:02:32 4600 [Note] Server socket created on IP: '0.0.0.0'.
2018-09-21 03:02:32 4600 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
I have been trying mysql_upgrade, mysqld --initialize-insecure it doesn't help me.
My script feature is it running 16 threads 24 hours per day without stopping. So 16 connections are connected to DB everytime.
On mysql configuration I have set:
interactive_timeout=31536000
wait_timeout=2147483
And nothing more unusual.
I have this situation second time, when the DB was broken.
I want to know, why do I get this problem and how to solve it.

Related

MySql crashes multiple times in wordpress

Multisite mysql getting crashed multiples times.
AH01071: Got error 'PHP message: PHP Warning: mysqli_query(): MySQL server has gone away in /home/xxxxxxxx/www/wp-includes/wp-db.php on line 1925
PHP message: PHP Warning: mysqli_query(): Error reading result set's header in /home/xxxxxxxx/www/wp-includes/wp-db.php on line 1925
PHP message: PHP Warning: mysqli_real_connect(): (HY000/2002): Connection refused in /home/xxxxxxxx/www/wp-includes/wp-db.php on line 1531'
I don't find anything suspicious in the log
2020-02-06 6:18:28 140544489782656 [Note] Using unique option prefix 'myisam-recover' is error-prone and can break in the future. Please use the full name 'myisam-recover-options' instead.
2020-02-06 6:18:28 140544489782656 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2020-02-06 6:18:28 140544489782656 [Note] InnoDB: The InnoDB memory heap is disabled
2020-02-06 6:18:28 140544489782656 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-02-06 6:18:28 140544489782656 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2020-02-06 6:18:28 140544489782656 [Note] InnoDB: Compressed tables use zlib 1.2.8
2020-02-06 6:18:28 140544489782656 [Note] InnoDB: Using Linux native AIO
2020-02-06 6:18:28 140544489782656 [Note] InnoDB: Using SSE crc32 instructions
2020-02-06 6:18:28 140544489782656 [Note] InnoDB: Initializing buffer pool, size = 2.9G
2020-02-06 6:18:28 140544489782656 [Note] InnoDB: Completed initialization of buffer pool
2020-02-06 6:18:28 140544489782656 [Note] InnoDB: Highest supported file format is Barracuda.
2020-02-06 6:18:28 140544489782656 [Note] InnoDB: Starting crash recovery from checkpoint LSN=795526465769
2020-02-06 6:18:28 140544489782656 [Note] InnoDB: Restoring possible half-written data pages from the doublewrite buffer...
2020-02-06 6:18:29 140544489782656 [Note] InnoDB: Starting final batch to recover 11 pages from redo log
InnoDB: Last MySQL binlog file position 0 67151849, file name ./mysql-bin.007416
2020-02-06 6:18:29 140544489782656 [Note] InnoDB: 128 rollback segment(s) are active.
2020-02-06 6:18:29 140544489782656 [Note] InnoDB: Waiting for purge to start
2020-02-06 6:18:29 140544489782656 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-82.1 started; log sequence number 795526513845
2020-02-06 6:18:30 140539223574272 [Note] InnoDB: Dumping buffer pool(s) not yet started
2020-02-06 6:18:30 140544489782656 [Note] Plugin 'FEEDBACK' is disabled.
2020-02-06 6:18:30 140544489782656 [Note] Recovering after a crash using mysql-bin
2020-02-06 6:18:30 140544489782656 [Note] Starting crash recovery...
2020-02-06 6:18:30 140544489782656 [Note] Crash recovery finished.
2020-02-06 6:18:30 140544489782656 [Note] Server socket created on IP: '::'.
2020-02-06 6:18:30 140544489782656 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.1.26-MariaDB-0+deb9u1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Debian 9.1
Any help will be appreciated thanks.
How comes this happen? did change anything like prefix of wordpress, changes made to mysql or php version or any changes to server? may be those are the issues. Please provide the related information. Its due to corrupted database.
find wp-db.php and add this line $this->query("set session wait_timeout=300"); after $this->ready = true;
goto wp-config.php and add define('WP_ALLOW_REPAIR', true);
goto https://yourwebsite.com/wp-admin/maint/repair.php and click repair your database
or simply upload old backup

Error: MySQL shutdown unexpectedly after starting mysql service in xampp

Sorry for my English. I have some problem in starting mysql service on Xampp control panel. I follow the steps from this site https://gist.github.com/odan/c799417460470c3776ffa8adce57eece because I want use mysql as type server on phpmyadmin and not mariadb as a default.
I followed those steps once and it worked but because of some reasons I had to unistall Xampp and mysql server, and now I can't start it. I've already read some questions but none of them helped me at all.
The error that appear at console is:
20:12:28 [mysql] Error: MySQL shutdown unexpectedly.
20:12:28 [mysql] This may be due to a blocked port, missing dependencies,
20:12:28 [mysql] improper privileges, a crash, or a shutdown by another method.
20:12:28 [mysql] Press the Logs button to view error logs and check
20:12:28 [mysql] the Windows Event Viewer for more clues
20:12:28 [mysql] If you need more help, copy and post this
20:12:28 [mysql] entire log window on the forums
The error log is:
2015-11-10 15:26:56 10fc InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2015-11-10 15:26:56 4348 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2015-11-10 15:26:56 4348 [Note] InnoDB: The InnoDB memory heap is disabled
2015-11-10 15:26:56 4348 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-11-10 15:26:56 4348 [Note] InnoDB: Memory barrier is not used
2015-11-10 15:26:56 4348 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-11-10 15:26:56 4348 [Note] InnoDB: Not using CPU crc32 instructions
2015-11-10 15:26:56 4348 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-11-10 15:26:56 4348 [Note] InnoDB: Completed initialization of buffer pool
2015-11-10 15:26:56 4348 [Note] InnoDB: Highest supported file format is Barracuda.
2015-11-10 15:26:57 4348 [Note] InnoDB: 128 rollback segment(s) are active.
2015-11-10 15:26:57 4348 [Note] InnoDB: Waiting for purge to start
2015-11-10 15:26:57 4348 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-74.0 started; log sequence number 1835027
2015-11-10 15:26:57 6140 [Note] InnoDB: Dumping buffer pool(s) not yet started
2015-11-10 15:26:57 4348 [Note] Plugin 'FEEDBACK' is disabled.
2015-11-10 15:26:57 4348 [Note] Server socket created on IP: '::'.
2015-11-10 15:26:57 4348 [Note] Event Scheduler: Loaded 0 events
2015-11-10 15:26:57 4348 [Note] C:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '10.1.8-MariaDB' socket: '' port: 3306 mariadb.org binary distribution
2015-11-10 15:27:11 5152 [Note] C:\xampp\mysql\bin\mysqld.exe: Normal shutdown
2015-11-10 15:27:11 5152 [Note] Event Scheduler: Purging the queue. 0 events
2015-11-10 15:27:11 5732 [Note] InnoDB: FTS optimize thread exiting.
2015-11-10 15:27:11 5152 [Note] InnoDB: Starting shutdown...
2015-11-10 15:27:13 5152 [Note] InnoDB: Shutdown completed; log sequence number 1835037
2015-11-10 15:27:13 5152 [Note] C:\xampp\mysql\bin\mysqld.exe: Shutdown complete
2018-06-10 18:38:54 30a8 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2018-06-10 18:38:54 12456 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-06-10 18:38:54 12456 [Note] InnoDB: The InnoDB memory heap is disabled
2018-06-10 18:38:54 12456 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-06-10 18:38:54 12456 [Note] InnoDB: Memory barrier is not used
2018-06-10 18:38:54 12456 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-06-10 18:38:54 12456 [Note] InnoDB: Using generic crc32 instructions
2018-06-10 18:38:54 12456 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2018-06-10 18:38:54 12456 [Note] InnoDB: Completed initialization of buffer pool
2018-06-10 18:38:54 12456 [Note] InnoDB: Highest supported file format is Barracuda.
2018-06-10 18:38:56 12456 [Note] InnoDB: 128 rollback segment(s) are active.
2018-06-10 18:38:56 12456 [Note] InnoDB: Waiting for purge to start
2018-06-10 18:38:56 12456 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.28-76.1 started; log sequence number 1835037
2018-06-10 18:38:56 12624 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-06-10 18:38:56 12456 [Note] Plugin 'FEEDBACK' is disabled.
2018-06-10 18:38:56 12456 [Note] Server socket created on IP: '::'.
2018-06-10 18:38:56 12456 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '10.1.13-MariaDB' socket: '' port: 3306 mariadb.org binary distribution
2018-06-10 18:41:15 12648 [Note] c:\xampp\mysql\bin\mysqld.exe: Normal shutdown
2018-06-10 18:41:15 12648 [Note] Event Scheduler: Purging the queue. 0 events
2018-06-10 18:41:16 12632 [Note] InnoDB: FTS optimize thread exiting.
2018-06-10 18:41:16 12648 [Note] InnoDB: Starting shutdown...
2018-06-10 18:41:17 12648 [Note] InnoDB: Shutdown completed; log sequence number 1836500
2018-06-10 18:41:17 12648 [Note] c:\xampp\mysql\bin\mysqld.exe: Shutdown complete
2018-06-10 18:41:27 31fc InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2018-06-10 18:41:27 12796 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-06-10 18:41:27 12796 [Note] InnoDB: The InnoDB memory heap is disabled
2018-06-10 18:41:27 12796 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-06-10 18:41:27 12796 [Note] InnoDB: Memory barrier is not used
2018-06-10 18:41:27 12796 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-06-10 18:41:27 12796 [Note] InnoDB: Using generic crc32 instructions
2018-06-10 18:41:27 12796 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2018-06-10 18:41:27 12796 [Note] InnoDB: Completed initialization of buffer pool
2018-06-10 18:41:27 12796 [Note] InnoDB: Highest supported file format is Barracuda.
2018-06-10 18:41:28 12796 [Note] InnoDB: 128 rollback segment(s) are active.
2018-06-10 18:41:28 12796 [Note] InnoDB: Waiting for purge to start
2018-06-10 18:41:28 12796 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.28-76.1 started; log sequence number 1836500
2018-06-10 18:41:28 14076 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-06-10 18:41:28 12796 [Note] Plugin 'FEEDBACK' is disabled.
2018-06-10 18:41:28 12796 [Note] Server socket created on IP: '::'.
2018-06-10 18:41:29 12796 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '10.1.13-MariaDB' socket: '' port: 3306 mariadb.org binary distribution
2018-06-10 18:41:49 13408 [Note] c:\xampp\mysql\bin\mysqld.exe: Normal shutdown
2018-06-10 18:41:49 13408 [Note] Event Scheduler: Purging the queue. 0 events
2018-06-10 18:41:49 13876 [Note] InnoDB: FTS optimize thread exiting.
2018-06-10 18:41:49 13408 [Note] InnoDB: Starting shutdown...
2018-06-10 18:41:50 13408 [Note] InnoDB: Shutdown completed; log sequence number 1836510
2018-06-10 18:41:50 13408 [Note] c:\xampp\mysql\bin\mysqld.exe: Shutdown complete
I will be very grateful if someone can help me.

XAMPP: mariadb takes a long time to connect to the port (about 60 sec)

I open the XAMPP (7.0.23) Control Panel (v.3.2.2) and start Apache and MySql. Apache connects immediately, but MySql takes a long time to display the port (3306) on the panel and start the connection. I already changed the MySql port for others but it did not work. I've also reinstalled XAMPP twice without success.
Using Win 10.
Follow the log:
2017-09-22 8:59:11 9704 [Note] InnoDB: Using mutexes to ref count
buffer pool pages
2017-09-22 8:59:11 9704 [Note] InnoDB: The InnoDB memory heap is
disabled
2017-09-22 8:59:11 9704 [Note] InnoDB: Mutexes and rw_locks use
Windows interlocked functions
2017-09-22 8:59:11 9704 [Note] InnoDB: _mm_lfence() and _mm_sfence()
are used for memory barrier
2017-09-22 8:59:11 9704 [Note] InnoDB: Compressed tables use zlib
1.2.3
2017-09-22 8:59:11 9704 [Note] InnoDB: Using generic crc32
instructions
2017-09-22 8:59:11 9704 [Note] InnoDB: Initializing buffer pool, size
= 16.0M
2017-09-22 8:59:11 9704 [Note] InnoDB: Completed initialization of
buffer pool
2017-09-22 8:59:11 9704 [Note] InnoDB: Highest supported file format
is Barracuda.
2017-09-22 8:59:12 9704 [Note] InnoDB: The log sequence number
1835037 in ibdata file do not match the log sequence number 131851166
in the ib_logfiles!
2017-09-22 8:59:28 9704 [Note] InnoDB: Processed 1298 .ibd/.isl files
2017-09-22 8:59:35 9704 [Note] InnoDB: Restoring possible
half-written data pages from the doublewrite buffer...
2017-09-22 8:59:36 9704 [Note] InnoDB: Read redo log up to
LSN=131851264
2017-09-22 9:00:01 9704 [Note] InnoDB: 128 rollback segment(s) are
active.
2017-09-22 9:00:01 9704 [Note] InnoDB: Waiting for purge to start
2017-09-22 9:00:01 9704 [Note] InnoDB: Percona XtraDB
(http://www.percona.com) 5.6.36-82.1 started; log sequence number
131851166
2017-09-22 9:00:01 10900 [Note] InnoDB: Dumping buffer pool(s) not
yet started 2017-09-22 9:00:01 9704 [Note] Plugin 'FEEDBACK' is
disabled.
2017-09-22 9:00:01 9704 [Note] Server socket created on IP: '::'.
2017-09-22 9:00:02 9704 [Note] c:\xampp\mysql\bin\mysqld.exe: ready
for connections.
Version: '10.1.26-MariaDB' socket: '' port: 3306 mariadb.org binary
distribution
Tks.

MySQL not starting after PHPMyAdmin update on XAMPP

I'm a .NET developer trying to develop some PHP applications.
I installed XAMPP on Windows without problems, then started correctly Apache and MySQL.
After that, to update my PHPMyAdmin version, I followed the following article:
https://www.ostraining.com/blog/coding/update-phpmyadmin/
But after that my MySQL service is not starting anymore. If I open the log I read the following rows:
2016-12-21 23:22:26 21c4 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2016-12-21 23:22:26 8644 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.
2016-12-21 23:22:26 8644 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-12-21 23:22:26 8644 [Note] InnoDB: The InnoDB memory heap is disabled
2016-12-21 23:22:26 8644 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2016-12-21 23:22:26 8644 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2016-12-21 23:22:26 8644 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-12-21 23:22:26 8644 [Note] InnoDB: Using generic crc32 instructions
2016-12-21 23:22:26 8644 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2016-12-21 23:22:26 8644 [Note] InnoDB: Completed initialization of buffer pool
2016-12-21 23:22:26 8644 [Note] InnoDB: Highest supported file format is Barracuda.
2016-12-21 23:22:26 8644 [Note] InnoDB: The log sequence numbers 115186280 and 115186280 in ibdata files do not match the log sequence number 115186320 in the ib_logfiles!
2016-12-21 23:22:26 8644 [Note] InnoDB: Database was not shutdown normally!
2016-12-21 23:22:26 8644 [Note] InnoDB: Starting crash recovery.
2016-12-21 23:22:26 8644 [Note] InnoDB: Reading tablespace information from the .ibd files...
2016-12-21 23:22:26 8644 [Note] InnoDB: Restoring possible half-written data pages
2016-12-21 23:22:26 8644 [Note] InnoDB: from the doublewrite buffer...
2016-12-21 23:22:26 8644 [Note] InnoDB: 128 rollback segment(s) are active.
2016-12-21 23:22:26 8644 [Note] InnoDB: Waiting for purge to start
2016-12-21 23:22:26 8644 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.32-79.0 started; log sequence number 115186320
2016-12-21 23:22:26 7700 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-12-21 23:22:26 8644 [Note] Plugin 'FEEDBACK' is disabled.
2016-12-21 23:22:26 8644 [Note] Server socket created on IP: '::'.
2016-12-21 23:22:26 8644 [ERROR] Fatal error: mysql.user table is damaged or in unsupported 3.20 format.
Anyone had the same problem?
Thanks in advance
EDIT
As someone pointed out, my error is the same as Making MySQL work with utf-8 in my.cnf configuration file
However the solution for such case is not working for me.
I tried to execute the mysql_upgrade but the command is obviously not working because the mysql service is stopped.
EDIT
I reinstalled XAMPP from scratch and, like previous times, it started correctly. However, after a couple restarts it is not starting anymore (always the same error).

MySQL 5.6 crashes often after upgrade

I noticed in WHM that MySQL 5.5 has an EOL December of 15' and I upgraded to 5.6 and now MySQL crashes at least twice a day, but it restarts after failing.
Here is a sampling of the error log.
Any idea what is going on?
Thank you.
8/23/15
Here is another sampling of the error log.
InnoDB: Doing recovery: scanned up to log sequence number 579981897
2015-08-21 20:58:00 9080 [Note] InnoDB: 128 rollback segment(s) are active.
2015-08-21 20:58:00 9080 [Note] InnoDB: Waiting for purge to start
2015-08-21 20:58:00 9080 [Note] InnoDB: 5.6.23 started; log sequence number 579981897
2015-08-21 20:58:00 9080 [Note] Server hostname (bind-address): '*'; port: 3306
2015-08-21 20:58:00 9080 [Note] IPv6 is not available.
2015-08-21 20:58:00 9080 [Note] - '0.0.0.0' resolves to '0.0.0.0';
2015-08-21 20:58:00 9080 [Note] Server socket created on IP: '0.0.0.0'.
2015-08-21 20:58:00 9080 [Note] Event Scheduler: Loaded 0 events
2015-08-21 20:58:00 9080 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.6.23' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
150821 23:25:59 mysqld_safe Number of processes running now: 0
150821 23:25:59 mysqld_safe mysqld restarted
2015-08-21 23:25:59 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-08-21 23:25:59 13544 [Note] Plugin 'FEDERATED' is disabled.
2015-08-21 23:25:59 13544 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-08-21 23:25:59 13544 [Note] InnoDB: The InnoDB memory heap is disabled
2015-08-21 23:25:59 13544 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-08-21 23:25:59 13544 [Note] InnoDB: Memory barrier is not used
2015-08-21 23:25:59 13544 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-08-21 23:25:59 13544 [Note] InnoDB: Using Linux native AIO
2015-08-21 23:25:59 13544 [Note] InnoDB: Using CPU crc32 instructions
2015-08-21 23:25:59 13544 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-08-21 23:25:59 13544 [Note] InnoDB: Completed initialization of buffer pool
2015-08-21 23:25:59 13544 [Note] InnoDB: Highest supported file format is Barracuda.
2015-08-21 23:25:59 13544 [Note] InnoDB: Log scan progressed past the checkpoint lsn 581241150
2015-08-21 23:25:59 13544 [Note] InnoDB: Database was not shutdown normally!
2015-08-21 23:25:59 13544 [Note] InnoDB: Starting crash recovery.
2015-08-21 23:25:59 13544 [Note] InnoDB: Reading tablespace information from the .ibd files...
2015-08-21 23:25:59 13544 [Note] InnoDB: Restoring possible half-written data pages
2015-08-21 23:25:59 13544 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 581282693
2015-08-21 23:25:59 13544 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 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
2015-08-21 23:26:00 13544 [Note] InnoDB: 128 rollback segment(s) are active.
2015-08-21 23:26:00 13544 [Note] InnoDB: Waiting for purge to start
2015-08-21 23:26:00 13544 [Note] InnoDB: 5.6.23 started; log sequence number 581282693
2015-08-21 23:26:00 13544 [Note] Server hostname (bind-address): '*'; port: 3306
2015-08-21 23:26:00 13544 [Note] IPv6 is not available.
2015-08-21 23:26:00 13544 [Note] - '0.0.0.0' resolves to '0.0.0.0';
2015-08-21 23:26:00 13544 [Note] Server socket created on IP: '0.0.0.0'.
2015-08-21 23:26:00 13544 [Note] Event Scheduler: Loaded 0 events
2015-08-21 23:26:00 13544 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.6.23' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
2015-08-22 02:36:21 13544 [Warning] IP address '223.100.49.242' could not be resolved: Temporary failure in name resolution
2015-08-22 02:36:56 13544 [Warning] IP address '223.100.49.242' could not be resolved: Temporary failure in name resolution
2015-08-22 02:37:23 13544 [Warning] IP address '223.100.49.242' could not be resolved: Temporary failure in name resolution
2015-08-22 11:27:54 13544 [Warning] IP address '122.224.6.150' could not be resolved: Name or service not known
150822 20:54:11 mysqld_safe Number of processes running now: 0
150822 20:54:11 mysqld_safe mysqld restarted
2015-08-22 20:54:11 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-08-22 20:54:11 15947 [Note] Plugin 'FEDERATED' is disabled.
2015-08-22 20:54:11 15947 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-08-22 20:54:11 15947 [Note] InnoDB: The InnoDB memory heap is disabled
2015-08-22 20:54:11 15947 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-08-22 20:54:11 15947 [Note] InnoDB: Memory barrier is not used
2015-08-22 20:54:11 15947 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-08-22 20:54:11 15947 [Note] InnoDB: Using Linux native AIO
2015-08-22 20:54:11 15947 [Note] InnoDB: Using CPU crc32 instructions
2015-08-22 20:54:11 15947 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-08-22 20:54:11 15947 [Note] InnoDB: Completed initialization of buffer pool
2015-08-22 20:54:11 15947 [Note] InnoDB: Highest supported file format is Barracuda.
2015-08-22 20:54:11 15947 [Note] InnoDB: The log sequence numbers 506046855 and 506046855 in ibdata files do not match the log sequence number 589358444 in the ib_logfiles!
2015-08-22 20:54:11 15947 [Note] InnoDB: Database was not shutdown normally!
2015-08-22 20:54:11 15947 [Note] InnoDB: Starting crash recovery.
2015-08-22 20:54:11 15947 [Note] InnoDB: Reading tablespace information from the .ibd files...
2015-08-22 20:54:12 15947 [Note] InnoDB: Restoring possible half-written data pages
2015-08-22 20:54:12 15947 [Note] InnoDB: from the doublewrite buffer...
2015-08-22 20:54:13 15947 [Note] InnoDB: 128 rollback segment(s) are active.
2015-08-22 20:54:13 15947 [Note] InnoDB: Waiting for purge to start
2015-08-22 20:54:13 15947 [Note] InnoDB: 5.6.23 started; log sequence number 589358444
2015-08-22 20:54:13 15947 [Note] Server hostname (bind-address): '*'; port: 3306
2015-08-22 20:54:13 15947 [Note] IPv6 is not available.
2015-08-22 20:54:13 15947 [Note] - '0.0.0.0' resolves to '0.0.0.0';
2015-08-22 20:54:13 15947 [Note] Server socket created on IP: '0.0.0.0'.
2015-08-22 20:54:13 15947 [Note] Event Scheduler: Loaded 0 events
2015-08-22 20:54:13 15947 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.6.23' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
150822 20:54:13 mysqld_safe Number of processes running now: 0
150822 20:54:13 mysqld_safe mysqld restarted
2015-08-22 20:54:13 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-08-22 20:54:13 15983 [Note] Plugin 'FEDERATED' is disabled.
2015-08-22 20:54:13 15983 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-08-22 20:54:13 15983 [Note] InnoDB: The InnoDB memory heap is disabled
2015-08-22 20:54:13 15983 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-08-22 20:54:13 15983 [Note] InnoDB: Memory barrier is not used
2015-08-22 20:54:13 15983 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-08-22 20:54:13 15983 [Note] InnoDB: Using Linux native AIO
2015-08-22 20:54:13 15983 [Note] InnoDB: Using CPU crc32 instructions
2015-08-22 20:54:13 15983 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-08-22 20:54:13 15983 [Note] InnoDB: Completed initialization of buffer pool
2015-08-22 20:54:13 15983 [Note] InnoDB: Highest supported file format is Barracuda.
2015-08-22 20:54:13 15983 [Note] InnoDB: The log sequence numbers 506046855 and 506046855 in ibdata files do not match the log sequence number 589358444 in the ib_logfiles!
2015-08-22 20:54:13 15983 [Note] InnoDB: Database was not shutdown normally!
2015-08-22 20:54:13 15983 [Note] InnoDB: Starting crash recovery.
2015-08-22 20:54:13 15983 [Note] InnoDB: Reading tablespace information from the .ibd files...
2015-08-22 20:54:13 15983 [Note] InnoDB: Restoring possible half-written data pages
2015-08-22 20:54:13 15983 [Note] InnoDB: from the doublewrite buffer...
2015-08-22 20:54:14 15983 [Note] InnoDB: 128 rollback segment(s) are active.
2015-08-22 20:54:14 15983 [Note] InnoDB: Waiting for purge to start
2015-08-22 20:54:14 15983 [Note] InnoDB: 5.6.23 started; log sequence number 589358444
2015-08-22 20:54:14 15983 [Note] Server hostname (bind-address): '*'; port: 3306
2015-08-22 20:54:14 15983 [Note] IPv6 is not available.
2015-08-22 20:54:14 15983 [Note] - '0.0.0.0' resolves to '0.0.0.0';
2015-08-22 20:54:14 15983 [Note] Server socket created on IP: '0.0.0.0'.
2015-08-22 20:54:14 15983 [Note] Event Scheduler: Loaded 0 events
2015-08-22 20:54:14 15983 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.6.23' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
2015-08-22 21:28:15 15983 [Warning] IP address '221.229.162.143' could not be resolved: Name or service not known
150822 23:04:56 mysqld_safe Number of processes running now: 0
150822 23:04:56 mysqld_safe mysqld restarted
2015-08-22 23:04:56 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-08-22 23:04:56 19131 [Note] Plugin 'FEDERATED' is disabled.
2015-08-22 23:04:56 19131 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-08-22 23:04:56 19131 [Note] InnoDB: The InnoDB memory heap is disabled
2015-08-22 23:04:56 19131 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-08-22 23:04:56 19131 [Note] InnoDB: Memory barrier is not used
2015-08-22 23:04:56 19131 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-08-22 23:04:56 19131 [Note] InnoDB: Using Linux native AIO
2015-08-22 23:04:56 19131 [Note] InnoDB: Using CPU crc32 instructions
2015-08-22 23:04:56 19131 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-08-22 23:04:57 19131 [Note] InnoDB: Completed initialization of buffer pool
2015-08-22 23:04:57 19131 [Note] InnoDB: Highest supported file format is Barracuda.
2015-08-22 23:04:57 19131 [Note] InnoDB: Log scan progressed past the checkpoint lsn 590358682
2015-08-22 23:04:57 19131 [Note] InnoDB: Database was not shutdown normally!
2015-08-22 23:04:57 19131 [Note] InnoDB: Starting crash recovery.
2015-08-22 23:04:57 19131 [Note] InnoDB: Reading tablespace information from the .ibd files...
2015-08-22 23:04:57 19131 [Note] InnoDB: Restoring possible half-written data pages
2015-08-22 23:04:57 19131 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 590373690
2015-08-22 23:04:57 19131 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 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
2015-08-22 23:04:57 19131 [Note] InnoDB: 128 rollback segment(s) are active.
2015-08-22 23:04:57 19131 [Note] InnoDB: Waiting for purge to start
2015-08-22 23:04:57 19131 [Note] InnoDB: 5.6.23 started; log sequence number 590373690
2015-08-22 23:04:57 19131 [Note] Server hostname (bind-address): '*'; port: 3306
2015-08-22 23:04:57 19131 [Note] IPv6 is not available.
2015-08-22 23:04:57 19131 [Note] - '0.0.0.0' resolves to '0.0.0.0';
2015-08-22 23:04:57 19131 [Note] Server socket created on IP: '0.0.0.0'.
2015-08-22 23:04:57 19131 [Note] Event Scheduler: Loaded 0 events
2015-08-22 23:04:57 19131 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.6.23' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
2015-08-23 02:42:47 19131 [Warning] IP address '221.229.162.143' could not be resolved: Name or service not known
2015-08-23 10:27:43 19131 [Warning] Hostname 'unassigned.psychz.net' does not resolve to '45.34.1.137'.
2015-08-23 10:27:43 19131 [Note] Hostname 'unassigned.psychz.net' has the following IP addresses:
2015-08-23 10:27:43 19131 [Note] - 199.15.112.8
2015-08-23 20:42:45 19131 [Warning] IP address '60.191.129.138' could not be resolved: Name or service not known
150823 20:54:08 mysqld_safe Number of processes running now: 0
150823 20:54:08 mysqld_safe mysqld restarted
2015-08-23 20:54:08 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-08-23 20:54:08 9837 [Note] Plugin 'FEDERATED' is disabled.
2015-08-23 20:54:08 9837 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-08-23 20:54:08 9837 [Note] InnoDB: The InnoDB memory heap is disabled
2015-08-23 20:54:08 9837 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-08-23 20:54:08 9837 [Note] InnoDB: Memory barrier is not used
2015-08-23 20:54:08 9837 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-08-23 20:54:08 9837 [Note] InnoDB: Using Linux native AIO
2015-08-23 20:54:08 9837 [Note] InnoDB: Using CPU crc32 instructions
2015-08-23 20:54:08 9837 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-08-23 20:54:08 9837 [Note] InnoDB: Completed initialization of buffer pool
2015-08-23 20:54:08 9837 [Note] InnoDB: Highest supported file format is Barracuda.
2015-08-23 20:54:08 9837 [Note] InnoDB: The log sequence numbers 506046855 and 506046855 in ibdata files do not match the log sequence number 599201345 in the ib_logfiles!
2015-08-23 20:54:08 9837 [Note] InnoDB: Database was not shutdown normally!
2015-08-23 20:54:08 9837 [Note] InnoDB: Starting crash recovery.
2015-08-23 20:54:08 9837 [Note] InnoDB: Reading tablespace information from the .ibd files...
2015-08-23 20:54:08 9837 [Note] InnoDB: Restoring possible half-written data pages
2015-08-23 20:54:08 9837 [Note] InnoDB: from the doublewrite buffer...
150823 20:54:08 mysqld_safe mysqld from pid file /var/lib/mysql/{hostname}.pid ended
150823 20:57:33 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2015-08-23 20:57:34 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-08-23 20:57:34 10285 [Note] Plugin 'FEDERATED' is disabled.
2015-08-23 20:57:34 10285 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-08-23 20:57:34 10285 [Note] InnoDB: The InnoDB memory heap is disabled
2015-08-23 20:57:34 10285 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-08-23 20:57:34 10285 [Note] InnoDB: Memory barrier is not used
2015-08-23 20:57:34 10285 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-08-23 20:57:34 10285 [Note] InnoDB: Using Linux native AIO
2015-08-23 20:57:34 10285 [Note] InnoDB: Using CPU crc32 instructions
2015-08-23 20:57:34 10285 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-08-23 20:57:34 10285 [Note] InnoDB: Completed initialization of buffer pool
2015-08-23 20:57:34 10285 [Note] InnoDB: Highest supported file format is Barracuda.
2015-08-23 20:57:34 10285 [Note] InnoDB: The log sequence numbers 506046855 and 506046855 in ibdata files do not match the log sequence number 599201345 in the ib_logfiles!
2015-08-23 20:57:34 10285 [Note] InnoDB: Database was not shutdown normally!
2015-08-23 20:57:34 10285 [Note] InnoDB: Starting crash recovery.
2015-08-23 20:57:34 10285 [Note] InnoDB: Reading tablespace information from the .ibd files...
2015-08-23 20:57:34 10285 [Note] InnoDB: Restoring possible half-written data pages
2015-08-23 20:57:34 10285 [Note] InnoDB: from the doublewrite buffer...
2015-08-23 20:57:34 10285 [Note] InnoDB: 128 rollback segment(s) are active.
2015-08-23 20:57:34 10285 [Note] InnoDB: Waiting for purge to start
2015-08-23 20:57:34 10285 [Note] InnoDB: 5.6.23 started; log sequence number 599201345
2015-08-23 20:57:34 10285 [Note] Server hostname (bind-address): '*'; port: 3306
2015-08-23 20:57:34 10285 [Note] IPv6 is not available.
2015-08-23 20:57:34 10285 [Note] - '0.0.0.0' resolves to '0.0.0.0';
2015-08-23 20:57:34 10285 [Note] Server socket created on IP: '0.0.0.0'.
2015-08-23 20:57:34 10285 [Note] Event Scheduler: Loaded 0 events
2015-08-23 20:57:34 10285 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.6.23' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
MySQL 5.6 is not supposed to use 5.5 unmodified data files - the format changes in every version and, sometimes, it changes even for patch versions.
After an upgrade you should run mysql_upgrade. Then, you can use your database normally.
First item of action would be to disconnect from your website immediately to prevent further corruption. One way to do this is to just alter the credentials of your application.
You'll need to perform a repair of the data to fix the inconsistencies in the binary logs.
Please refer to this article from MySql, which provides steps to repair. The tool mysqlcheck should be available in the command line.