在做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.