mysqladmin
Difference between mysql, mysqladmin, mysqld [closed]
You could easily find that out yourself by just reading the man pages about the three commands: mysqld is the server executable (one of them) mysql is the command line client mysqladmin is a maintainance or administrative utility They serve different purposes. There is not simply a “difference” between them. For different task you have … Read more
Is there a way to pass the DB user password into the command line tool mysqladmin?
Just found out the answer…. mysqladmin processlist -u root -pYOURPASSWORDHERE No space between your password and the -p
MySQL root password change
SET PASSWORD FOR ‘root’@’localhost’ = PASSWORD(‘mypass’); FLUSH PRIVILEGES;