A begineer

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

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:

What is the problem?

Thanks and sorry my english

Re: A begineer

dsantivanez@gmail.com wrote:
Quoted text here. Click to load it

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.


Site Timeline