MySQL【环境搭建 03】腾讯云 Linux 环境踩坑 loading shared libraries: libnuma.so.1 + quit without updating PID file
MySQL安装文件为 mysql-5.7.28-linux-glibc2.12-x86_64.tar.gz,阿里云和腾讯云的Linux环境不完全相同,安装时出现了意想不到的问题,这种问题不大,搜索一些就能解决,这里记录一下。
1.报错
输入初始化命令后报错
cd /usr/local/mysql
bin/mysqld --initialize --user=mysql --basedir=/usr/local/mysql --datadir=/data/mysql/data
error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory
2.解决
# yum 安装的libnuma.so.1,但安装时默认安装的是32的,但db2需要的是64位的
yum remove libnuma.so.1
yum -y install numactl.x86_64
再次初始化后成功
cd /usr/local/mysql
bin/mysqld --initialize --user=mysql --basedir=/usr/local/mysql --datadir=/data/mysql/data2021-03-30T10:18:25.212584Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2021-03-30T10:18:26.237192Z 0 [Warning] InnoDB: New log files created, LSN=45790
2021-03-30T10:18:26.356956Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2021-03-30T10:18:26.459079Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 43fe917f-9141-11eb-a515-00163e3019ff.
2021-03-30T10:18:26.460035Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2021-03-30T10:18:27.546222Z 0 [Warning] CA certificate ca.pem is self signed.
2021-03-30T10:18:28.087215Z 1 [Note] A temporary password is generated for root@localhost: +oUisNmwk6:e
3.再次报错
启动时报错
/etc/init.d/mysqld start
Starting MySQL.Logging to '/data/mysql/data/tcloud.err'.
.. ERROR! The server quit without updating PID file (/data/mysql/data/tcloud.pid).
查看log文档,发现是3306被占用,杀掉占用进程后启动成功,遇到问题看日志,问题可能跟我不同。
MySQL【环境搭建 03】腾讯云 Linux 环境踩坑 loading shared libraries: libnuma.so.1 + quit without updating PID file相关推荐
- 启动阿里云上的Mysql报错:The server quit without updating PID file (/[FAILED]mysql/xxxx.pid)解决的另一途径
一.错误 错误一:正常使用Mysql时,连接突然报错: 2003-can't connect to mysql server on ''(10061) 错误二:看了网上各种方法,决定试试最简单的重启, ...
- linux下mysql启动 Starting MySQL. ERROR! The server quit without updating PID file(xxx/x.pid)
linux下mysql启动 Starting MySQL. ERROR! The server quit without updating PID file(xxx/x.pid) service my ...
- Linux下MySQL起动报错The server quit without updating PID file
MySQL起动报错The server quit without updating PID file (/usr/local/mysql/data/ 查看日志: 131206 23:10:21 mys ...
- 解决 Starting MySQL ERROR The server quit without updating PID file
服务器断电重启后mysql启动报错,记录一下解决方案 环境 mysql版本 5.7.21 服务器 Red Hat Enterprise Linux Server release 7.6 (Maipo) ...
- Starting MySQL...The server quit without updating PID file
Linux服务器上安装mysql5.7 方法写在前面:卸载mysql用这个方法重装,按照步骤啪的一下.阿里的Mysql install,抛弃宝塔面板后又一次被安装环境弄得头疼,平时公司的环境都是配置好 ...
- mysql The server quit without updating PID file异常解决办法
安装好mysql后,用 /usr/local/mysql/bin/mysqld_safe & 去启动mysql,总是处于僵死状态,后来去suport_files 用mysql.server s ...
- MySQL: Starting MySQL….. ERROR! The server quit without updating PID file解决办法
1 问题 [root@localhost mysql]# /etc/rc.d/init.d/mysql status MySQL is not running, but lock file (/var ...
- MYSQL启动后报:ERROR! The server quit without updating PID file错误的问题解决
注意:本文出自 "阿飞"的博客 ,如果要转载本文章,请与作者联系! 并注明来源: http://blog.csdn.net/faye0412/article/details/703 ...
- mysql启动异常:The server quit without updating PID file
闲来无事!一前端朋友找到我说他服务器安装的mysql突然间连不上了.让我帮忙看一下. 要来服务器账号密码之后: 首先查看下mysql进程: ps -aux | grep 'mysql' 发现并没有my ...
最新文章
- 谈谈java的BlockingQueue
- C#8.0可空引用类型的使用注意要点
- spring定时任务时间格式cronExpression设置
- 校园技术工坊丨云开发校园执行官招募开启!
- HTTP 307 redirect
- 为k8s-master节点添加/移除污点taints
- tensorflow之variables_to_restore
- html5的file api,HTML5 File API
- 可靠性 可用性 可维护性
- 微信发红包如何设计测试用例
- docker 20.10.9 dockerd containerd containerd-shim-runc-v2 runc 组件分析
- 包包各部位名称图解_手袋各部位名称
- 解决Aria2 BT下载速度慢没速度的问题
- 一年365天每天进步 1‰和每天退步 1‰最后的结果分别是多少
- 计算机个性化的优点,个性化推荐的最大的优点
- 如何用代码在Excel中实现单元格内换行
- GPON标准简要解析
- STM32----STM32的中断优先级理解
- weblogic常见问题QA
- target is null for setProperty(null, quot;xquot;, [Ljava.lang.String;@b0c40e)错误异常
热门文章
- hihocoder 1075 : 开锁魔法III
- 编程之美 2.14求数组的子数组之和的最大值
- 关于Log 的一些东西
- redhat linux 5.6安装图解
- js+php聊天程序
- mywebsql java版_MyWebSQL|MySQL数据库管理软件(MyWebSQL)下载v3.7官方版 - 欧普软件下载...
- 这就是计算机男用英语怎么说,科学网—Is a computer male or female? 计算机是男的还是女的? - 邱敦莲的博文...
- c语言单片机4*4键盘程序,求51单片机矩阵4*4键盘程序,P0口接一个数码管,P3口接矩阵键盘,C语言的...
- closecmd python_如何在python中禁止控制台/ cmd错误消息
- 父元素设置overflow: overlay; 或 overflow: scroll; 或 overflow: auto; 如果子元素超出父元素内容,父元素会被子元素超出部分撑大至子元素同样大小