ubuntu11.04mysql报错、无法正常工作、无法登陆mysql

云起一

2020-06-04 15:21:37

以下是我执行的操作:# /etc/init.d/mysql statusRather than invoking init scripts through /etc/init.d, use the service(8)utility, e.g. service mysql statusSince the script you are attempting to invoke has been converted to anUpstart job, you may also use the status(8) utility, e.g. status mysqlmysql stop/waiting# /etc/init.d/mysql stopRather than invoking init scripts through /etc/init.d, use the service(8)utility, e.g. service mysql stopSince the script you are attempting to invoke has been converted to anUpstart job, you may also use the stop(8) utility, e.g. stop mysql# /etc/init.d/mysql startRather than invoking init scripts through /etc/init.d, use the service(8)utility, e.g. service mysql startSince the script you are attempting to invoke has been converted to anUpstart job, you may also use the start(8) utility, e.g. start mysqlstart: Job failed to start# mysql -u root -p -S /var/run/mysqld/mysql.sock(其实我看了当前目录没有mysql.sock这个文件)Enter password:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysql.sock' (2)#输入mysql -u root -p 错误提示和上面的一样。# less /var/log/mysql/error.log以下是错误日志110429 9:21:19 [Note] /usr/sbin/mysqld: Normal shutdown110429 9:21:19 [Note] Event Scheduler: Purging the queue. 0 events110429 9:21:19 InnoDB: Starting shutdown...110429 9:21:21 InnoDB: Shutdown completed; log sequence number 0 1766617110429 9:21:21 [Note] /usr/sbin/mysqld: Shutdown complete110429 9:32:48 [Note] Plugin 'FEDERATED' is disabled.110429 9:32:48 InnoDB: Started; log sequence number 0 1766617110429 9:32:48 [Note] Event Scheduler: Loaded 0 events110429 9:32:48 [Note] /usr/sbin/mysqld: ready for connections.Version: '5.1.49-1ubuntu8.1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu)110429 9:45:40 [Note] /usr/sbin/mysqld: Normal shutdown110429 9:45:40 [Note] Event Scheduler: Purging the queue. 0 events110429 9:45:42 InnoDB: Starting shutdown...110429 9:45:44 InnoDB: Shutdown completed; log sequence number 0 1767153110429 9:45:44 [Note] /usr/sbin/mysqld: Shutdown complete110429 9:45:44 [Note] Plugin 'FEDERATED' is disabled.110429 9:45:45 InnoDB: Started; log sequence number 0 1767153110429 9:45:45 [Note] Event Scheduler: Loaded 0 events110429 9:45:45 [Note] /usr/sbin/mysqld: ready for connections.Version: '5.1.49-1ubuntu8.1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu)110429 10:09:14 [Note] /usr/sbin/mysqld: Normal shutdown110429 10:09:14 [Note] Event Scheduler: Purging the queue. 0 events110429 10:09:16 InnoDB: Starting shutdown...110429 10:09:21 InnoDB: Shutdown completed; log sequence number 0 1767163110429 10:09:21 [Note] /usr/sbin/mysqld: Shutdown complete# /usr/bin/mysqld_safe &[2] 3638root@xm-server:/var/lib/mysql# 110728 17:10:14 mysqld_safe Logging to '/var/lib/mysql/xm-server.err'.110728 17:10:14 mysqld_safe A mysqld process already exists到这然后就卡住不动了

分享到

ubuntu无法登陆mysql_ubuntu11.04mysql报错、无法正常工作、无法登陆mysql相关推荐

  1. Linux/ubuntu 安装 redis 4.0报错解决:redis-server.service: Can't open PID file /var/run/redis/redis-server.

    此文首发于我的个人博客:Linux/ubuntu 安装 redis 4.0报错解决:redis-server.service: Can't open PID file /var/run/redis/r ...

  2. 【ubuntu】ubuntu下用make编译程序报错找不到openssl/conf.h

    ubuntu下用make编译程序报错找不到openssl/conf.h 安装libssl-dev:i386,sudo apt-get install libssl-dev:i386 看好版本,如果不加 ...

  3. 登陆weblogic console报错 The server encountered an unexpected condition which prevented it from

    登陆weblogic console报错 The server encountered an unexpected condition which prevented it from fulfilli ...

  4. ubuntu下flann库编译报错处理

    ubuntu下flann库编译报错处理 编译flann的时候显示以下报错: CMake Error at src/cpp/CMakeLists.txt:33 (add_library):No SOUR ...

  5. 配置网页登陆虚拟带库显示报错

    配置网页登陆虚拟带库显示报错 网页报错 Apache提示You don't have permission to access / on this server问题解决 测试时遇到将一本地目录设置为一 ...

  6. 电脑安装linux办公软件,Ubuntu安装WPS办公软件报错怎么解决

    Ubuntu64位系统在安装WPS办公软件的时候,有时会出现错误,而且报错代码一长串看不懂,让很多用户烦恼,这是怎样的错误呢?下面小编就给大家介绍下Ubuntu安装WPS办公软件报错的解决方法,一起来 ...

  7. 登陆易飞报错:Error loading MIDAS.DLL.

    题代号:813040066 适用版本:7X .8X.9X [问题]   登陆易飞报错:Error loading MIDAS.DLL. [解答]   因为客户的服务器是64位的操作系统,所以把Syst ...

  8. Ubuntu系统中运行graphviz报错

    Ubuntu系统中运行graphviz报错!出现类似如下问题:''ExecutableNotFound: failed to execute ['dot', '-Kdot', '-Tsvg'], ma ...

  9. Mysql登录报错:Can‘t connect to MySQL server on ‘localhost:3306‘ (10061)

    可能每个人遇到问题的情况不一样,首先打开服务我的是当时登录mysql输完密码就会报错:Can't connect to MySQL server on 'localhost:3306' (10061) ...

最新文章

  1. Boost:字符串正则表达式的测试程序
  2. Flutter实战一Flutter聊天应用(十五)
  3. java main函数_Java经典面试题集锦
  4. 使用Blocs For Mac发布网站的方法
  5. 1.名词(noun)
  6. windows彻底永久关闭自动更新的方式
  7. jenkins如何清缓存_Maven本地缓存清理小工具
  8. 笔记本制作WIFI热点经常掉线问题
  9. SWUST OJ1132: 机器人收集硬币
  10. java 坦克大战画坦克_【JAVA语言程序设计基础篇】--JAVA实现坦克大战游戏--画出坦克(二)...
  11. 10-STM32F1-RTC and BKP
  12. 利用笔触素材制作逼真毛笔字
  13. 【MySQL】这是我见过最有用的MySQL数据类型面试题,面了无数家总结的
  14. 全国计算机等级考试二级Java模拟试卷
  15. 图像金字塔(Python实现)
  16. PPT设计的四大基本原则(对齐)
  17. linux实用技巧:从另一台机子上拷贝文件到本机,从本机拷贝文件到另一台机子(远程拷贝scp)
  18. VisualGDB Crack,节省调试嵌入式过程的时间
  19. 基于51单片机的洗衣机控制系统
  20. 深度优先搜索(DFS)和广度优先搜索(BFS)两种算法c++

热门文章

  1. 年底促销海报还没准备好?电商美工看这里
  2. windows 启动exe程序前注入dll(c++)
  3. Python 安装pythoncom库和pyHook
  4. Build the initrd image
  5. Linux开机启动过程(3):显示模式初始化和进入保护模式
  6. 【HTML+CSS网页设计与布局 从入门到精通】第12章-CSS
  7. 《计算机网络》第三章:数据链路层(The Data Link Layer)
  8. 软硬计算机电缆的区别,电线也有软硬之分,两者有什么区别?
  9. java 和mysql 时间_java和mysql之间的时间日期类型传递
  10. nolo手柄配对不上_nolo手柄连接不上