宝塔一键安装完,已安装里面竟然没有mysql

65次阅读

共计 7192 个字符,预计需要花费 18 分钟才能阅读完成。

宝塔一键安装完,(明明已经提示安装成功了)已安装里面竟然没有 mysql
软件商店里搜索 mysql 也未安装
重装了几次系统了,从编译到极速安装都试过了

既然是新安装的,
你重做系统吧

匿名会员 发表于 2022-10-23 12:01
既然是新安装的,
你重做系统吧

重做过两次了这还是第一次见屏蔽了屏蔽了你这个瓜,换个节点安装试试用啥宝塔,就 centos7 兼容性还好点,其它系统多多少少都有问题单独安装 MYSQL,然后看日志报的什么错。我也遇到这个问题
debian
貌似以前的宝塔都没这种问题
现在的版本,一键安装完环境,总是缺胳膊少腿,还有宝塔面板乱码,一堆问题这个问题存在很久了,宝塔官方至今解决不了

tomcb 发表于 2022-10-23 12:25
单独安装 MYSQL,然后看日志报的什么错。

copying pymysql/constants/SERVER_STATUS.py -> build/lib/pymysql/constants
copying pymysql/constants/FIELD_TYPE.py -> build/lib/pymysql/constants
copying pymysql/constants/COMMAND.py -> build/lib/pymysql/constants
copying pymysql/constants/CLIENT.py -> build/lib/pymysql/constants
copying pymysql/constants/FLAG.py -> build/lib/pymysql/constants
copying pymysql/constants/CR.py -> build/lib/pymysql/constants
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/cursors.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/__init__.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/util.py -> build/bdist.linux-x86_64/egg/pymysql
creating build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/__init__.py -> build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/ER.py -> build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/SERVER_STATUS.py -> build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/FIELD_TYPE.py -> build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/COMMAND.py -> build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/CLIENT.py -> build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/FLAG.py -> build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/CR.py -> build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/err.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/charset.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/converters.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/protocol.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/connections.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/_compat.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/_auth.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/optionfile.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/times.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/_socketio.py -> build/bdist.linux-x86_64/egg/pymysql
byte-compiling build/bdist.linux-x86_64/egg/pymysql/cursors.py to cursors.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/util.py to util.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/ER.py to ER.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/SERVER_STATUS.py to SERVER_STATUS.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/FIELD_TYPE.py to FIELD_TYPE.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/COMMAND.py to COMMAND.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/CLIENT.py to CLIENT.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/FLAG.py to FLAG.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/CR.py to CR.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/err.py to err.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/charset.py to charset.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/converters.py to converters.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/protocol.py to protocol.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/connections.py to connections.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/_compat.py to _compat.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/_auth.py to _auth.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/optionfile.py to optionfile.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/times.py to times.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/_socketio.py to _socketio.cpython-37.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying PyMySQL.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PyMySQL.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PyMySQL.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PyMySQL.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PyMySQL.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
zip_safe flag not set; analyzing archive contents…
creating dist
creating ‘dist/PyMySQL-0.9.3-py3.7.egg’ and adding ‘build/bdist.linux-x86_64/egg’ to it
removing ‘build/bdist.linux-x86_64/egg’ (and everything under it)
Processing PyMySQL-0.9.3-py3.7.egg
Copying PyMySQL-0.9.3-py3.7.egg to /www/server/panel/pyenv/lib/python3.7/site-packages
Adding PyMySQL 0.9.3 to easy-install.pth file
Installed /www/server/panel/pyenv/lib/python3.7/site-packages/PyMySQL-0.9.3-py3.7.egg
Processing dependencies for PyMySQL==0.9.3
Finished processing dependencies for PyMySQL==0.9.3
Reload Bt-Panel.. done
mysql_root.sh: line 5: /etc/init.d/mysqld: No such file or directory
正在修改密码 …
The set password…
mysql_root.sh: line 6: mysqld_safe: command not found
mysql_root.sh: line 13: mysql: command not found
mysql_root.sh: line 24: mysql: command not found
mysql_root.sh: line 28: /etc/init.d/mysqld: No such file or directory
===========================================
root 密码成功修改为: 7008268190ef5344
The root password set 7008268190ef5344 successuful
1
–2022-10-23 08:05:28– http://dg2.bt.cn/tools/check.sh
Resolving dg2.bt.cn (dg2.bt.cn)… 240e:a5:4200:89::256, 116.213.43.206
Connecting to dg2.bt.cn (dg2.bt.cn)|240e:a5:4200:89::256|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 565 [application/octet-stream]
Saving to: ‘/www/server/panel/install/check.sh’
0K 100% 23.8M=0s
2022-10-23 08:05:29 (23.8 MB/s) – ‘/www/server/panel/install/check.sh’ saved [565/565]
|-Successify — 命令已执行! — 复制代码
这是日志,大佬麻烦帮忙看下

6fyC8r 发表于 2022-10-23 12:29
我也遇到这个问题
debian
貌似以前的宝塔都没这种问题

大佬后来怎么解决的重启一下,宝塔有的软件要安装几次才能安装上的

求知 发表于 2022-10-23 16:15
大佬后来怎么解决的

单独装,还是装不上的话,装低版本的组件 https://mp.weixin.qq.com/s/kXzEHPRc9laCCxUXZWUrFg
还敢用宝塔跟你情况差不多,上次装 docker 也是,明明装好了就是没有,重新装了两次才好

正文完
 0