源码安装mysql5.6x启动报错:[ERROR] Can't find messagefile '/data/mysqldata/3306/english/errmsg.sys'

170502 10:43:40 mysqld_safe Starting mysqld daemon with databases from /data/mysqldata/3306/data
2017-05-02 10:43:40 0 [Warning] The syntax ‘--language/-l‘ is deprecated and will be removed in a future release. Please use ‘--lc-messages-dir‘ instead.
2017-05-02 10:43:40 0 [Note] /app/mysql-5.6.33/bin/mysqld (mysqld 5.6.33-log) starting as process 19170 ...
2017-05-02 10:43:40 19170 [ERROR] Can‘t find messagefile ‘/data/mysqldata/3306/english/errmsg.sys‘
2017-05-02 10:43:40 19170 [Note] Plugin ‘FEDERATED‘ is disabled.
2017-05-02 10:43:40 19170 [Note] InnoDB: Using atomics to ref count buffer pool pages
2017-05-02 10:43:40 19170 [Note] InnoDB: The InnoDB memory heap is disabled
2017-05-02 10:43:40 19170 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-05-02 10:43:40 19170 [Note] InnoDB: Memory barrier is not used
2017-05-02 10:43:40 19170 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-05-02 10:43:40 19170 [Note] InnoDB: Using CPU crc32 instructions
2017-05-02 10:43:40 19170 [Note] InnoDB: Initializing buffer pool, size = 200.0M
2017-05-02 10:43:40 19170 [Note] InnoDB: Completed initialization of buffer pool
2017-05-02 10:43:40 19170 [Note] InnoDB: Highest supported file format is Barracuda.
2017-05-02 10:43:41 19170 [Note] InnoDB: 128 rollback segment(s) are active.
2017-05-02 10:43:41 19170 [Note] InnoDB: Waiting for purge to start
2017-05-02 10:43:41 19170 [Note] InnoDB: 5.6.33 started; log sequence number 1600638
2017-05-02 10:43:41 19170 [ERROR] Aborting
2017-05-02 10:43:41 19170 [Note] Binlog end
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘partition‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘PERFORMANCE_SCHEMA‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘BLACKHOLE‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_SYS_DATAFILES‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_SYS_TABLESPACES‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN_COLS‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_SYS_FIELDS‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_SYS_COLUMNS‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_SYS_INDEXES‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_SYS_TABLESTATS‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_SYS_TABLES‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_FT_INDEX_TABLE‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_FT_INDEX_CACHE‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_FT_CONFIG‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_FT_BEING_DELETED‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_FT_DELETED‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_FT_DEFAULT_STOPWORD‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_METRICS‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_BUFFER_POOL_STATS‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE_LRU‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX_RESET‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_CMPMEM_RESET‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_CMPMEM‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_CMP_RESET‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_CMP‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_CMP‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_LOCK_WAITS‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_LOCKS‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘INNODB_TRX‘
2017-05-02 10:43:41 19170 [Note] Shutting down plugin ‘InnoDB‘
2017-05-02 10:43:41 19170 [Note] InnoDB: FTS optimize thread exiting.
2017-05-02 10:43:41 19170 [Note] InnoDB: Starting shutdown...
2017-05-02 10:43:42 19170 [Note] InnoDB: Shutdown completed; log sequence number 1600648
2017-05-02 10:43:42 19170 [Note] Shutting down plugin ‘ARCHIVE‘
2017-05-02 10:43:42 19170 [Note] Shutting down plugin ‘CSV‘
2017-05-02 10:43:42 19170 [Note] Shutting down plugin ‘MEMORY‘
2017-05-02 10:43:42 19170 [Note] Shutting down plugin ‘MRG_MYISAM‘
2017-05-02 10:43:42 19170 [Note] Shutting down plugin ‘MyISAM‘
2017-05-02 10:43:42 19170 [Note] Shutting down plugin ‘sha256_password‘
2017-05-02 10:43:42 19170 [Note] Shutting down plugin ‘mysql_old_password‘
2017-05-02 10:43:42 19170 [Note] Shutting down plugin ‘mysql_native_password‘
2017-05-02 10:43:42 19170 [Note] Shutting down plugin ‘binlog‘
2017-05-02 10:43:42 19170 [Note]
170502 10:43:42 mysqld_safe mysqld from pid file /data/mysqldata/3306/mysql.pid ended

从源码包中把该文件复制到安装目录中:

[[email protected] english]# pwd
/data/mysqldata/3306/english
[[email protected] english]# cp /usr/local/src/mysql-5.6.33/sql/share/english/errmsg.sys ./

ok,再次启动,成功:

[[email protected] english]# /app/mysql-5.6.33/bin/mysqld_safe --defaults-file=/data/mysqldata/3306/my.cnf &
[[email protected] english]# lsof -i:3306
COMMAND   PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
mysqld  19765 mysql   17u  IPv6  64982      0t0  TCP *:mysql (LISTEN)
/bin/sh /app/mysql-5.6.33/bin/mysqld_safe --defaults-file=/data/mysqldata/3306/my.cnf
mysql    19765  0.0 80.4 1088216 403736 pts/0  Sl   10:48   0:00 /app/mysql-5.6.33/bin/mysqld --defaults-file=/data/mysqldata/3306/my.cnf --basedir=/app/mysql-5.6.31 --datadir=/data/mysqldata/3306/data --plugin-dir=/app/mysql-5.6.33/lib/plugin --user=mysql --log-error=/data/mysqldata/3306/data/../mysql-error.log --open-files-limit=512 --pid-file=/data/mysqldata/3306/mysql.pid --socket=/data/mysqldata/3306/mysql.sock --port=3306

源码安装mysql5.6x启动报错:[ERROR] Can't find messagefile '/data/mysqldata/3306/english/errmsg.sys'

时间: 2024-10-12 12:40:53

源码安装mysql5.6x启动报错:[ERROR] Can't find messagefile '/data/mysqldata/3306/english/errmsg.sys'的相关文章

centos7源码安装mysql时cmake报错

报错代码: CMake Error at cmake/boost.cmake:81 (MESSAGE):You can download it with -DDOWNLOAD_BOOST=1 -DWITH_BOOST=解决办法:1.在/usr/local下创建一个名为boost的文件夹mkdir -p /usr/local/boost2.进入这个新创建的文件夹然后下载boostwget http://www.sourceforge.net/projects/boost/files/boost/1

携程apollo源码在idea中启动报错TransportException: Cannot execute request on any known server

com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: connect at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187) at com.sun.jersey.api.client.filter.GZIPConte

mysql5.5 免编译安装及脚本启动报错深入

Mysql安装环境简介: 最近在做MHA.已经安装完毕heartbeat和drbd,现在准备安装Mysql. Mysql安装目录:/opt/mysql Mysql数据目录:/data/mysql 备注:/data目录实际是drbd需要同步到备节点的磁盘分区 [[email protected] src]# df -h Filesystem     Size  Used Avail Use% Mounted on /dev/sda2      9.5G  2.0G  7.1G 22% / tmpf

源码安装mysql5.6.20&&mysql主从设置(多实例做多个主从)

一.源码安装mysql5.6.20 1.编译环境安装 yum install wget gcc* make openssl openssl-devel openssl-clients -y && yum groupinstall "Development Libraries" -y 2.源码下载(软件见Linux部署源码包) wget -P /usr/local/src/ http://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.

CentOS 6.5 源码安装MySQL5.6

CentOS 6.5 源码安装MySQL5.6 1:下载安装cmake (mysql5.5以后是通过cmake来编译的) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #http://download.csdn.net/detail/csxuedn/7976005 #wget http://www.cmake.org/files/v2.8/cmake-2.8.5.tar.gz # tar -zxv -f /root/cmake-2.8.4.tar.gz

MYSQL Study案例之--RedHat EL55源码安装Mysql-5.6

MYSQL  Study案例之--RedHat EL55源码安装Mysql-5.6 系统环境: 操作系统:RedHat EL55 DB Soft:  Mysql 5.6.4-m7 1.系统环境 [[email protected] Packages]# uname -a Linux rh6 2.6.18-194.el5.xen #1 SMP Tue Jan 29 11:47:41 EST 2013 i386 i686 GNU/Linux [[email protected] Packages]#

Linux下源码安装Mysql5.5

本文主要介绍了如何在源码安装mysql5.5,所用系统为CentOS6.5 一.安装相应的开发环境 yum install -y ncurses-devel yum install -y libaio yum install -y bison yum install -y gcc-c++ yum install -y openssl-devel 二.安装cmake 跨平台编译器 # tar xf cmake-2.8.8.tar.gz # cd cmake-2.8.8 # ./bootstrap

一、源码安装mysql5.6-单实例

一.源码安装mysql5.6-单实例 1.  安装前检查系统环境 1.1 操作系统版本及内核版本 [[email protected] ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.5 (Santiago) [[email protected] ~]# uname –r 2.6.32-431.el6.x86_64 1.2 selinux是否处于关闭状态 [[email protected] ~]# ge

CentOS-6.4-minimal版中源码安装MySQL-5.5.38

/** * CentOS-6.4-minimal版中源码安装MySQL-5.5.38 * ---------------------------------------------------------------------------------------------------------------------- * 三种安装方式 * 1)源码安装 * 2)二进制包安装 * 3)rpm或yum安装 * 本文演示的是源码安装,并且,从mysql-5.5开始,源码安装要通过cmake安装