Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all now am trying to install cacti and i followed the instructions quite easily. Now when i try to access the web interface i get the following error which is in relation to importing the defauldt cacti database to the mysql:
Code:
Error
You have created a new database, but have not yet imported the 'cacti.sql' file. At the command line, execute the following to continue:
mysql -u cactiuser -p cacti < cacti.sql
This error may also be generated if the cacti database user does not have correct permissions on the cacti database. Please ensure that the cacti database user has the ability to SELECT, INSERT, DELETE, UPDATE, CREATE, ALTER, DROP, INDEX on the cacti database.
So i run the above command and i still get the same error. Now that's not all. When i try to access mysql i get the following:
Quote:
mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
I have a cacti user who can login to mysql but cannot update the grant tables which is part of the cacti installation.
While you guys are still at it could you give me the best way to uninstall mysql?
cheers
ok even with that it still asks for a password yet when i give it the password:
Code:
mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'me'; ERROR 1044 (42000): Access denied for user 'root'@'localhost' to database 'cacti'
Is this to mean that the root user cannot perform tasks such as provide grants to the users in the databases?
What jstephens84 means is that you may not have run the commands to initially set up the mysql root passwords. You should run both of these, if you haven't already:
They can both be the same password. Note this is just a password for mysql admin, not your Linux root password (could be the same, but probably not a good idea).
the mysql_install_db also installs the system database and setups up the permissions. So at this point in time root may not have the appropriate permissions.
What jstephens84 means is that you may not have run the commands to initially set up the mysql root passwords. You should run both of these, if you haven't already:
Code:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.