Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Mysql Database Password Issue, How to edit MySQL settings
post Sep 29 2005, 06:57 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 13
Joined: 18-September 05
Member No.: 5,528

How do I edit MySQL settings. When starting SNORT, I get this MYSQL error: access denied for user snort@localhost (using password: YES). I don't recall configuring a password and I can't seem to edit the password.
Go to the top of the page
+Quote Post
post Sep 29 2005, 09:29 AM
Post #2

RMS is my Hero

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404

Most mysql settings are in /etc/mysql/my.cnf

You're supplying a password (or username) that probably doesn't exist; most likely there is no password set for the root mysql user. Why not use that? (Or does snort not let you specify the username/pass?)

Open up a terminal, and try to log into mysql.

mysql -u root (hopefully it won't ask for a password)

If it asks for a password, you can set a new one with:
mysqladmin -u root password new_password

Once you see the mysql prompt (mysql>):
GRANT ALL PRIVILEGES ON * to snort@localhost identified by 'pass-snort-needs';
flush privileges;

*Points finger at the author above him* They're a witch! Burn them!
Vist my website!
Join me in IRC! Server: Channel: #UnhandledExceptions
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 19th March 2018 - 03:33 PM