Password problem with mysqladmin command
Posted by: nick
Date: September 14, 2005 01:23PM

Firstly, I'm using MySQL 4.0.23a on Slackware Linux 10.1.

Right, I'm trying to install Drupal (it's a content management system) and the instructions say to create a database with:

mysqladmin -u dba_user -p create drupal.

My MySQL user is just "mysql" and it doesn't require a password, so I tried

mysqladmin -u mysql create drupal,

but that gives me:

mysqladmin: CREATE DATABASE failed; error: 'Access denied for user: '@localhost' to database 'drupal'.

I then tried with -p and then just pressed "Enter" when prompted for a password, but get the same error message. If I run "mysql -u mysql", that works fine and I get the "mysql>" prompt.

What do I need to do to get this to work?

Thanks in advance!

Options: ReplyQuote


Subject
Written By
Posted
Password problem with mysqladmin command
September 14, 2005 01:23PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.