Re: A begineer
am 20.01.2006 17:34:52 von Jonathan
dsantivanez@gmail.com wrote:
> Hello:
>
> I have a problem when i create a database:
>
> # mysqladmin -uroot -pclave create basedato
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'root'@'localhost' (using password:
> YES)'
> #
>
> What is the problem?
>
> Thanks and sorry my english
>
It show that there is a mysql service running, but that the user
root@localhost is not allowed with the specified password.
Shouldn't there be a '=' sign between the switches and their values?
Did you set a password? If not try login in without a password.
If you set a password type the password correct, it is case sensitive.
Or just remove the password from the commandline and let mysql prompt
you for the password by only specifiing the -p switch without a value.
Try mysqladmin -h for the correct syntaxis.
Jonathan