Re: MySQL Setup Problem

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

 



Michael Smith schrieb:

I tried running:

mysqladmin -u root password 'new-password'

and it (at least the first time) was fine. Now when I try to change the
password again, or start a mysql instance, it says 'access denied for
user root@xxxxxxxxx using password YES'


"-p"


$mysqladmin -uroot ... -p

$mysql -uroot -p
Enter password:

mysql> set password =password('your_password');
Query OK, 0 rows affected (0.00 sec)

mysql> grant all privileges on *.* to 'your_user'@'192.%' identified by 'passwd';
Query OK, 0 rows affected (0.00 sec)



or #killall mysqld; mysqld_safe --skip-grant-tables &

http://www.mysql.com/doc/en/Command-line_options.html


-- shrek-m





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux