MySQL Initialization change password problem (Mac system)

Source: Internet
Author: User

Today the company Daniel helped me fix the MySQL initialization password problem, record:

~ PS aux | grep MySQL
Metro 7149 0.0 0.0 2432772 564 s000 r+ 7:16 pm 0:00.00 grep--color=auto--EXCLUDE-DIR=.BZR--exclude-dir=cvs--exclude-dir =.git--exclude-dir=.hg--exclude-dir=.svn MySQL
_mysql 6942 0.0 5.4 3087448 456932?? Ss 7:14 pm 0:00.42/usr/local/mysql/bin/mysqld--user=_mysql--basedir=/usr/local/mysql--datadir=/usr/local/mysql/ Data--plugin-dir=/usr/local/mysql/lib/plugin--log-error=/usr/local/mysql/data/mysqld.local.err--pid-file=/usr/ Local/mysql/data/mysqld.local.pid
? ~/usr/local/mysql/bin/mysqladmin-u root Password
New Password:
Confirm New Password:
/usr/local/mysql/bin/mysqladmin:passwords don ' t match
? ~/usr/local/mysql/bin/mysqladmin-u root Password
New Password:
Confirm New Password:

MySQL Initialization change password problem (Mac system)

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.