[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] raq2 mysql password



I have a RAQ2 and installed mysql.  The mysql password can't be set!  Logged
in as root user I should be able to use the '/usr/bin/mysqladmin' file to set
a password.  I always get this error:

/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'

Assuming I wanted the password to be 'web6680' exaclty what do I type to set
it?  Do I need to do something beyond logging in as root before setting the
password?

Thanks, Ryan McKillen

I'm no expert, I simply asked this question of one of my work mates the other
day but his reply was:

mysql -pPASSWORD -uUSER (if not current user)

so therefore yours to log in as root would be:
mysql -pweb6680 -uroot

Iain Ward