VPS侦探论坛

 找回密码
 注册
查看: 8283|回复: 6

mysql不可写

[复制链接]
发表于 2011-5-3 01:13:14 | 显示全部楼层 |阅读模式

数据 不可写     把数据目录 设为 777   就 出错   请问  怎么回事呢   谢谢
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-5-3 08:07:22 | 显示全部楼层


什么错误提示?
发一下/usr/local/mysql/var/主机名.err 的错误日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-5-3 08:40:46 | 显示全部楼层

你看看是不是没有空间了吧,我第一安装的时候也是,用root用户登录mysql都不能创建数据库,权限什么都都查看了,弄了好久最后才发现是空间不够了,你用df -h看看你磁盘信息吧!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-5-3 12:47:05 | 显示全部楼层



我设置的时候 没有   设置日志  请问在什么地方修改
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-5-3 15:01:53 | 显示全部楼层

我的是服务器  空间 不是问题

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

 楼主| 发表于 2011-5-3 15:19:22 | 显示全部楼层

110503 21:36:15 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110503 21:36:15 [Note] Event Scheduler: Loaded 0 events
110503 21:36:15 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.54-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
110503 21:36:16 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

110503 21:36:16 [Note] Event Scheduler: Purging the queue. 0 events
110503 21:36:16 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110503 21:36:16 mysqld_safe mysqld from pid file /usr/local/mysql/var/localhost.localdomain.pid ended
110503 21:36:18 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110503 21:36:18 [Note] Event Scheduler: Loaded 0 events
110503 21:36:18 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.54-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
110503 21:36:18 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

110503 21:36:18 [Note] Event Scheduler: Purging the queue. 0 events
110503 21:36:18 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110503 21:36:18 mysqld_safe mysqld from pid file /usr/local/mysql/var/localhost.localdomain.pid ended
110503 21:41:54 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110503 21:41:54 [Note] Event Scheduler: Loaded 0 events
110503 21:41:54 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.54-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
110503 21:41:56 mysqld_safe A mysqld process already exists
发表于 2011-5-3 16:40:55 | 显示全部楼层

日志里已经说了,已经有一个mysql再运行,ps aux你自己看一下
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-15 00:44 , Processed in 0.026989 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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