Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-30-2005, 01:47 PM   #1
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203

Rep: Reputation: 30
Question Completely uninstalling MySQL and its passwords I locked myself out!

Well I made one of those mistakes only I can do, I was trying to figure out this whole mySQL thing when I had to set some new passwords for things I knew nothing about (like the mySQL root) so I set some passwords not even knowing what went to what and for some reason I made them all different from my normal passwords...and forgot them all. Now I've locked myself out of mySQL lol.

I was wondering if there was any way to completly remove mySQL, including the passwords. I tried to remove it with pkgtool however when I reinstalled it with swaret the passwords were still there.
Old 01-30-2005, 01:51 PM   #2
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203

Original Poster
Rep: Reputation: 30
looks like i was just running the wrong command to get into mysql...this is a very strange program lol. Anyway thanks anyway all.
Old 01-30-2005, 04:10 PM   #3
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
If you ever run into this again, there's a way to start the mysqld so that it doesn't do any user authentication. It's a command line switch, so you should read the mysqld man page because I can't remember what it is exactly at the moment.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
MySQL doesn't like passwords legendaryfox Linux - Software 12 03-09-2009 04:36 PM
Sync MySQL passwords with local account passwords? turbine216 Linux - Software 2 02-18-2005 03:15 AM
MySQL Passwords mikz Linux - Software 4 09-07-2004 02:39 PM
MySQL root passwords ridertech Linux - Software 4 05-11-2004 10:24 AM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 10:59 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:01 AM.

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