3、添加配置文件
运行下面命令增加一个配置文件
sudo cp /usr/local/mysql/support-files/my-large.cnf /etc/my.cnf
4、修改Mysql密码
用以下命令修改mysql密码设置为root123$ /usr/local/mysql/bin/mysql -u root
mysql> use mysql
mysql> UPDATE user SET password=PASSWORD("root123") WHERE user='root';
mysql> FLUSH PRIVILEGES;
mysql> QUIT
Statement of this Website
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