'root' is the default admin user, and is set up without any password
try your command in the form:
Usage: mysql [OPTIONS] database
Example:
# mysql -u root mysql
(you didn't specify the database name "mysql" was your only problem)
--
Scott Brightwell
Systems Engineer
CTSinc.net
On Tue, 01 Feb 2000, you wrote:
> since mysql is already installed in mandrake 7, I guess I should ask
> here first.
>
> What is the default password after install? I have tried deleteing and
> remaking the database but I just get
>
> # mysqladmin -u root -p ********
> mysqladmin: connect to server at '' failed; error: 'Access denied for
> user: 'root@localhost' (Using password: YES)'
>
> # mysql -u root -p ********
> Enter password: ********
> ERROR: Access denied for user: 'root@localhost' (Using password: YES)
>
> so apparantly I am not allowed because I do not know the password -
> which I didn't setup.