Home  >  Article  >  Database  >  MYSQL Learning Summary (8): Frequently Asked Questions

MYSQL Learning Summary (8): Frequently Asked Questions

黄舟
黄舟Original
2016-12-23 17:16:271278browse

#Forgot root password
/usr/local/mysql/bin/mysqld_safe –skip-grant –tables & start
Mysql –u root to log in
#Change user password
Update mysql.user set password=PASSWORD(“111111” ) where user= "username";

The above is the MYSQL learning summary (8): the content of frequently asked questions. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn