|
继续补充:我在3250环境中测试安装GreatSQL x86 RPM包是可以正常启动运行的。
- $ lscpu
- Architecture: x86_64
- CPU op-mode(s): 32-bit, 64-bit
- Byte Order: Little Endian
- Address sizes: 48 bits physical, 48 bits virtual
- CPU(s): 16
- On-line CPU(s) list: 0-15
- Thread(s) per core: 2
- Core(s) per socket: 8
- Socket(s): 1
- NUMA node(s): 1
- Vendor ID: HygonGenuine
- CPU family: 24
- Model: 1
- Model name: Hygon C86 3250 8-core Processor
- ...
复制代码
下载RPM包
- -rw-r--r-- 1 root root 126256752 Jul 31 17:34 greatsql-8.0.32-26.1.el8.amd64.rpm-bundle.tar.xz
- -rw-r--r-- 1 root root 19052592 Jul 30 16:27 greatsql-client-8.0.32-26.1.el8.x86_64.rpm
- -rw-r--r-- 1 root root 1939880 Jul 30 16:27 greatsql-devel-8.0.32-26.1.el8.x86_64.rpm
- -rw-r--r-- 1 root root 2175160 Jul 30 16:27 greatsql-icu-data-files-8.0.32-26.1.el8.x86_64.rpm
- -rw-r--r-- 1 root root 5102552 Jul 30 16:27 greatsql-mysql-router-8.0.32-26.1.el8.x86_64.rpm
- -rw-r--r-- 1 root root 96855008 Jul 30 16:27 greatsql-server-8.0.32-26.1.el8.x86_64.rpm
- -rw-r--r-- 1 root root 1535892 Jul 30 16:27 greatsql-shared-8.0.32-26.1.el8.x86_64.rpm
复制代码
安装rpm包
- $ rpm -ivh greatsql-devel-8.0.32-26.1.el8.x86_64.rpm greatsql-icu-data-files-8.0.32-26.1.el8.x86_64.rpm greatsql-server-8.0.32-26.1.el8.x86_64.rpm
- Verifying... ################################# [100%]
- Preparing... ################################# [100%]
- file /etc/my.cnf from install of greatsql-server-8.0.32-26.1.el8.x86_64 conflicts with file from package mariadb-common-3:10.3.9-12.p01.ky10.x86_64
- [root@localhost ~]# rpm -e mariadb-common
- error: Failed dependencies:
- mariadb-common(x86-64) = 3:10.3.9-12.p01.ky10 is needed by (installed) mariadb-errmessage-3:10.3.9-12.p01.ky10.x86_64
- [root@localhost ~]# rpm -e mariadb-common mariadb-errmessage
- [root@localhost ~]# rpm -ivh greatsql-devel-8.0.32-26.1.el8.x86_64.rpm greatsql-icu-data-files-8.0.32-26.1.el8.x86_64.rpm greatsql-server-8.0.32-26.1.el8.x86_64.rpm
- Verifying... ################################# [100%]
- Preparing... ################################# [100%]
- Updating / installing...
- 1:greatsql-icu-data-files-8.0.32-26################################# [ 33%]
- 2:greatsql-server-8.0.32-26.1.el8 ################################# [ 67%]
- 3:greatsql-devel-8.0.32-26.1.el8 ################################# [100%]
- /usr/lib/tmpfiles.d/firebird.conf:1: Line references path below legacy directory /var/run/, updating /var/run/firebird → /run/firebird; please update the tmpfiles.d/ drop-in file accordingly.
- /usr/lib/tmpfiles.d/net-snmp.conf:1: Line references path below legacy directory /var/run/, updating /var/run/net-snmp → /run/net-snmp; please update the tmpfiles.d/ drop-in file accordingly.
- /usr/lib/tmpfiles.d/slapd.conf:2: Line references path below legacy directory /var/run/, updating /var/run/openldap → /run/openldap; please update the tmpfiles.d/ drop-in file accordingly.
复制代码
启动
- $ systemctl start mysqld
- ...
- $ ps -ef | grep -i mysqld
- mysql 35791 1 55 14:13 ? 00:00:00 /usr/sbin/mysqld
- $ grep -i root /var/log/mysqld.log
- 2024-12-19T06:13:01.189275Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: qC!w/JK)g9zr
复制代码
连接并修改初始密码
- $ mysql -p
- Enter password:
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 8
- Server version: 8.0.32-26
- ...
- mysql> \s
- ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
- mysql> alter user user() identified by 'xxx';
- ...
- ...
- mysql> \s
- --------------
- mysql Ver 8.0.32-26 for Linux on x86_64 (GreatSQL (GPL), Release 26, Revision a68b3034c3d)
- Connection id: 9
- Current database:
- Current user: root@localhost
- SSL: Not in use
- Current pager: stdout
- Using outfile: ''
- Using delimiter: ;
- Server version: 8.0.32-26 GreatSQL (GPL), Release 26, Revision a68b3034c3d
复制代码
一切OK。
3550型号没有设备就没再测试,从其他同事之前做适配测试的情况来看,C86-4G 5000、7000两个系列应该都是正常的。
|
|