问题出现:

每周一需要备份一次数据库,即从服务器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的解决相关推荐

  1. mysql启动报错:Another MySQL daemon already running with the same unix socket.

    [root@localhost ~]#/etc/init.d/mysqld restart Stopping mysqld:                                       ...

  2. another mysql daemon_MySQL错误Another MySQL daemon already running with the same unix socket.

    安装Cacti的过程中配置了数据库,但由于是在虚拟机里做的,习惯性的关机直接是Force off硬关机,刚配置完的cacti在我非正常关机重起后出现了问题,问题如下: [root@server2 ~] ...

  3. k8s-Unable to determine if daemon is running: Inappropriate ioctl for device

    背景 为namespace配置limitranges后,mysql 的pod无法启动.limitrange的配置方法: apiVersion: v1 kind: LimitRange metadata ...

  4. 解决关于 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 ...

  5. 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 ...

  6. 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 ...

  7. 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 ...

  8. 安装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 ...

  9. 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 ...

最新文章

  1. 用 Python 写一个天天酷跑,在线摸鱼不烦恼
  2. 移动互联网改变商业环境:商品的颠覆
  3. linux下dd命令详解
  4. Intellj idea启动tomcat配置
  5. DEEPIN 20安装镜像进入LIVE模式
  6. 达摩院2020十大科技趋势发布:云成IT技术创新中心
  7. 4x root 红米_好激动,红米NOTE4X开发版成功获得完全ROOT教程,非假ROOT!!
  8. 3d激光雷达开发(pcl安装和使用)
  9. 错误:invalid_client没有应用程序名称
  10. HDU2084 数塔【DP】
  11. tortoise-orm 分页码(python)
  12. mysql 错误问题_Mysql常见的几个错误问题及解决方法
  13. IDEA2022中的other setting(default setting)位置
  14. 硬件接口之S/PDIF
  15. ppt导出1000dpi的图
  16. 计算机网络监控技术,实现网络流量监控的核心技术要求
  17. 从今天起,每天写一篇日志,记录我的学习!
  18. 中国象棋python实现(拥有完整源代码) Alpha-beta剪枝+GUI+历史启发式+有普通人棋力
  19. 安卓设置keychain_keychain(一)
  20. UWB实现手榴弹投掷训练保护装置

热门文章

  1. DPM全方位保护SQL Server,DPM2007系列之五
  2. Java连接Oracle数据库示例
  3. Code First 指定外键名称
  4. 团队-象棋游戏-模块测试过程
  5. Git系列之git log高级命令
  6. Linux下两个进程可以同时打开同一个文件,这时如下描述错误的是:
  7. 编译安装rabbitmq服务端
  8. sql查询远程数据库的表的数据并填充到本地数据库的表
  9. Oracle教程之查询出每个雇员姓名的长度范例
  10. 不仅仅是世界500强--华为经典教程大集合