在做Nagios实验的时候出现了这样的错误,说是要创建表,但是表空间创建成功后,又爆出其他的错误,真是无语啦,到底错在哪里呢?
[root@linuxtro db]# ./installdb -u ndouser -p 123456 -h localhost -d ndodb
DBD::mysql::db do failed: Table 'ndodb.nagios_dbversion' doesn't exist at ./installdb line 51.
** Creating tables for version 1.4b8
Using mysql.sql for installation...
ERROR 1142 (42000) at line 27: CREATE command denied to user 'ndouser'@'localhost' for table 'nagios_acknowledgements'
Installation from mysql.sql failed at ./installdb line 59.
[root@linuxtro db]# ./installdb -u ndouser -p 123456 -h localhost -d ndodb
DBD::mysql::db do failed: Table 'ndodb.nagios_dbversion' doesn't exist at ./installdb line 51.
** Creating tables for version 1.4b8
Using mysql.sql for installation...
ERROR 1142 (42000) at line 27: CREATE command denied to user 'ndouser'@'localhost' for table 'nagios_acknowledgements'
Installation from mysql.sql failed at ./installdb line 59.
本文转自 linuxtro 51CTO博客,原文链接:http://blog.51cto.com/linuxtro/289697,如需转载请自行联系原作者