Hi, mysql was working earlier. We ran pkg upgrade and many packages were upgraded. Noticed that there was no /usr/local/etc/mysql-server but mysql was running.
Installed (pkg install mysql57-server) and ran
It did not restart. Tried pkg remove mysql57-server and install it via ports (/usr/ports/databases/mysql57-server). Same result, mysql doesn't start.
Looked at the .err file in /var/db/mysql/ and see the following:
I don't recall installing any CSV plugin.
Any idea on how to get mysql working again?
Thank you!
Installed (pkg install mysql57-server) and ran
/usr/local/etc/rc.d.mysql-server restartIt did not restart. Tried pkg remove mysql57-server and install it via ports (/usr/ports/databases/mysql57-server). Same result, mysql doesn't start.
Looked at the .err file in /var/db/mysql/ and see the following:
Code:
2019-07-12T19:56:30.385045Z 0 [Warning] Could not increase number of max_open_files to more than 32768 (request: 32929)
2019-07-12T19:56:30.385351Z 0 [Warning] Changed limits: table_open_cache: 16303 (requested 16384)
2019-07-12T19:56:30.653450Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2019-07-12T19:56:30.653486Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set.
2019-07-12T19:56:30.657419Z 0 [Note] /usr/local/libexec/mysqld (mysqld 5.7.26-log) starting as process 5797 ...
2019-07-12T19:56:30.722833Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-07-12T19:56:30.722922Z 0 [Note] InnoDB: Uses event mutexes
2019-07-12T19:56:30.722950Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2019-07-12T19:56:30.722973Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-07-12T19:56:30.723593Z 0 [Note] InnoDB: Number of pools: 1
2019-07-12T19:56:30.723806Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2019-07-12T19:56:30.727422Z 0 [Note] InnoDB: Initializing buffer pool, total size = 1G, instances = 8, chunk size = 128M
2019-07-12T19:56:30.981403Z 0 [Note] InnoDB: Completed initialization of buffer pool
2019-07-12T19:56:31.014799Z 0 [ERROR] InnoDB: The Auto-extending innodb_system data file '/var/db/mysql/ibdata1' is of a different size 4864 pages (rounded down to MB) than specified in the .cnf file: initial 8192 pages, max 0 (relevant if non-zero) pages!
2019-07-12T19:56:31.014862Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2019-07-12T19:56:31.229626Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2019-07-12T19:56:31.229661Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2019-07-12T19:56:31.229683Z 0 [ERROR] Failed to initialize builtin plugins.
2019-07-12T19:56:31.229698Z 0 [ERROR] Aborting
2019-07-12T19:56:31.229733Z 0 [Note] Binlog end
2019-07-12T19:56:31.229825Z 0 [Note] Shutting down plugin 'CSV'
2019-07-12T19:56:31.238267Z 0 [Note] /usr/local/libexec/mysqld: Shutdown complete
Any idea on how to get mysql working again?
Thank you!
Last edited by a moderator: