Linux installation mysql database initialization password prompt -bash: mysqld: command not found solution

Follow the tutorial to install the mysql database on linux

Running the command mysqld --initialize prompts:

It is not easy to add environment variables to query data

The final solution is to install

mysql-community-server-5.7.33-1.el7.x86_64.rpm

This server file.

Address: https://dev.mysql.com/downloads/mysql/

Mark it.

 

Reference article source:

https://www.cnblogs.com/hey-zero/p/14265116.html

Guess you like

Origin blog.csdn.net/htsssss/article/details/114970163