/usr/bin/mysqladmin -u root -h localhost password 'пароль'
grant all on *.* to root@host identified by "password" with grant option;