Hi, My mysql server stopped working. I updated to the latest mysql 5.1.36 version.
I need help on fixing the issues.
Here's the error logs:
MYSQL eeror log:
If you look at the log it looks like I have to run mysql_upgrade.
I updated mysql from mysql 5.6 to mysql 5.7. I read online that mysql_upgrade is used for older versions and with the newer versions it's not needed. The upgrade or update does it automatically.
I need to know what should I be doing? The mysql.backup is the name of the folder. I have a folder for mysql and mysql.backup and mysql.backup2 I just have made copies of the folder just in case I screw something. So mysql is config to look at mysql.backup folder as a live location to lookup databases info.
I have no clue what to do or how to do it and need guidance. I am guessing I have to run the mysql_upgrade to reconstruct the database files? Let me know what I need to do to get my server back up and running.
Thanks
I need help on fixing the issues.
Here's the error logs:
MYSQL eeror log:
Code:
mysqld_safe Starting mysqld daemon with databases from /var/db/mysql.backup
ld-elf.so.1: Shared object "liblz4.so.1" not found, required by "mysqld"
mysqld_safe mysqld from pid file /var/db/mysql.backup/host.com.pid ended
/usr/local/libeec/mysqld (mysqld 5.7.36-log) starting process as 13470 ...
[ERROR] Can't find error-message file '/usr/local/etc/mysql/share/mysqlerrmsg.sys'. heck error-message file location and 'lc-messages-dir' confirguation directive.
0 [Note] InnoDB: Mutexes and rq_locks use GCC atomic builtins
0 [Note] InnoDB: Uses event mutexes
0 [Note] InnoDB: GCC builtin __atomic_thread_fense() is used for memory barrier
0 [Note] InnoDB: Compressed tables use zlib 1.2.11
0 [Note] InnoDB: Number of pools: 1
0 [Note] InnoDB: Note using CPU crc32 instructions
0 [Note] InnoDB: Initializing buffer pool, total size= 128m, instances=1, chunk ize=128m
0 [Note] InnoDB: Completed initialization of buffer pool
0 [Note} InnoDB: Highest upported file format is Barracuda.
0 [Note] InnoDB: Creating shared tablespace for temporary tables
0 [Note] InnoDB: Setting file './ibtmp1' size to 12mb. Physically writing the file full; Pleae wait ...
0 [Note] InnoDB: File './ibtmp1' size is now 12mb
0 [Note] InnoDB: 96 redo rollback segment(s) found
96 redo rollback segment(s) are active.
0 [Note] InnoDB: 32 non-redo rollback segment(s) are active
0 [Note] InnoDB: Waiting for purge to start
0 [Note] InnoDB: 5.7.36 started; log sequence number 1210135
0 [Note] InnoDB: Loading buffer pool(s) from /var/db/mysql.backup/ib_buffer_pool
0 [Note] InnoDB: Butter Pool(s) loaded completed at 211222
0 [Note] InnoDB: Plugin 'FEDERATED' is disabled
0 [Note] InnoDB: Cannot open table mysql/plugin from the internal data dictionary of InnoDB though the .frm file for the table exists.
Please refer to [URL]http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting.html[/URL] for how to resolve the issue.
mysqld: Unknown error 1146
0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
0 [ERROR] Too many arguments ( first extra is 'start').
0 [Note] Use --verbose --help to get a list of available options!
0 [ERROR] Aborting
0 [Note] Binlog end
0 [Note] shutting down plugin 'ngram'
0 [Note] shutting down plugin 'partition'
0 [Note] shutting down plugin 'BLACKHOLE'
0 [Note] shutting down plugin 'ARCHIVE'
0 [Note] shutting down plugin 'PERFORMANCE_SCHEMA'
0 [Note] shutting down plugin 'MRG_MYISAM'
0 [Note] shutting down plugin 'MyISAM'
0 [Note] shutting down plugin 'INNODB_SYS_VIRTUAL'
0 [Note] shutting down plugin 'INNODB_SYS_DATAFILES'
0 [Note] shutting down plugin 'INNODB_SYS_TABLESPACE'
0 [Note] shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
0 [Note] shutting down plugin 'INNODB_SYS_FOREIGN'
0 [Note] shutting down plugin 'INNODB_SYS_FIELDS'
0 [Note] shutting down plugin 'INNODB_SYS_COLUMNS'
0 [Note] shutting down plugin 'INNODB_SYS_INDEXES'
0 [Note] shutting down plugin 'INNODB_SYS_TABLESTATS'
0 [Note] shutting down plugin 'INNODB_SYS_TABLES'
0 [Note] shutting down plugin 'INNODB_FT_INDEX_TABLE'
0 [Note] shutting down plugin 'INNODB_FT_INDEX_CACHE'
0 [Note] shutting down plugin 'INNODB_FT_CONFIG'
0 [Note] shutting down plugin 'INNODB_FT_BEING_DELETED'
0 [Note] shutting down plugin 'INNODB_FT_DELETED'
0 [Note] shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
0 [Note] shutting down plugin 'INNODB_METRICS'
0 [Note] shutting down plugin 'INNODB_TEMP_TABLE_INFO'
0 [Note] shutting down plugin 'INNODB_BUFFER_POOL_STARTS'
0 [Note] shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
0 [Note] shutting down plugin 'INNODB_BUFFER_PAGE'
0 [Note] shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
0 [Note] shutting down plugin 'INNODB_CMPMEM_RESET'
0 [Note] shutting down plugin 'INNODB_CMPMEM'
0 [Note] shutting down plugin 'INNODB_CMP_RESET'
0 [Note] shutting down plugin 'INNODB_CMP'
0 [Note] shutting down plugin 'INNODB_LOCK_WAITS'
0 [Note] shutting down plugin 'INNODB_LOCKS'
0 [Note] shutting down plugin 'INNODB_TRX'
0 [Note] shutting down plugin 'InnoDB'
0 [Note] InnoDB: FTS optimized thread exiting.
0 [Note] InnoDB: starting shutdown . . .
0 [Note] InnoDB: Dumping buffer pool(s) to /var/db/mysql.backup/ib_buffer_pool
0 [Note] InnoDB: Buffer pool(s) dump completed at 211222
0 [Note] InnoDB: Shutdown completed; log sequence number 1210154
0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
0 [Note] shutting down plugin 'MEMORY'
0 [Note] shutting down plugin 'CSV'
0 [Note] shutting down plugin 'sha256_password'
0 [Note] shutting down plugin 'mysql_native_password'
0 [Note] shutting down plugin 'binlog'
0 [Note]
If you look at the log it looks like I have to run mysql_upgrade.
I updated mysql from mysql 5.6 to mysql 5.7. I read online that mysql_upgrade is used for older versions and with the newer versions it's not needed. The upgrade or update does it automatically.
I need to know what should I be doing? The mysql.backup is the name of the folder. I have a folder for mysql and mysql.backup and mysql.backup2 I just have made copies of the folder just in case I screw something. So mysql is config to look at mysql.backup folder as a live location to lookup databases info.
I have no clue what to do or how to do it and need guidance. I am guessing I have to run the mysql_upgrade to reconstruct the database files? Let me know what I need to do to get my server back up and running.
Thanks
