Another MySQL daemon already running with the same unix socket的解决
问题出现:
每周一需要备份一次数据库,即从服务器MySQL导出sql文件,再导入到我机器上虚拟机的MySQL里。但是今天早上连不上,我进入控制台用#service mysqld start强行启动,报Another MySQL daemon already running with the same unix socket错。
问题解决:
按关键字在百度查找,找到 http://wenku.baidu.com/link?url=MMZfHWxyl9maR_NP8OOSnRhnDzh5BhK82utrdx-E2Z0_CjR3V4xNjVrBLkzAuPxwO1U1NldnmEV-0vbzKaK6z-c5qcRs92JLFWeHtGCpDFu
发现它类似,于是按他的办法,进入目录 /var/lib/mysql,将文件mysql.sock改名,再用#service mysqld restart重启就好了。
有图有真相:
问题产生:
上面那篇网文说是断电导致的,我这边虚拟机不存在断电问题,可能和没有停止虚拟机就直接关闭窗口有关,导致/var/lib/mysql/mysql.sock没有及时删除,致使下次启动时误以为已经有一个mysql启动了。这个文件应该起mysql的stand alone文件作用。
Another MySQL daemon already running with the same unix socket的解决相关推荐
- mysql启动报错:Another MySQL daemon already running with the same unix socket.
[root@localhost ~]#/etc/init.d/mysqld restart Stopping mysqld: ...
- another mysql daemon_MySQL错误Another MySQL daemon already running with the same unix socket.
安装Cacti的过程中配置了数据库,但由于是在虚拟机里做的,习惯性的关机直接是Force off硬关机,刚配置完的cacti在我非正常关机重起后出现了问题,问题如下: [root@server2 ~] ...
- k8s-Unable to determine if daemon is running: Inappropriate ioctl for device
背景 为namespace配置limitranges后,mysql 的pod无法启动.limitrange的配置方法: apiVersion: v1 kind: LimitRange metadata ...
- 解决关于 ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it....报错
mysql> create user 'zhilong'@'%' identified by '123456'; ERROR 1290 (HY000): The MySQL server is ...
- MYSQL导出数据出现The MySQL server is running with the --secure-file-priv option so it cannot execute this
今天尝试使用 into outfile导出数据的时候出现错误: The MySQL server is running with the --secure-file-priv option so it ...
- mysql8出现The MySQL server is running with the --skip-grant-tables option so it cannot execute
执行以下语句的时候 mysql> CREATE USER 'appleyuchi'@'%' IDENTIFIED with mysql_native_password BY 'appleyuc ...
- The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
http://www.jb51.net/article/119654.htm The MySQL server is running with the --skip-grant-tables opti ...
- 安装mysql后在安装目录下只有my-default.ini没有my.ini文件 解决-The MySQL server is running with the --secure-file-priv
WIN10 系统环境 安装mysql后在安装目录下只有my-default.ini没有my.ini文件 . mysql报错 ---------- The MySQL server is running ...
- 1290 the mysql_ERROR 1290:The MySQL server is running with the --secure-file-priv option
MYSQL导出数据报错"ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option ...
最新文章
- 用 Python 写一个天天酷跑,在线摸鱼不烦恼
- 移动互联网改变商业环境:商品的颠覆
- linux下dd命令详解
- Intellj idea启动tomcat配置
- DEEPIN 20安装镜像进入LIVE模式
- 达摩院2020十大科技趋势发布:云成IT技术创新中心
- 4x root 红米_好激动,红米NOTE4X开发版成功获得完全ROOT教程,非假ROOT!!
- 3d激光雷达开发(pcl安装和使用)
- 错误:invalid_client没有应用程序名称
- HDU2084 数塔【DP】
- tortoise-orm 分页码(python)
- mysql 错误问题_Mysql常见的几个错误问题及解决方法
- IDEA2022中的other setting(default setting)位置
- 硬件接口之S/PDIF
- ppt导出1000dpi的图
- 计算机网络监控技术,实现网络流量监控的核心技术要求
- 从今天起,每天写一篇日志,记录我的学习!
- 中国象棋python实现(拥有完整源代码) Alpha-beta剪枝+GUI+历史启发式+有普通人棋力
- 安卓设置keychain_keychain(一)
- UWB实现手榴弹投掷训练保护装置