When assembling mysql, the mysqladminpassword 'password' Command reports an error
Source: Internet
Author: User
When mysql is installed, the mysqladminpassword 'password' Command reports an error. when mysql is installed, the mysqladminpassword 'password' Command reports an error-bash: mysqladmin: commandnotfoundlocatemysqladmin error-bash: mysq mysql installation mysqladmin password 'password'
When mysql is installed, the mysqladmin password 'password' command reports an error-bash: mysqladmin: command not found
Locate mysqladmin error-bash: mysqladmin: command not found
How can this problem be solved?
------ Solution --------------------
Run the following command in the mysql installation directory:
For example, in bin./mysqladmin
The last time you asked this question?
------ Solution --------------------
The upstairs is correct. Basically, the mysqladmin path is incorrect.
------ Solution --------------------
Run it in mysql/bin under configure -- prefix = xxx.
For example, if mysql is specified in the libs directory during compilation, the path is as follows:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.