- 新安装的ubuntu18.04,安装mysql10.0或者10.1都会出现以下同样的错误。最郁闷的是,缺少mysql_config文件,我就手动apt install libmysqlclient-dev安装,反复检查的确有mysql_config了。可我再次用宝塔安装mysql的时候还是出现以下错误。我一脸懵逼。后来一看,晕,居然mysql_config不见了!不见了!宝塔自动安装程序居然把它删了!删了!删了然后告诉我找不到它了,这是什么逻辑呀?我有点晕呀!
- Archive: MySQL-python-1.2.5.zip
- creating: MySQL-python-1.2.5/
- creating: MySQL-python-1.2.5/doc/
- inflating: MySQL-python-1.2.5/doc/conf.py
- inflating: MySQL-python-1.2.5/doc/FAQ.rst
- inflating: MySQL-python-1.2.5/doc/index.rst
- extracting: MySQL-python-1.2.5/doc/modules.rst
- inflating: MySQL-python-1.2.5/doc/MySQLdb.constants.rst
- inflating: MySQL-python-1.2.5/doc/MySQLdb.rst
- inflating: MySQL-python-1.2.5/doc/user_guide.rst
- creating: MySQL-python-1.2.5/doc/_build/
- creating: MySQL-python-1.2.5/doc/_build/_sources/
- inflating: MySQL-python-1.2.5/doc/_build/_sources/distribute_setup.txt
- inflating: MySQL-python-1.2.5/doc/_build/_sources/FAQ.txt
- inflating: MySQL-python-1.2.5/doc/_build/_sources/index.txt
- extracting: MySQL-python-1.2.5/doc/_build/_sources/modules.txt
- inflating: MySQL-python-1.2.5/doc/_build/_sources/MySQLdb.constants.txt
- inflating: MySQL-python-1.2.5/doc/_build/_sources/MySQLdb.txt
- inflating: MySQL-python-1.2.5/doc/_build/_sources/setup.txt
- inflating: MySQL-python-1.2.5/doc/_build/_sources/setup_common.txt
- inflating: MySQL-python-1.2.5/doc/_build/_sources/setup_posix.txt
- inflating: MySQL-python-1.2.5/doc/_build/_sources/setup_windows.txt
- inflating: MySQL-python-1.2.5/doc/_build/_sources/user_guide.txt
- inflating: MySQL-python-1.2.5/doc/_build/_sources/_mysql.txt
- inflating: MySQL-python-1.2.5/doc/_build/_sources/_mysql_exceptions.txt
- inflating: MySQL-python-1.2.5/doc/_mysql.rst
- inflating: MySQL-python-1.2.5/doc/_mysql_exceptions.rst
- inflating: MySQL-python-1.2.5/GPL-2.0
- inflating: MySQL-python-1.2.5/HISTORY
- inflating: MySQL-python-1.2.5/INSTALL
- inflating: MySQL-python-1.2.5/MANIFEST.in
- inflating: MySQL-python-1.2.5/metadata.cfg
- creating: MySQL-python-1.2.5/MySQLdb/
- inflating: MySQL-python-1.2.5/MySQLdb/connections.py
- creating: MySQL-python-1.2.5/MySQLdb/constants/
- inflating: MySQL-python-1.2.5/MySQLdb/constants/CLIENT.py
- inflating: MySQL-python-1.2.5/MySQLdb/constants/CR.py
- inflating: MySQL-python-1.2.5/MySQLdb/constants/ER.py
- inflating: MySQL-python-1.2.5/MySQLdb/constants/FIELD_TYPE.py
- inflating: MySQL-python-1.2.5/MySQLdb/constants/FLAG.py
- inflating: MySQL-python-1.2.5/MySQLdb/constants/REFRESH.py
- extracting: MySQL-python-1.2.5/MySQLdb/constants/__init__.py
- inflating: MySQL-python-1.2.5/MySQLdb/converters.py
- inflating: MySQL-python-1.2.5/MySQLdb/cursors.py
- inflating: MySQL-python-1.2.5/MySQLdb/release.py
- inflating: MySQL-python-1.2.5/MySQLdb/times.py
- inflating: MySQL-python-1.2.5/MySQLdb/__init__.py
- creating: MySQL-python-1.2.5/MySQL_python.egg-info/
- extracting: MySQL-python-1.2.5/MySQL_python.egg-info/dependency_links.txt
- inflating: MySQL-python-1.2.5/MySQL_python.egg-info/PKG-INFO
- inflating: MySQL-python-1.2.5/MySQL_python.egg-info/SOURCES.txt
- extracting: MySQL-python-1.2.5/MySQL_python.egg-info/top_level.txt
- inflating: MySQL-python-1.2.5/PKG-INFO
- inflating: MySQL-python-1.2.5/pymemcompat.h
- inflating: MySQL-python-1.2.5/README.md
- inflating: MySQL-python-1.2.5/setup.cfg
- inflating: MySQL-python-1.2.5/setup.py
- inflating: MySQL-python-1.2.5/setup_common.py
- inflating: MySQL-python-1.2.5/setup_posix.py
- inflating: MySQL-python-1.2.5/setup_windows.py
- inflating: MySQL-python-1.2.5/site.cfg
- creating: MySQL-python-1.2.5/tests/
- inflating: MySQL-python-1.2.5/tests/capabilities.py
- inflating: MySQL-python-1.2.5/tests/configdb.py
- inflating: MySQL-python-1.2.5/tests/dbapi20.py
- inflating: MySQL-python-1.2.5/tests/test_MySQLdb_capabilities.py
- inflating: MySQL-python-1.2.5/tests/test_MySQLdb_dbapi20.py
- inflating: MySQL-python-1.2.5/tests/test_MySQLdb_nonstandard.py
- inflating: MySQL-python-1.2.5/_mysql.c
- inflating: MySQL-python-1.2.5/_mysql_exceptions.py
- sh: /www/server/mysql/bin/mysql_config: No such file or directory
- Traceback (most recent call last):
- File "setup.py", line 17, in <module>
- metadata, options = get_config()
- File "/www/server/panel/MySQL-python-1.2.5/setup_posix.py", line 43, in get_config
- libs = mysql_config("libs_r")
- File "/www/server/panel/MySQL-python-1.2.5/setup_posix.py", line 25, in mysql_config
- raise EnvironmentError("%s not found" % (mysql_config.path,))
- EnvironmentError: /www/server/mysql/bin/mysql_config not found
复制代码
|
|