- 主题:用mysql进行十大统计,但是统计出不来是怎么回事呢:(
sighsigh。。我没理解你说的"mysql命令直接联"指的是什么:(
你给据个例子吧..:(
【 在 atppp (Big Mouse) 的大作中提到: 】
: 可以的话把怎么可以贴出来哇,具体的命令,然后什么输出...
--
FROM 218.249.22.129
$ mysql -h localhost -u wForum -p smth_pc
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 46525 to server version: 3.23.58
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> quit
Bye
$ grep MYSQL /home/bbs/etc/sysconf.ini
MYSQLHOST = "localhost"
MYSQLUSER = "wForum"
MYSQLPASSWORD = "这个保密"
MYSQLSMSDATABASE = "smth_pc"
【 在 Carlking (CK·当我发现的时候...) 的大作中提到: 】
: sighsigh。。我没理解你说的"mysql命令直接联"指的是什么:(
: 你给据个例子吧..:(
--
修改:atppp FROM 128.12.181.*
FROM 128.12.181.*
[root@thuenv bin]# ./mysql -h localhost -u bbs -p bbs
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 721 to server version: 4.0.22-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> \q
Bye
[root@thuenv bin]#
MYSQLHOST = "localhost"
MYSQLUSER = "bbs"
MYSQLPASSWORD = "保密"
MYSQLSMSDATABASE = "bbs"
MYSQLPORT = "3306"
【 在 atppp (Big Mouse) 的大作中提到: 】
: $ mysql -h localhost -u wForum -p smth_pc
: Enter password:
: Reading table information for completion of table and column names
: ...................
--
FROM 218.249.22.129
现在postlog和toplog根本就是空的:(
没有东西写进去。。
【 在 Carlking (CK·当我发现的时候...) 的大作中提到: 】
: [root@thuenv bin]# ./mysql -h localhost -u bbs -p bbs
: Enter password:
: Welcome to the MySQL monitor. Commands end with ; or \g.
: ...................
--
FROM 218.249.22.129
configure 没加 --with-mysql?
site.h 没定义 NEWPOSTLOG ?
【 在 Carlking (CK·当我发现的时候...) 的大作中提到: 】
: 现在postlog和toplog根本就是空的:(
: 没有东西写进去。。
--
FROM 128.12.181.*
加了的啊:(
我从来一次看看
【 在 atppp (Big Mouse) 的大作中提到: 】
: configure 没加 --with-mysql?
: site.h 没定义 NEWPOSTLOG ?
--
FROM 218.249.22.129
还是不行啊...那个表里面还是没有东西..:(
【 在 Carlking (CK·当我发现的时候...) 的大作中提到: 】
: 加了的啊:(
: 我从来一次看看
--
修改:Carlking FROM 218.249.22.129
FROM 218.249.22.129
看看user.log里面有没有,gdb一把也好
【 在 Carlking (CK·当我发现的时候...) 的大作中提到: 】
: 还是不行啊...那个表里面还是没有东西..:(
--
FROM 128.12.181.*
好我看看:)
【 在 atppp (Big Mouse) 的大作中提到: 】
: 看看user.log里面有没有,gdb一把也好
--
FROM 218.249.22.129
这个人最终发现问题是没有重启动bbslogd,唉
【 在 Carlking (CK·当我发现的时候...) 的大作中提到: 】
: mysql应该是正常运行着的
: sysconf.ini里面应该就是这几项吧:
: MYSQLHOST
: ...................
--
FROM 128.12.181.*