In general, forgetting the password is a new mysql novice friend. Let's show you how to use mysqadmin to change the password.
In general, forgetting the password is a new mysql novice friend. Let's show you how to use mysqadmin to change the
I'll take a few examples and I'm sure I'll get it soon.1, the original password is 123456C:>type Mysql5.bat@echo offmysql-uroot-p123456-p3306The correct format for modifying the MySQL user password is:We use it here.User: root (can be replaced by
Mysqladmin use format for tools:mysqladmin [option] command [command option] command ...Parameter options:-C Number Auto run count, must be used with-IHow long does the-I number interval repeat1, each two seconds to view the status of the server, a
mysqladminuse format for tool:mysqladmin [option] command [command option] command ...Parameter options:- C number Auto Run count, must and - I. used together How long does the-I number interval repeat0 ) View the status of the server every two
Change Password:1. For example, your root user does not now have a password and you want the password to be changed to 123456, then the command is:Mysqladmin-u Root Password 1234562. If your root now has a password (123456), then the command to
Change Password:1. For example, if your root user does not have a password and you want to change the password to 123456, the command is:Mysqladmin-u root password 1234562. If your root account has a password (123456), the command to change the
Mysqladmin use format for tools:mysqladmin [option] command [command option] command ...Parameter options:-C Number Auto run count, must be used with-IHow long does the-I number interval repeat0) Check the status of the server every two seconds and
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.