91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

MySQL Bind on unix socket: Add

發布時間:2020-03-04 09:24:00 來源:網絡 閱讀:310 作者:fengyuzaitu 欄目:MySQL數據庫

場景

[root@localhost bin]# ./mysqld
2020-01-15 17:52:02 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2020-01-15 17:52:02 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
2020-01-15 17:52:02 0 [Note] ./mysqld (mysqld 5.6.44) starting as process 90367 ...
2020-01-15 17:52:02 90367 [Note] Plugin 'FEDERATED' is disabled.
2020-01-15 17:52:02 90367 [Note] InnoDB: Using atomics to ref count buffer pool pages
2020-01-15 17:52:02 90367 [Note] InnoDB: The InnoDB memory heap is disabled
2020-01-15 17:52:02 90367 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-01-15 17:52:02 90367 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2020-01-15 17:52:02 90367 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-01-15 17:52:02 90367 [Note] InnoDB: Using Linux native AIO
2020-01-15 17:52:02 90367 [Note] InnoDB: Not using CPU crc32 instructions
2020-01-15 17:52:02 90367 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2020-01-15 17:52:02 90367 [Note] InnoDB: Completed initialization of buffer pool
2020-01-15 17:52:02 90367 [Note] InnoDB: Highest supported file format is Barracuda.
2020-01-15 17:52:02 90367 [Note] InnoDB: 128 rollback segment(s) are active.
2020-01-15 17:52:02 90367 [Note] InnoDB: Waiting for purge to start
2020-01-15 17:52:02 90367 [Note] InnoDB: 5.6.44 started; log sequence number 18755961
2020-01-15 17:52:02 90367 [Note] Server hostname (bind-address): '*'; port: 3306
2020-01-15 17:52:02 90367 [Note] IPv6 is available.
2020-01-15 17:52:02 90367 [Note]?? - '::' resolves to '::';
2020-01-15 17:52:02 90367 [Note] Server socket created on IP: '::'.
2020-01-15 17:52:02 90367 [ERROR] Can't start server : Bind on unix socket: Address already in use
2020-01-15 17:52:02 90367 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ?
2020-01-15 17:52:02 90367 [ERROR] Aborting


排查過程

1)管道文件已經存在

2020-01-15 17:52:02 90367 [ERROR] Can't start server : Bind on unix socket: Address already in use
2020-01-15 17:52:02 90367 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ?

2)查看文件屬性以及查看進程占用

[root@localhost tmp]# file mysqld.sock
mysqld.sock: socket

[root@localhost tmp]# fuser /tmp/mysql.sock

沒有發現任何進程占用,說明該文件不是由mysqld進程創建的,并且沒有任何的服務占用該管道文件,該管道文件一般用于本地的mysql服務器和客戶端通信的通道。默認情況下,mysql主進程在啟動的時候創建該文件,退出的時候,會刪除該文件,通過刪除該文件,解決上面的問題。


3)啟動mysql服務,查看占用過程

[root@localhost tmp]# fuser /tmp/mysql.sock
/tmp/mysqld.sock:??? 76533
[root@localhost tmp]# lsof /tmp/mysql.sock
COMMAND?? PID? USER?? FD?? TYPE???????????? DEVICE SIZE/OFF??? NODE NAME
mysqld? 76533 mysql?? 22u? unix 0x00000000f901123c????? 0t0 8234599 /tmp/mysql.sock

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

桂阳县| 磐石市| 潜江市| 乌鲁木齐县| 临邑县| 伊通| 长乐市| 同江市| 台湾省| 石棉县| 时尚| 乐至县| 茶陵县| 虹口区| 贵阳市| 如皋市| 老河口市| 武川县| 巴彦县| 榆中县| 民乐县| 汝南县| 新余市| 盐边县| 上犹县| 涞源县| 鄂伦春自治旗| 乌鲁木齐县| 昔阳县| 南昌市| 阜新市| 韩城市| 新乡市| 藁城市| 甘洛县| 大英县| 东光县| 正安县| 定南县| 喜德县| 宜黄县|