fht21 发表于 2015-6-20 11:45:06

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

小弟首次玩云主机,用的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:11InnoDB: Waiting for the background threads to start
150620 11:27:12 InnoDB: 5.5.42 started; log sequence number 1595675
150620 11:27:12 Server hostname (bind-address): '0.0.0.0'; port: 3306
150620 11:27:12    - '0.0.0.0' resolves to '0.0.0.0';
150620 11:27:12 Server socket created on IP: '0.0.0.0'.
150620 11:27:12 Event Scheduler: Loaded 0 events
150620 11:27:12 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.42-log'socket: '/tmp/mysql.sock'port: 3306Source distribution

fht21 发表于 2015-6-20 12:39:01

是我搞错了,没问题。用了stop后应该用start开启,我用了restart。小白一个没办法:(

licess 发表于 2015-6-20 12:51:10

你肯定用restart,之前mysql没运行,restart肯定会先提升上面的信息
页: [1]
查看完整版本: ERROR! MySQL server PID file could not be found!求解