VPS侦探论坛

 找回密码
 注册
查看: 4816|回复: 2

ERROR! MySQL server PID file could not be found!求解

[复制链接]
发表于 2015-6-20 11:45:06 | 显示全部楼层 |阅读模式

小弟首次玩云主机,用的lnmpa 1.2。感谢军哥让我这样的小白也能配网络环境。目前一切正常,只是发现重启MYSQL时会提示:


不知道是否正常。
我更换过MYSQL目录。没更换之前也是这个提示!MYSQL 版本5.5.42

150620 11:27:00 mysqld_safe mysqld from pid file /home/mysql/var/iZ94fzldv8rZ.pid ended
150620 11:27:11 mysqld_safe Starting mysqld daemon with databases from /home/mysql/var
150620 11:27:11 InnoDB: The InnoDB memory heap is disabled
150620 11:27:11 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150620 11:27:11 InnoDB: Compressed tables use zlib 1.2.7
150620 11:27:11 InnoDB: Initializing buffer pool, size = 16.0M
150620 11:27:11 InnoDB: Completed initialization of buffer pool
150620 11:27:11 InnoDB: highest supported file format is Barracuda.
150620 11:27:11  InnoDB: Waiting for the background threads to start
150620 11:27:12 InnoDB: 5.5.42 started; log sequence number 1595675
150620 11:27:12 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
150620 11:27:12 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
150620 11:27:12 [Note] Server socket created on IP: '0.0.0.0'.
150620 11:27:12 [Note] Event Scheduler: Loaded 0 events
150620 11:27:12 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.42-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2015-6-20 12:39:01 | 显示全部楼层


是我搞错了,没问题。用了stop后应该用start开启,我用了restart。小白一个没办法
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2015-6-20 12:51:10 | 显示全部楼层

你肯定用restart,之前mysql没运行,restart肯定会先提升上面的信息
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 18:47 , Processed in 0.026732 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表