当前状态：安装mysql-9.0已结束



正在选择下载节点...
--2024-08-29 12:18:26--  https://na1-node.bt.cn/install/1/mysql.sh
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9185 (9.0K) [application/octet-stream]
Saving to: ‘mysql.sh’

     0K ........                                              100%  103M=0s

2024-08-29 12:18:26 (103 MB/s) - ‘mysql.sh’ saved [9185/9185]

正在选择下载节点...
https://na1-node.bt.cn
正在选择下载节点...
--2024-08-29 12:18:47--  https://na1-node.bt.cn/install/4/mysql_new.sh
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 33395 (33K) [application/octet-stream]
Saving to: ‘mysql.sh’

     0K .......... .......... .......... ..                   100%  792K=0.04s

2024-08-29 12:18:47 (792 KB/s) - ‘mysql.sh’ saved [33395/33395]

正在选择下载节点...
Last metadata expiration check: 0:02:47 ago on Thu 29 Aug 2024 12:16:15 PM CST.
Package libtirpc-devel-1.3.3-8.el9_4.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 0:02:48 ago on Thu 29 Aug 2024 12:16:15 PM CST.
Package cmake-3.26.5-2.el9.x86_64 is already installed.
Package libarchive-3.5.3-4.el9.0.1.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 0:02:49 ago on Thu 29 Aug 2024 12:16:15 PM CST.
Package libuv-1:1.42.0-2.el9_4.x86_64 is already installed.
Package openldap-devel-2.6.6-3.el9.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
groupadd: group 'mysql' already exists
useradd: user 'mysql' already exists
Last metadata expiration check: 0:02:51 ago on Thu 29 Aug 2024 12:16:15 PM CST.
Package libtirpc-1.3.3-8.el9_4.x86_64 is already installed.
Package libtirpc-devel-1.3.3-8.el9_4.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
--2024-08-29 12:19:06--  https://dg2.bt.cn/soft/mysql/9.0/el-9-mysql-9.0.tar.gz
Resolving dg2.bt.cn (dg2.bt.cn)... 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9, 128.1.164.196
Connecting to dg2.bt.cn (dg2.bt.cn)|2001:19f0:7001:54fc:5400:2ff:fe9b:97f9|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-08-29 12:19:07 ERROR 404: Not Found.

tar: This does not look like a tar archive

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
mysql.sh: line 655: /www/server/mysql/scripts/mysql_install_db: No such file or directory
cp: cannot stat 'support-files/mysql.server': No such file or directory
chmod: cannot access '/etc/init.d/mysqld': No such file or directory
sed: can't read /etc/init.d/mysqld: No such file or directory
sed: can't read /etc/init.d/mysqld: No such file or directory
sed: can't read /etc/init.d/mysqld: No such file or directory
mysql.sh: line 675: /etc/init.d/mysqld: No such file or directory
mysql.sh: line 677: /www/server/mysql/bin/mysqladmin: No such file or directory
mysql.sh: line 682: /etc/init.d/mysqld: No such file or directory
mysql.sh: line 197: chkconfig: command not found
mysql.sh: line 198: chkconfig: command not found
--2024-08-29 12:19:07--  https://dg2.bt.cn/init/systemd/mysqld.service
Resolving dg2.bt.cn (dg2.bt.cn)... 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9, 128.1.164.196
Connecting to dg2.bt.cn (dg2.bt.cn)|2001:19f0:7001:54fc:5400:2ff:fe9b:97f9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 260 [application/octet-stream]
Saving to: ‘/usr/lib/systemd/system/mysqld.service’

     0K                                                       100% 15.2M=0s

2024-08-29 12:19:08 (15.2 MB/s) - ‘/usr/lib/systemd/system/mysqld.service’ saved [260/260]

WARNING: Skipping MySQL-python as it is not installed.
WARNING: Skipping mysqlclient as it is not installed.
Found existing installation: PyMySQL 0.9.3
Uninstalling PyMySQL-0.9.3:
  Successfully uninstalled PyMySQL-0.9.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
--2024-08-29 12:19:08--  https://dg2.bt.cn/install/src/PyMySQL-0.9.3.zip
Resolving dg2.bt.cn (dg2.bt.cn)... 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9, 128.1.164.196
Connecting to dg2.bt.cn (dg2.bt.cn)|2001:19f0:7001:54fc:5400:2ff:fe9b:97f9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108696 (106K) [application/zip]
Saving to: ‘src.zip’

     0K .......... .......... .......... .......... .......... 47%  182K 0s
    50K .......... .......... .......... .......... .......... 94%  509K 0s
   100K ......                                                100% 48.8M=0.4s

2024-08-29 12:19:10 (285 KB/s) - ‘src.zip’ saved [108696/108696]

Archive:  src.zip
8eee26692726e7c923186322a68e15e4d98c138e
   creating: PyMySQL-0.9.3/
  inflating: PyMySQL-0.9.3/.coveragerc
   creating: PyMySQL-0.9.3/.github/
  inflating: PyMySQL-0.9.3/.github/ISSUE_TEMPLATE.md
  inflating: PyMySQL-0.9.3/.gitignore
  inflating: PyMySQL-0.9.3/.travis.yml
   creating: PyMySQL-0.9.3/.travis/
  inflating: PyMySQL-0.9.3/.travis/database.json
  inflating: PyMySQL-0.9.3/.travis/docker.json
  inflating: PyMySQL-0.9.3/.travis/initializedb.sh
  inflating: PyMySQL-0.9.3/CHANGELOG
  inflating: PyMySQL-0.9.3/LICENSE
 extracting: PyMySQL-0.9.3/MANIFEST.in
  inflating: PyMySQL-0.9.3/Pipfile
  inflating: PyMySQL-0.9.3/README.rst
   creating: PyMySQL-0.9.3/docs/
  inflating: PyMySQL-0.9.3/docs/Makefile
  inflating: PyMySQL-0.9.3/docs/make.bat
   creating: PyMySQL-0.9.3/docs/source/
  inflating: PyMySQL-0.9.3/docs/source/conf.py
  inflating: PyMySQL-0.9.3/docs/source/index.rst
   creating: PyMySQL-0.9.3/docs/source/modules/
  inflating: PyMySQL-0.9.3/docs/source/modules/connections.rst
  inflating: PyMySQL-0.9.3/docs/source/modules/cursors.rst
  inflating: PyMySQL-0.9.3/docs/source/modules/index.rst
   creating: PyMySQL-0.9.3/docs/source/user/
  inflating: PyMySQL-0.9.3/docs/source/user/development.rst
  inflating: PyMySQL-0.9.3/docs/source/user/examples.rst
  inflating: PyMySQL-0.9.3/docs/source/user/index.rst
  inflating: PyMySQL-0.9.3/docs/source/user/installation.rst
  inflating: PyMySQL-0.9.3/docs/source/user/resources.rst
  inflating: PyMySQL-0.9.3/example.py
   creating: PyMySQL-0.9.3/pymysql/
  inflating: PyMySQL-0.9.3/pymysql/__init__.py
  inflating: PyMySQL-0.9.3/pymysql/_auth.py
  inflating: PyMySQL-0.9.3/pymysql/_compat.py
  inflating: PyMySQL-0.9.3/pymysql/_socketio.py
  inflating: PyMySQL-0.9.3/pymysql/charset.py
  inflating: PyMySQL-0.9.3/pymysql/connections.py
   creating: PyMySQL-0.9.3/pymysql/constants/
  inflating: PyMySQL-0.9.3/pymysql/constants/CLIENT.py
  inflating: PyMySQL-0.9.3/pymysql/constants/COMMAND.py
  inflating: PyMySQL-0.9.3/pymysql/constants/CR.py
  inflating: PyMySQL-0.9.3/pymysql/constants/ER.py
  inflating: PyMySQL-0.9.3/pymysql/constants/FIELD_TYPE.py
  inflating: PyMySQL-0.9.3/pymysql/constants/FLAG.py
  inflating: PyMySQL-0.9.3/pymysql/constants/SERVER_STATUS.py
 extracting: PyMySQL-0.9.3/pymysql/constants/__init__.py
  inflating: PyMySQL-0.9.3/pymysql/converters.py
  inflating: PyMySQL-0.9.3/pymysql/cursors.py
  inflating: PyMySQL-0.9.3/pymysql/err.py
  inflating: PyMySQL-0.9.3/pymysql/optionfile.py
  inflating: PyMySQL-0.9.3/pymysql/protocol.py
   creating: PyMySQL-0.9.3/pymysql/tests/
  inflating: PyMySQL-0.9.3/pymysql/tests/__init__.py
  inflating: PyMySQL-0.9.3/pymysql/tests/base.py
   creating: PyMySQL-0.9.3/pymysql/tests/data/
  inflating: PyMySQL-0.9.3/pymysql/tests/data/load_local_data.txt
  inflating: PyMySQL-0.9.3/pymysql/tests/data/load_local_warn_data.txt
  inflating: PyMySQL-0.9.3/pymysql/tests/test_DictCursor.py
  inflating: PyMySQL-0.9.3/pymysql/tests/test_SSCursor.py
  inflating: PyMySQL-0.9.3/pymysql/tests/test_basic.py
  inflating: PyMySQL-0.9.3/pymysql/tests/test_connection.py
  inflating: PyMySQL-0.9.3/pymysql/tests/test_converters.py
  inflating: PyMySQL-0.9.3/pymysql/tests/test_cursor.py
  inflating: PyMySQL-0.9.3/pymysql/tests/test_err.py
  inflating: PyMySQL-0.9.3/pymysql/tests/test_issues.py
  inflating: PyMySQL-0.9.3/pymysql/tests/test_load_local.py
  inflating: PyMySQL-0.9.3/pymysql/tests/test_nextset.py
  inflating: PyMySQL-0.9.3/pymysql/tests/test_optionfile.py
   creating: PyMySQL-0.9.3/pymysql/tests/thirdparty/
  inflating: PyMySQL-0.9.3/pymysql/tests/thirdparty/__init__.py
   creating: PyMySQL-0.9.3/pymysql/tests/thirdparty/test_MySQLdb/
  inflating: PyMySQL-0.9.3/pymysql/tests/thirdparty/test_MySQLdb/__init__.py
  inflating: PyMySQL-0.9.3/pymysql/tests/thirdparty/test_MySQLdb/capabilities.py
  inflating: PyMySQL-0.9.3/pymysql/tests/thirdparty/test_MySQLdb/dbapi20.py
  inflating: PyMySQL-0.9.3/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.py
  inflating: PyMySQL-0.9.3/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.py
  inflating: PyMySQL-0.9.3/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.py
  inflating: PyMySQL-0.9.3/pymysql/times.py
  inflating: PyMySQL-0.9.3/pymysql/util.py
 extracting: PyMySQL-0.9.3/requirements.txt
  inflating: PyMySQL-0.9.3/runtests.py
  inflating: PyMySQL-0.9.3/setup.cfg
  inflating: PyMySQL-0.9.3/setup.py
   creating: PyMySQL-0.9.3/tests/
 extracting: PyMySQL-0.9.3/tests/__init__.py
  inflating: PyMySQL-0.9.3/tests/test_auth.py
  inflating: PyMySQL-0.9.3/tox.ini
running install
running bdist_egg
running egg_info
creating PyMySQL.egg-info
writing PyMySQL.egg-info/PKG-INFO
writing dependency_links to PyMySQL.egg-info/dependency_links.txt
writing requirements to PyMySQL.egg-info/requires.txt
writing top-level names to PyMySQL.egg-info/top_level.txt
writing manifest file 'PyMySQL.egg-info/SOURCES.txt'
reading manifest file 'PyMySQL.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'PyMySQL.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/pymysql
copying pymysql/__init__.py -> build/lib/pymysql
copying pymysql/_auth.py -> build/lib/pymysql
copying pymysql/_compat.py -> build/lib/pymysql
copying pymysql/_socketio.py -> build/lib/pymysql
copying pymysql/charset.py -> build/lib/pymysql
copying pymysql/connections.py -> build/lib/pymysql
copying pymysql/converters.py -> build/lib/pymysql
copying pymysql/cursors.py -> build/lib/pymysql
copying pymysql/err.py -> build/lib/pymysql
copying pymysql/optionfile.py -> build/lib/pymysql
copying pymysql/protocol.py -> build/lib/pymysql
copying pymysql/times.py -> build/lib/pymysql
copying pymysql/util.py -> build/lib/pymysql
creating build/lib/pymysql/constants
copying pymysql/constants/CLIENT.py -> build/lib/pymysql/constants
copying pymysql/constants/COMMAND.py -> build/lib/pymysql/constants
copying pymysql/constants/CR.py -> build/lib/pymysql/constants
copying pymysql/constants/ER.py -> build/lib/pymysql/constants
copying pymysql/constants/FIELD_TYPE.py -> build/lib/pymysql/constants
copying pymysql/constants/FLAG.py -> build/lib/pymysql/constants
copying pymysql/constants/SERVER_STATUS.py -> build/lib/pymysql/constants
copying pymysql/constants/__init__.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/__init__.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/_compat.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/_socketio.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/connections.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/cursors.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/err.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/protocol.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/util.py -> build/bdist.linux-x86_64/egg/pymysql
creating 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/COMMAND.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/constants/ER.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/FLAG.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/__init__.py -> build/bdist.linux-x86_64/egg/pymysql/constants
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/_auth.py to _auth.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/_socketio.py to _socketio.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/connections.py to connections.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/cursors.py to cursors.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/optionfile.py to optionfile.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/times.py to times.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/CLIENT.py to CLIENT.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/CR.py to CR.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/FIELD_TYPE.py to FIELD_TYPE.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/SERVER_STATUS.py to SERVER_STATUS.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/__init__.py to __init__.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..	[32mdone[0m
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 21: 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密码成功修改为: 846b4f44c2ed6fca
The root password set 846b4f44c2ed6fca  successuful
1
mysql.sh: line 332: /etc/init.d/mysqld: No such file or directory
mysql.sh: line 336: /etc/init.d/mysqld: No such file or directory
mysql.sh: line 338: /www/server/mysql/bin/mysql: No such file or directory
mysql.sh: line 339: /www/server/mysql/bin/mysql: No such file or directory
mysql.sh: line 340: /www/server/mysql/bin/mysql: No such file or directory
|-Successify --- 命令已执行! ---
