![](/img/trans.png)
[英]mysql: [ERROR] unknown variable 'pid-file=/var/run/mysqld/mysqld.pid'
[英]ERROR /usr/libexec/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28)
目前我在Linux Centos上遇到mysql問題。 它突然停了下來。 那么我試着用服務mysqld啟動命令啟動mysql,它給出了錯誤 -
嘗試啟動MySQL守護程序時發生超時錯誤。
我用tail -10 /var/log/mysqld.log命令檢查了日志,然后顯示 -
120714 6:48:02 InnoDB: Initializing buffer pool, size = 8.0M
120714 6:48:02 InnoDB: Completed initialization of buffer pool
120714 6:48:02 InnoDB: Started; log sequence number 0 2096665
120714 6:48:02 [ERROR] /usr/libexec/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28)
120714 6:48:02 [ERROR] Can't start server: can't create PID file: No space left on device
120714 06:48:02 mysqld_safe Number of processes running now: 0
120714 06:48:02 mysqld_safe mysqld restarted
120714 6:48:03 [Note] Plugin 'ndbcluster' is disabled.
120714 6:48:03 InnoDB: Initializing buffer pool, size = 8.0M
120714 6:48:03 InnoDB: Completed initialization of b-bash-4.1
我不明白為什么會這樣。 我是Linux和mysql的新手。 請各位幫我解決這個問題。 謝謝
鍵入“df -h”以查看/ var / mount點上剩余多少空間,可能是/ var /中沒有剩余空間?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.