Home > Database > Mysql Tutorial > body text

Solve the problem of mysql_config not found in one minute

藏色散人
Release: 2021-12-10 17:43:46
forward
4457 people have browsed it

Solve the problem of mysql_config not found in one minute

One command to solvemysql_config not found

I have encountered the following problem several times when pip installed mysql-python problem, record the solution here.

The reason why mysql_config cannot be found is usually because after installing mysql through lnmp.org or other methods, mysql_config is in /usr/local/mysql/bin/, and the files inside are not accessible from any location

Solution:

Execute

ln -s /usr/local/mysql/bin/mysql_config /usr/local/bin/mysql_config
Copy after login

to link mysql_config to the /usr/local/bin directory.

->If it is still not found, make sure to install the dependencies:

yum install mysql-devel
Copy after login

Recommended study: "mysql video tutorial"

The above is the detailed content of Solve the problem of mysql_config not found in one minute. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template