VPS侦探论坛

 找回密码
 注册
12
返回列表 发新帖
楼主: qoologo

數據庫正常運行還是出現package mysql is not installed

[复制链接]
发表于 2012-8-1 09:00:39 | 显示全部楼层

回复 14# 的帖子


内存不足,需要升级
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-8-1 10:56:35 | 显示全部楼层

回复 16# 的帖子



那mysql這問題?

mysql 1616 34.1 2.7 49344 28400 ? Sl 21:28 15:19 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --log-error=/usr/local/mysql/var/263824.anygoing.com.err --pid-file=/usr/local/mysql/var/263824.anygoing.com.pid --socket=/tmp/mysql.sock --port=3306


拜託了
謝謝
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-8-1 12:23:36 | 显示全部楼层

回复 16# 的帖子


ps -aux|grep mysql
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
root      1519  0.0  0.1   6224  1344 ?        S    Jul31   0:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/var --pid-file=/usr/local/mysql/var/263824.anygoing.com.pid
mysql     1616 32.8  2.9  59444 30560 ?        Sl   Jul31 292:38 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --log-error=/usr/local/mysql/var/263824.anygoing.com.err --pid-file=/usr/local/mysql/var/263824.anygoing.com.pid --socket=/tmp/mysql.sock --port=3306
root      9497  0.0  0.0   5456   716 pts/0    R+   12:19   0:00 grep mysql


/tmp下有mysql.sock
要怎麼解決˙
感謝!!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-8-1 14:01:43 | 显示全部楼层



不清楚,这里没有错误信息
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-8-1 14:03:09 | 显示全部楼层

回复 19# 的帖子


mysql> show full processlist;
+-----+------+-----------+-------+---------+------+--------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Id  | User | Host      | db    | Command | Time | State              | Info                                                                                                                                                                                                               |
+-----+------+-----------+-------+---------+------+--------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 408 | root | localhost | NULL  | Query   |    0 | NULL               | show full processlist                                                                                                                                                                                              |
| 784 | root | localhost | fenom | Query   |    1 | removing tmp table | SELECT t.subject,t.tid FROM cdb_attachments a,cdb_threads t WHERE a.tid=t.tid and a.uid=t.authorid and a.isimage in ('1','-1')    and t.dateline>='1328248682' AND t.tid<'428233' ORDER BY t.dateline DESC LIMIT 1 |


怎麼看都是這些問題造成的?
cdb_attachments和cdb_threads建立索引嗎???
能教我怎麼索引這條語句嗎?
拜託了
感謝!!

[ 本帖最后由 qoologo 于 2012-8-1 15:02 编辑 ]

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-23 15:31 , Processed in 0.025668 second(s), 13 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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