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

MySQL发生错误,大家帮忙看看!

[复制链接]
发表于 2005-8-31 19:53:50 | 显示全部楼层 |阅读模式
安装论坛的过程中出现!





>> Discuz! Board Installation Wizard

--------------------------------------------------------------------------------

欢迎来到 Crossday Discuz! Board 2.5 Free 安装向导。


--------------------------------------------------------------------------------



Discuz! info: Can not connect to MySQL server

Time: 2005-8-30 7:11pm
Script: /bbs/install.php?language=chinese_gb2312

Error: #HY000Host '192.168.1.222' is not allowed to connect to this MySQL server
Errno.: 1130

An error report has been dispatched to our administrator.

查看进程如下,在putty下MySQL能正常连接,
ps aux
root       357  0.0  0.0      0     0 ?        S    02:57   0:00 [kjournald]
root       772  0.0  0.2   1580   508 ?        S<s  02:57   0:00 udevd
root      1416  0.0  0.0      0     0 ?        S    02:57   0:00 [kjournald]
root      2989  0.0  0.3   1584   628 ?        Ss   02:57   0:00 syslogd -m 0
root      2993  0.0  0.2   1536   484 ?        Ss   02:57   0:00 klogd -x
root      3000  0.0  2.6   6496  4972 ?        Ss   02:57   0:00 /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/webmin/min
root      3042  0.0  0.8   4008  1672 ?        Ss   02:57   0:00 /usr/sbin/sshd
root      3065  0.0  0.4   2136   828 ?        Ss   02:57   0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root      3074  0.0  0.5   3712   968 ?        S    02:57   0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
root      3164  0.0  0.6   4288  1204 ?        S    02:57   0:00 /bin/sh /usr/bin/mysqld_safe --defaults-file=/etc/my.cnf --pi
mysql     3196  0.0  9.6 124232 18388 ?        Sl   02:57   0:00 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/us
root      3264  0.0  0.8   5240  1640 ?        Ss   02:57   0:00 /usr/libexec/postfix/master
postfix   3267  0.0  0.8   5296  1636 ?        S    02:57   0:00 pickup -l -t fifo -u
postfix   3268  0.0  0.8   5336  1672 ?        S    02:57   0:00 qmgr -l -t fifo -u
root      3275  0.0  0.3   1736   572 ?        Ss   02:57   0:00 gpm -m /dev/input/mice -t imps2
root      3285  0.0  3.8  50420  7252 ?        Ss   02:57   0:00 /usr/sbin/httpd
root      3294  0.0  0.4   3760   796 ?        Ss   02:57   0:00 crond
apache    3298  0.0  5.2  51112 10092 ?        S    02:57   0:00 /usr/sbin/httpd
apache    3299  0.0  5.4  51256 10412 ?        S    02:57   0:00 /usr/sbin/httpd
apache    3300  0.0  5.5  51596 10556 ?        S    02:57   0:00 /usr/sbin/httpd
apache    3301  0.0  5.3  51128 10196 ?        S    02:57   0:00 /usr/sbin/httpd
apache    3302  0.0  5.8  51388 11108 ?        S    02:57   0:00 /usr/sbin/httpd
apache    3303  0.0  4.9  50948  9488 ?        S    02:57   0:00 /usr/sbin/httpd
apache    3309  0.0  5.1  51076  9828 ?        S    02:57   0:00 /usr/sbin/httpd
apache    3310  0.0  5.5  51420 10520 ?        S    02:57   0:00 /usr/sbin/httpd
root      3311  0.0  0.5   4048  1140 ?        Ss   02:57   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
root      3312  0.0  0.5   4048  1140 ?        S    02:57   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
root      3313  0.0  0.5   4048  1140 ?        S    02:57   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
root      3314  0.0  0.5   4048  1140 ?        S    02:57   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
root      3316  0.0  0.5   4048  1140 ?        S    02:57   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
dbus      3324  0.0  0.6   2396  1220 ?        Ss   02:57   0:00 dbus-daemon-1 --system
root      3333  0.1  1.9   5384  3752 ?        Ss   02:57   0:00 hald
root      3342  0.0  0.2   1520   432 tty2     Ss+  02:57   0:00 /sbin/mingetty tty2
root      3368  0.0  0.2   1520   432 tty3     Ss+  02:57   0:00 /sbin/mingetty tty3
root      3393  0.0  0.2   1520   432 tty4     Ss+  02:57   0:00 /sbin/mingetty tty4
root      3410  0.0  0.2   1520   432 tty5     Ss+  02:58   0:00 /sbin/mingetty tty5
root      3411  0.0  0.2   1520   432 tty6     Ss+  02:58   0:00 /sbin/mingetty tty6
root      3632  0.0  0.2   1520   432 tty1     Ss+  02:58   0:00 /sbin/mingetty tty1
root      3633  0.0  1.1   6868  2212 ?        Ss   02:58   0:00 sshd: root@pts/0
root      3635  0.0  0.7   4292  1380 pts/0    Ss   02:58   0:00 -bash
root      3681  0.1  1.2   7024  2288 ?        Ss   02:59   0:01 sshd: root@notty
root      3683  0.0  0.6   3772  1332 ?        Ss   02:59   0:00 /usr/libexec/openssh/sftp-server
root      3703  0.0  0.4   4416   840 pts/0    R+   03:12   0:00 ps aux
[root@Quick /]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 28 to server version: 4.1.9

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show databases;
+----------+
| Database |
+----------+
| mysql    |
| test     |
| vbbs     |
+----------+
3 rows in set (0.00 sec)

mysql>



请高手帮忙!
发表于 2005-9-1 16:37:27 | 显示全部楼层
给你那台主机加个用户
回复

使用道具 举报

发表于 2005-9-11 11:11:15 | 显示全部楼层
查看常用的错误代码1130:连接数据库失败,没有连接数据库的权限
更多错误代码查询请查看该链接:
http://bbs.oa2008.com.cn/read.php?tid=20&fpage=1


http://oa2008.com.cn
网上办公系统即将免费公测拉!
OA2008网上办公交流论坛欢迎您的加入!!
更多MYSQL、PHP方面知识,破解软件下载请访问网上办公交流论坛
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-2-14 00:21 , Processed in 0.019057 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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