LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-21-2007, 07:05 AM   #1
Yahweee
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Rep: Reputation: 0
Cacti installation on Debian Sarge: create cacti database error


Hi

I have searched the whole internet for a solution to my problem but it seems i going nowhere. I am installing Cacti on Debian sarge and my apt-get install cacti went thru. However the big challenge is on creating the cacti database by running this command :-

# mysqladmin –user=root create cacti

Below is the error reported :-

mysqladmin: connect to server at 'locahost' failed
error: 'Access denied for user 'root@localhost' (using password: NO)

Help please.

Thanks you
 
Old 02-22-2007, 04:09 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
If you never configured mysql, that is the source of your problems. Mysql doesn't automatically import all your system accounts into itself, so it is quite possible mysql has no root account. I believe Debian installs mysql with only user debian-sys-maint. You'll need to look in the mysql configs, or get to a point where you can sign into mysql and create users/databases etc.

Peace,
JimBass
 
Old 08-26-2008, 06:35 AM   #3
irado
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by Yahweee View Post
Hi



# mysqladmin –user=root create cacti

Below is the error reported :-

mysqladmin: connect to server at 'locahost' failed
error: 'Access denied for user 'root@localhost' (using password: NO)

use the mysql console, instead this one.

mysql -u root[@somehost] -psome.passwd (if any)
mysql> create cacti;
[...]
import tables, etc - as instructed.

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cacti Installation Problems with include/config.php tovythomas Linux - Software 2 03-13-2007 06:49 PM
DISCUSSION: Cacti installation HOWTO sysconfig LQ Articles Discussion 0 11-20-2006 09:23 AM
Cacti installation HOWTO (should be in LinuxAnswers) sysconfig Linux - General 1 11-04-2006 06:58 AM
SNMP not in use - Cacti Zetec Ubuntu 2 07-16-2006 03:49 PM
creating traffic graphs with cacti (Debian Sarge) retiem Linux - Software 0 02-09-2006 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration