ExtMail服务器社区's Archiver

berean 发表于 2010-3-12 13:20

Extmail不能注册用户[]

DBD::mysql::st execute failed: INSERT command denied to user 'extmail'@'localhost' for table 'mailbox' at /var/www/html/extsuite/extman/libs/Ext/Mgr/MySQL.pm line 333.  
[ Go Back ] >> Re-Login


注册到最后提交时就报上面的错,我测试了:extmail这个用户是能在mailbox中查出数据的,之前刚安装时都能注册用户,后面我改了一次main.cf,发现问题后,我又改回来了,但还是不能注册。

extmail-1.2.tar.gz
extman-1.1.tar.gz
这是版本。

[[i] 本帖最后由 berean 于 2010-3-12 14:01 编辑 [/i]]

berean 发表于 2010-3-12 13:48

[oursoft@localhost docs]$ mysql -u root -p extmail      
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 3100
Server version: 5.0.77 Source distribution

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

mysql> show tables;
+-------------------+
| Tables_in_extmail |
+-------------------+
| alias             |
| domain            |
| domain_manager    |
| mailbox           |
| manager           |
+-------------------+
5 rows in set (0.00 sec)

mysql> GRANT all privileges on extmail.* TO webman@localhost IDENTIFIED BY 'webman';
Query OK, 0 rows affected (0.00 sec)

mysql> GRANT all privileges on extmail.* TO extmail@localhost IDENTIFIED BY 'extmail';            
Query OK, 0 rows affected (0.00 sec)

mysql>


我做了上面的操作,就能注册了,没有报错,也不知道是哪出错了,上面的更新,是:Query OK, 0 rows affected (0.00 sec)呀,简直搞不懂。

shunz 发表于 2010-3-12 13:56

权限的问题

berean 发表于 2010-3-12 14:02

上次刚安装起都可以注册的,安装完后也没有再去操作数据库了呀.

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.