当前位置:论坛首页 > Linux面板 > 求助

【已回应】ubuntu18.04不能安装mysql。无论哪个版本都出错。

发表在 Linux面板2018-10-23 17:41 [复制链接] 3 1661

  1. 新安装的ubuntu18.04,安装mysql10.0或者10.1都会出现以下同样的错误。最郁闷的是,缺少mysql_config文件,我就手动apt install libmysqlclient-dev安装,反复检查的确有mysql_config了。可我再次用宝塔安装mysql的时候还是出现以下错误。我一脸懵逼。后来一看,晕,居然mysql_config不见了!不见了!宝塔自动安装程序居然把它删了!删了!删了然后告诉我找不到它了,这是什么逻辑呀?我有点晕呀!
  2. Archive:  MySQL-python-1.2.5.zip
  3. creating: MySQL-python-1.2.5/
  4. creating: MySQL-python-1.2.5/doc/
  5. inflating: MySQL-python-1.2.5/doc/conf.py
  6. inflating: MySQL-python-1.2.5/doc/FAQ.rst
  7. inflating: MySQL-python-1.2.5/doc/index.rst
  8. extracting: MySQL-python-1.2.5/doc/modules.rst
  9. inflating: MySQL-python-1.2.5/doc/MySQLdb.constants.rst
  10. inflating: MySQL-python-1.2.5/doc/MySQLdb.rst
  11. inflating: MySQL-python-1.2.5/doc/user_guide.rst
  12. creating: MySQL-python-1.2.5/doc/_build/
  13. creating: MySQL-python-1.2.5/doc/_build/_sources/
  14. inflating: MySQL-python-1.2.5/doc/_build/_sources/distribute_setup.txt
  15. inflating: MySQL-python-1.2.5/doc/_build/_sources/FAQ.txt
  16. inflating: MySQL-python-1.2.5/doc/_build/_sources/index.txt
  17. extracting: MySQL-python-1.2.5/doc/_build/_sources/modules.txt
  18. inflating: MySQL-python-1.2.5/doc/_build/_sources/MySQLdb.constants.txt
  19. inflating: MySQL-python-1.2.5/doc/_build/_sources/MySQLdb.txt
  20. inflating: MySQL-python-1.2.5/doc/_build/_sources/setup.txt
  21. inflating: MySQL-python-1.2.5/doc/_build/_sources/setup_common.txt
  22. inflating: MySQL-python-1.2.5/doc/_build/_sources/setup_posix.txt
  23. inflating: MySQL-python-1.2.5/doc/_build/_sources/setup_windows.txt
  24. inflating: MySQL-python-1.2.5/doc/_build/_sources/user_guide.txt
  25. inflating: MySQL-python-1.2.5/doc/_build/_sources/_mysql.txt
  26. inflating: MySQL-python-1.2.5/doc/_build/_sources/_mysql_exceptions.txt
  27. inflating: MySQL-python-1.2.5/doc/_mysql.rst
  28. inflating: MySQL-python-1.2.5/doc/_mysql_exceptions.rst
  29. inflating: MySQL-python-1.2.5/GPL-2.0
  30. inflating: MySQL-python-1.2.5/HISTORY
  31. inflating: MySQL-python-1.2.5/INSTALL
  32. inflating: MySQL-python-1.2.5/MANIFEST.in
  33. inflating: MySQL-python-1.2.5/metadata.cfg
  34. creating: MySQL-python-1.2.5/MySQLdb/
  35. inflating: MySQL-python-1.2.5/MySQLdb/connections.py
  36. creating: MySQL-python-1.2.5/MySQLdb/constants/
  37. inflating: MySQL-python-1.2.5/MySQLdb/constants/CLIENT.py
  38. inflating: MySQL-python-1.2.5/MySQLdb/constants/CR.py
  39. inflating: MySQL-python-1.2.5/MySQLdb/constants/ER.py
  40. inflating: MySQL-python-1.2.5/MySQLdb/constants/FIELD_TYPE.py
  41. inflating: MySQL-python-1.2.5/MySQLdb/constants/FLAG.py
  42. inflating: MySQL-python-1.2.5/MySQLdb/constants/REFRESH.py
  43. extracting: MySQL-python-1.2.5/MySQLdb/constants/__init__.py
  44. inflating: MySQL-python-1.2.5/MySQLdb/converters.py
  45. inflating: MySQL-python-1.2.5/MySQLdb/cursors.py
  46. inflating: MySQL-python-1.2.5/MySQLdb/release.py
  47. inflating: MySQL-python-1.2.5/MySQLdb/times.py
  48. inflating: MySQL-python-1.2.5/MySQLdb/__init__.py
  49. creating: MySQL-python-1.2.5/MySQL_python.egg-info/
  50. extracting: MySQL-python-1.2.5/MySQL_python.egg-info/dependency_links.txt
  51. inflating: MySQL-python-1.2.5/MySQL_python.egg-info/PKG-INFO
  52. inflating: MySQL-python-1.2.5/MySQL_python.egg-info/SOURCES.txt
  53. extracting: MySQL-python-1.2.5/MySQL_python.egg-info/top_level.txt
  54. inflating: MySQL-python-1.2.5/PKG-INFO
  55. inflating: MySQL-python-1.2.5/pymemcompat.h
  56. inflating: MySQL-python-1.2.5/README.md
  57. inflating: MySQL-python-1.2.5/setup.cfg
  58. inflating: MySQL-python-1.2.5/setup.py
  59. inflating: MySQL-python-1.2.5/setup_common.py
  60. inflating: MySQL-python-1.2.5/setup_posix.py
  61. inflating: MySQL-python-1.2.5/setup_windows.py
  62. inflating: MySQL-python-1.2.5/site.cfg
  63. creating: MySQL-python-1.2.5/tests/
  64. inflating: MySQL-python-1.2.5/tests/capabilities.py
  65. inflating: MySQL-python-1.2.5/tests/configdb.py
  66. inflating: MySQL-python-1.2.5/tests/dbapi20.py
  67. inflating: MySQL-python-1.2.5/tests/test_MySQLdb_capabilities.py
  68. inflating: MySQL-python-1.2.5/tests/test_MySQLdb_dbapi20.py
  69. inflating: MySQL-python-1.2.5/tests/test_MySQLdb_nonstandard.py
  70. inflating: MySQL-python-1.2.5/_mysql.c
  71. inflating: MySQL-python-1.2.5/_mysql_exceptions.py
  72. sh: /www/server/mysql/bin/mysql_config: No such file or directory
  73. Traceback (most recent call last):
  74. File "setup.py", line 17, in <module>
  75. metadata, options = get_config()
  76. File "/www/server/panel/MySQL-python-1.2.5/setup_posix.py", line 43, in get_config
  77. libs = mysql_config("libs_r")
  78. File "/www/server/panel/MySQL-python-1.2.5/setup_posix.py", line 25, in mysql_config
  79. raise EnvironmentError("%s not found" % (mysql_config.path,))
  80. EnvironmentError: /www/server/mysql/bin/mysql_config not found
复制代码


使用道具 举报 只看该作者 回复
发表于 2018-10-24 10:35:35 | 显示全部楼层
你把/tmp/panelExec.log这个文件上传上来看看
使用道具 举报 回复 支持 反对
发表于 2018-10-24 10:50:54 | 显示全部楼层
河妖 发表于 2018-10-24 10:35
你把/tmp/panelExec.log这个文件上传上来看看

谢谢哈。
panelExec.rar (130.97 KB, 下载次数: 2049)
使用道具 举报 回复 支持 反对
发表于 2018-11-6 23:07:08 | 显示全部楼层
现在解决了吗?我这边也是安装不上
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表