LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-26-2005, 09:58 PM   #1
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Rep: Reputation: 30
mysqladmin doesn't work with the when I add -p attribute to it


Dear friends,

I realised when I use the command mysqladmin to create new tables, it only work if I do not submit any password.

Say if I do the folloiwng
mysqladmin -uroot -p create mambodatabase
Then it will prompt me for password and if I press enter (without entering any password), it works fine.

But if enter the following command, the error below shows:

mysqladmin -uroot -p123 create mambodatabase
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: YES)'

The difference between the previous and this command is the password I suppled in the command. Without the password "123" at the command, there wont be any problem creating the database.

I wonder if thats the reason my mambo installation has been unsuccessful so far, anyone who knows the problem, please help me.....
Thanks a million for taking note of my problem...
 
Old 04-27-2005, 07:11 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Have you done this;
Code:
As root:
#/usr/bin/mysql -u root
mysql>SET PASSWORD FOR ''@'localhost' = PASSWORD('your_new_password_here');
mysql>SET PASSWORD FOR ''@'hostname_or_dnsDomainName' = PASSWORD('its_new_password_here');
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQLadmin is missing from RH ES3.0 bentman78 Linux - Software 9 11-30-2009 02:20 PM
mysqladmin doesn't work properly Dark Severance Red Hat 0 04-21-2005 09:55 AM
mysqladmin file is missing? dtournas Linux - Software 1 01-16-2005 01:15 PM
mysqladmin problem hrishikesh Linux - Software 1 07-08-2003 12:55 PM
mysqladmin vcheah Linux - Software 2 11-24-2002 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:57 PM.

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