kekeones 发表于 2020-4-13 10:02:43

centos8 安装mysql5.6卡住

本帖最后由 kekeones 于 2020-4-13 10:06 编辑

<blockquote>Installing MySQL system tables...2020-04-13 09:50:30 0 Ignoring --secure-file-priv value as server is running with --bootstrap.

kekeones 发表于 2020-4-13 10:15:29

Installing MySQL system tables...2020-04-13 09:50:30 0 Ignoring --secure-file-priv value as server is running with --bootstrap.
2020-04-13 09:50:30 0 /usr/local/mysql/bin/mysqld (mysqld 5.6.46-log) starting as process 24772 ...
2020-04-13 09:50:30 24772 InnoDB: Using atomics to ref count buffer pool pages
2020-04-13 09:50:30 24772 InnoDB: The InnoDB memory heap is disabled
2020-04-13 09:50:30 24772 InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-04-13 09:50:30 24772 InnoDB: Memory barrier is not used
2020-04-13 09:50:30 24772 InnoDB: Compressed tables use zlib 1.2.11
2020-04-13 09:50:30 24772 InnoDB: Using Linux native AIO
2020-04-13 09:50:30 24772 InnoDB: Using CPU crc32 instructions
2020-04-13 09:50:30 24772 InnoDB: Initializing buffer pool, size = 256.0M
2020-04-13 09:50:30 24772 InnoDB: Completed initialization of buffer pool
2020-04-13 09:50:30 24772 InnoDB: The first specified data file /usr/local//mysql/var/ibdata1 did not exist: a new database to be created!
2020-04-13 09:50:30 24772 InnoDB: Setting file /usr/local//mysql/var/ibdata1 size to 10 MB
2020-04-13 09:50:30 24772 InnoDB: Database physically writes the file full: wait...
2020-04-13 09:50:30 24772 InnoDB: Setting log file /usr/local//mysql/var/ib_logfile101 size to 64 MB
2020-04-13 09:50:31 24772 InnoDB: Setting log file /usr/local//mysql/var/ib_logfile1 size to 64 MB
2020-04-13 09:50:31 24772 InnoDB: Renaming log file /usr/local//mysql/var/ib_logfile101 to /usr/local//mysql/var/ib_logfile0
2020-04-13 09:50:31 24772 InnoDB: New log files created, LSN=45781
2020-04-13 09:50:31 24772 InnoDB: Doublewrite buffer not found: creating new
2020-04-13 09:50:31 24772 InnoDB: Doublewrite buffer created
2020-04-13 09:50:32 24772 InnoDB: 128 rollback segment(s) are active.
2020-04-13 09:50:32 24772 InnoDB: Creating foreign key constraint system tables.
2020-04-13 09:50:32 24772 InnoDB: Foreign key constraint system tables created
2020-04-13 09:50:32 24772 InnoDB: Creating tablespace and datafile system tables.
2020-04-13 09:50:32 24772 InnoDB: Tablespace and datafile system tables created.
2020-04-13 09:50:32 24772 InnoDB: Waiting for purge to start
2020-04-13 09:50:32 24772 InnoDB: 5.6.46 started; log sequence number 0
2020-04-13 09:50:30 0 /usr/local/mysql/bin/mysqld (mysqld 5.6.46-log) starting as process 24772 ...
2020-04-13 09:50:30 24772 InnoDB: Using atomics to ref count buffer pool pages
2020-04-13 09:50:30 24772 InnoDB: The InnoDB memory heap is disabled
2020-04-13 09:50:30 24772 InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-04-13 09:50:30 24772 InnoDB: Memory barrier is not used
2020-04-13 09:50:30 24772 InnoDB: Compressed tables use zlib 1.2.11
2020-04-13 09:50:30 24772 InnoDB: Using Linux native AIO
2020-04-13 09:50:30 24772 InnoDB: Using CPU crc32 instructions
2020-04-13 09:50:30 24772 InnoDB: Initializing buffer pool, size = 256.0M
2020-04-13 09:50:30 24772 InnoDB: Completed initialization of buffer pool
2020-04-13 09:50:30 24772 InnoDB: The first specified data file /usr/local//mysql/var/ibdata1 did not exist: a new database to be created!
2020-04-13 09:50:30 24772 InnoDB: Setting file /usr/local//mysql/var/ibdata1 size to 10 MB
2020-04-13 09:50:30 24772 InnoDB: Database physically writes the file full: wait...
2020-04-13 09:50:30 24772 InnoDB: Setting log file /usr/local//mysql/var/ib_logfile101 size to 64 MB
2020-04-13 09:50:31 24772 InnoDB: Setting log file /usr/local//mysql/var/ib_logfile1 size to 64 MB
2020-04-13 09:50:31 24772 InnoDB: Renaming log file /usr/local//mysql/var/ib_logfile101 to /usr/local//mysql/var/ib_logfile0
2020-04-13 09:50:31 24772 InnoDB: New log files created, LSN=45781
2020-04-13 09:50:31 24772 InnoDB: Doublewrite buffer not found: creating new
2020-04-13 09:50:31 24772 InnoDB: Doublewrite buffer created
2020-04-13 09:50:32 24772 InnoDB: 128 rollback segment(s) are active.
2020-04-13 09:50:32 24772 InnoDB: Creating foreign key constraint system tables.
2020-04-13 09:50:32 24772 InnoDB: Foreign key constraint system tables created
2020-04-13 09:50:32 24772 InnoDB: Creating tablespace and datafile system tables.
2020-04-13 09:50:32 24772 InnoDB: Tablespace and datafile system tables created.
2020-04-13 09:50:32 24772 InnoDB: Waiting for purge to start
2020-04-13 09:50:32 24772 InnoDB: 5.6.46 started; log sequence number 0
2020-04-13 09:50:30 0 /usr/local/mysql/bin/mysqld (mysqld 5.6.46-log) starting as process 24772 ...
2020-04-13 09:50:30 24772 InnoDB: Using atomics to ref count buffer pool pages
2020-04-13 09:50:30 24772 InnoDB: The InnoDB memory heap is disabled
2020-04-13 09:50:30 24772 InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-04-13 09:50:30 24772 InnoDB: Memory barrier is not used
2020-04-13 09:50:30 24772 InnoDB: Compressed tables use zlib 1.2.11
2020-04-13 09:50:30 24772 InnoDB: Using Linux native AIO
2020-04-13 09:50:30 24772 InnoDB: Using CPU crc32 instructions
2020-04-13 09:50:30 24772 InnoDB: Initializing buffer pool, size = 256.0M
2020-04-13 09:50:30 24772 InnoDB: Completed initialization of buffer pool
2020-04-13 09:50:30 24772 InnoDB: The first specified data file /usr/local//mysql/var/ibdata1 did not exist: a new database to be created!
2020-04-13 09:50:30 24772 InnoDB: Setting file /usr/local//mysql/var/ibdata1 size to 10 MB
2020-04-13 09:50:30 24772 InnoDB: Database physically writes the file full: wait...
2020-04-13 09:50:30 24772 InnoDB: Setting log file /usr/local//mysql/var/ib_logfile101 size to 64 MB
2020-04-13 09:50:31 24772 InnoDB: Setting log file /usr/local//mysql/var/ib_logfile1 size to 64 MB
2020-04-13 09:50:31 24772 InnoDB: Renaming log file /usr/local//mysql/var/ib_logfile101 to /usr/local//mysql/var/ib_logfile0
2020-04-13 09:50:31 24772 InnoDB: New log files created, LSN=45781
2020-04-13 09:50:31 24772 InnoDB: Doublewrite buffer not found: creating new
2020-04-13 09:50:31 24772 InnoDB: Doublewrite buffer created
2020-04-13 09:50:32 24772 InnoDB: 128 rollback segment(s) are active.
2020-04-13 09:50:32 24772 InnoDB: Creating foreign key constraint system tables.
2020-04-13 09:50:32 24772 InnoDB: Foreign key constraint system tables created
2020-04-13 09:50:32 24772 InnoDB: Creating tablespace and datafile system tables.
2020-04-13 09:50:32 24772 InnoDB: Tablespace and datafile system tables created.
2020-04-13 09:50:32 24772 InnoDB: Waiting for purge to start
2020-04-13 09:50:32 24772 InnoDB: 5.6.46 started; log sequence number 0

licess 发表于 2020-4-13 10:50:00

这里就是往数据库里写表,等一会儿就过去了
安装过程不用盯着,等会儿就过去了

kekeones 发表于 2020-4-13 14:26:52

licess 发表于 2020-4-13 10:50
这里就是往数据库里写表,等一会儿就过去了
安装过程不用盯着,等会儿就过去了 ...

感觉有问题呀,都好几个小时了还是一样呢。

kekeones 发表于 2020-4-13 15:11:15



写表都一个小时了。

licess 发表于 2020-4-13 17:36:16

kekeones 发表于 2020-4-13 15:11
写表都一个小时了。

你回车看看ssh还是否连接中

kekeones 发表于 2020-4-13 17:53:11

licess 发表于 2020-4-13 17:36
你回车看看ssh还是否连接中

连接着的。

kekeones 发表于 2020-4-13 18:01:01

kekeones 发表于 2020-4-13 17:53
连接着的。

# cat /proc/version
Linux version 4.18.0-80.el8.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 8.2.1 20180905 (Red Hat 8.2.1-3) (GCC)) #1 SMP Tue Jun 4 09:19:46 UTC 2019
# uname -a
Linux VM_0_16_centos 4.18.0-80.el8.x86_64 #1 SMP Tue Jun 4 09:19:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
CentOS Linux release 8.0.1905 (Core)
#

licess 发表于 2020-4-13 20:07:11

centos 8的测试过很多家都没有问题
不大清楚什么原因,不是生产环境的话,可以短消息ip和root密码我测试一下

kekeones 发表于 2020-4-13 20:46:12

好了,发给你了

kekeones 发表于 2020-4-14 09:05:10

kekeones 发表于 2020-4-13 20:46
好了,发给你了

有收到吗。

licess 发表于 2020-4-14 10:15:08

kekeones 发表于 2020-4-14 09:05
有收到吗。

还在测试中

kekeones 发表于 2020-4-14 16:20:40

只能mysql5.7 吗,我看5.6装了几次都是卡住的。

licess 发表于 2020-4-14 16:24:59

kekeones 发表于 2020-4-14 09:05
有收到吗。

mysql 5.6多个版本测试都是卡在那个地方,其他几个服务商的centos 8测试都没问题,有可能系统模板上有问题
mysql 5.7测试正常

kekeones 发表于 2020-4-14 16:26:58

licess 发表于 2020-4-14 16:24
mysql 5.6多个版本测试都是卡在那个地方,其他几个服务商的centos 8测试都没问题,有可能系统模板上有问 ...

ok,那我就先安装5.7的试试.
页: [1]
查看完整版本: centos8 安装mysql5.6卡住