LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2004, 03:33 PM   #1
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 31
Mysql noob questions, problems authenticating


I'm trying to learn about Mysql, so I need to get a database up and running to start to understand it.

I'm having trouble authenticating into the data base (not a very good omen hehe)

Here is what I've done--

Built mysql

Started mysqld (confirmed with nmap)

Ran the install script (as root):

/usr/bin/mysql_install_db

Everthing seems ok--it gives instructions to set a password

/usr/bin/mysqladmin -u root -p password new-password
Enter password:

I enter password--everythings ok

Here is where the problem starts, I try to:

root@Duron800 dan # mysql -u root -p test
Enter password:
ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)

dan@Duron800 dan $ mysqlshow
+-----------+
| Databases |
+-----------+
| test |
+-----------+

Im kinda stuck--I've done dozons of things. The above are just the highlights--I've done the above as root and as a user.

Any thoughts?





Last edited by flashingcurser; 04-10-2004 at 03:34 PM.
 
Old 04-10-2004, 03:59 PM   #2
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Original Poster
Rep: Reputation: 31
root@Duron800 dan # mysql -h 127.0.0.1 -uroot -pBlaBlaBal666
ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)


Stole this from another thread

Hmm
 
  


Reply


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
Noob Questions dark_negotiator Mandriva 16 10-20-2005 08:30 PM
Problems authenticating to Active Directory eantoranz Linux - Networking 3 08-02-2005 05:11 PM
mythtv and mysql noob problems Shaun32 SUSE / openSUSE 1 05-09-2005 03:48 PM
Having problems in users authenticating when trying to FTP. gothicreader Linux - General 1 12-03-2003 09:24 PM
Noob questions Celestial Slackware 10 06-12-2003 08:33 AM


All times are GMT -5. The time now is 06:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration