mariadb 二进制启动报错,Can't find messagefile '/usr/local/mysql/share/mysql/errmsg.sys'

直接看操作步骤

[[email protected] share]# mysqld_safe --defaults-file=/etc/my.cnf &

[1] 3482

[[email protected] share]# 170103 18:48:58 mysqld_safe Logging to ‘/log/mysql/error.log‘.

[1]+  Done                    mysqld_safe --defaults-file=/etc/my.cnf

[[email protected] share]# vi /log/mysql/error.log

............

2017-01-03 18:48:58 140215358961696 [ERROR] Can‘t find messagefile ‘/usr/local/mysql/share/mysql/errmsg.sys‘

2017-01-03 18:48:58 140215358961696 [ERROR] Aborting

............

[[email protected] share]# vi /etc/my.cnf

添加[mysqld]

language = /usr/local/mysql/share/english

[[email protected] english]# cd /usr/local/mysql/share/english

[[email protected] english]# file errmsg.sys

errmsg.sys: data     --数据文件,可以不用看了

[[email protected] english]# mysqld_safe --defaults-file=/etc/my.cnf &

[1] 3725

[[email protected] english]# 170103 18:56:07 mysqld_safe Logging to ‘/log/mysql/error.log‘

mariadb 二进制启动报错,Can't find messagefile '/usr/local/mysql/share/mysql/errmsg.sys'

时间: 2024-11-05 10:18:54

mariadb 二进制启动报错,Can't find messagefile '/usr/local/mysql/share/mysql/errmsg.sys'的相关文章

linux mysql启动报错Can't open and lock privilege tables: Table 'mysql.host' doesn't exist

vi /etc/my.cnf  查看日志文件路径: log-error=/var/log/mysqld.log 查看报错日志: 之前的服务器被别人拿了,所以自己买了台美国vps,根据笔记安装完启动mysql,又启动不了. 查看了错误日志 引用 090321 18:55:03 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data /usr/local/mysql/libexec/mysqld: Ta

Airtest启动报错:ERROR:gup_process_transport_factory.cc<1019>] Lost UI share context

第一次使用Airtest时,启动报错: [5908:5912:1229/211349.007.ERROR:gup_process_transport_factory.cc<1019>] Lost UI share contextQOpenGLShader:link: Failed to create D3D shadersCould not link shader program:"Failed to create 3D3 shader. \n" 解决办法: 下载并安装di

fastDfs V5.02 升级到 V5.08版本后,启动报错:symbol lookup error: /usr/bin/fdfs_trackerd: undefined symbol: g_current_time

/libfastcommon-1.0.36 # ./make.sh cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O3 -c -o hash.o hash.c cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O3 -c -o chain.o chain.c cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O3 -c -o shared_fu

启动elk中elasticsearch服务报错which: no java in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)

解决办法: vi /etc/sysconfig/elasticsearch JAVA_HOME=/usr/local/java sudo systemctl restart elasticsearch.service sudo systemctl status elasticsearch.service 原文地址:https://www.cnblogs.com/minseo/p/10451172.html

docker 容器内启动 sshd 启动报错

创建容器设置密码 安装 openssh-server 启动出错 在容器内 使用 /usr/sbin/sshd -d 启动报错? [[email protected] tmp]# /usr/sbin/sshd -d debug1: sshd version OpenSSH_7.4, OpenSSL 1.0.2k-fips 26 Jan 2017 debug1: key_load_private: No such file or directory debug1: key_load_public:

oracle启动报错ORA-00845: MEMORY_TARGET not supported on this system解决办法

oracle启动报错ORA-00845: MEMORY_TARGET not supported on this system 原因可能:ORACLE MEMORY_TARGET参数设置超过了oracle服务器本身内存.或超过了现在服务器空闲内存(就是oracle启动时无法获取设置的内存) eg: oracle version:11gR2 OS version:RedHat 6.4企业版 服务器:虚拟机 分析步骤: 1.查看当前 MEMORY_TARGET参数的值为*.memory_target

安装mongodb后启动报错libstdc++

安装mongo后启动报错如下图 显然说是libstdc++.so文件版本的问题,这种一般都是gcc版本太低了 接着查询gcc的版本    strings /usr/lib/libstdc++.so.6 | grep GLIBCXX 接着去找下libstdc++.so新点的版本,一定要根据自己的系统版本去找啊,由于我找错了版本报错系统位数不对 随后下载了一个64位的libstdc++.so.6.0.17的文件,然后软链成libstdc++.so.6 ln -s libstdc++.so.6.0.1

mysql启动报错:Fatal error: Can’t open and lock privilege tables: Table ‘mysql.host’ doesn’t exist

mysql在首次启动的时候可能会报错:Can’t open and lock privilege tables: Table ‘mysql.host’ doesn’t exist 这时候可以执行脚本 mysql_install_db –user=mysql –ldata=数据存放的路径

tomcat启动报错:java.net.BindException: Permission denied &lt;null&gt;:80

1,启动报错显示 [org.springframework.web.servlet.DispatcherServlet]FrameworkServlet 'springMvc': initialization completed in 382 ms Jun 01, 2015 6:39:06 PM org.apache.coyote.http11.Http11Protocol start SEVERE: Error starting endpoint java.net.BindException: