在Ubuntu計算機上獲取關于問題“ mysql”命令的錯誤:
錯誤2002(HY000):無法通過套接字’/var/run/mysqld/mysqld.sock’連接到本地MySQL服務器(111)
服務未以以下錯誤啟動:
root@bettorssidekick:/# service mysql start
start: Job failed to start
root@bettorssidekick:/#
重新啟動服務,它將不會再次運行.這是來自mysql日志的最終日志條目:
110824 12:03:36 [Note] Plugin 'FEDERATED' is disabled.
110824 12:03:36 InnoDB: Initializing buffer pool, size = 8.0M
110824 12:03:36 InnoDB: Completed initialization of buffer pool
110824 12:03:36 InnoDB: Started; log sequence number 0 44233
110824 12:03:36 [Note] Event Scheduler: Loaded 0 events
110824 12:03:36 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.54-1ubuntu4' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu)
110902 5:34:04 [ERROR] /usr/sbin/mysqld: Disk is full writing './bettorssidekick/schedules.MYD' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to contin$
110902 5:34:04 [ERROR] /usr/sbin/mysqld: Retry in 60 secs. Message reprinted in 600 secs
110902 5:36:02 [ERROR] /usr/sbin/mysqld: Disk is full writing './bettorssidekick/cronejob.MYD' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continu$
110902 5:36:02 [ERROR] /usr/sbin/mysqld: Retry in 60 secs. Message reprinted in 600 secs
110902 5:44:04 [ERROR] /usr/sbin/mysqld: Retry in 60 secs. Message reprinted in 600 secs
解決方法:
110902 5:34:04 [ERROR] /usr/sbin/mysqld: Disk is full writing ...
問題:您的硬盤已滿
解決方案:刪除一些文件
標簽:ubuntu,mysql
來源: https://codeday.me/bug/20191102/1989909.html