找回密码
 注册
查看: 602|回复: 0

mysql FATAL ERROR: please install the following Perl modules before executing s

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2022-9-22 11:14:56 | 显示全部楼层 |阅读模式
[root@ceph1 mysql]# scripts/mysql_install_db  --user=mysql: f" {! S  n/ M  A) M( l
FATAL ERROR: please install the following Perl modules before executing scripts/mysql_install_db:
' P; p4 J! y* q& ]# L. JData::Dumper
- p& p  ~! w9 K# o[root@ceph1 mysql]# yum install -y prel- M/ O; u3 @5 H% j8 G* U6 Q0 z) m* f
Loaded plugins: ulninfo
! \1 v: q. ^" V9 P5 v/ Y9 `) g' {No package prel available.
# ~9 f5 ?# ~4 k% YError: Nothing to do
' J" }1 h' Q" r5 ~' m: h4 G* H. U2 f7 O) M/ H3 Y( W- l. _
解决办法:
! B0 H- e/ W& \8 _0 C, f: ]% A8 q; F2 B2 C+ e! u6 ?
[root@ceph1 mysql]# yum-y install autoconf, m/ g2 J4 I; h( ~& s- D
-bash: yum-y: command not found# I. K7 z; O" T' ]5 h
[root@ceph1 mysql]# yum -y install autoconf
& V  g" v: O1 ?# e5 LLoaded plugins: ulninfo
- ?% g. @' K% \/ J' d2 \" }Resolving Dependencies4 o( s8 P9 H0 B8 M( k' G/ d2 g
--> Running transaction check9 h$ m8 R5 P2 e. A$ S9 w
---> Package autoconf.noarch 0:2.69-11.el7 will be installed
8 N6 o, M9 V9 H9 U! ]! {--> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.el7.noarch
3 S% L7 x9 S8 A- e& w1 i; W( E6 j--> Processing Dependency: perl(Data::Dumper) for package: autoconf-2.69-11.el7.noarch: O4 B0 @, t0 q
--> Running transaction check
! ^* I; W) S% U5 b; \0 B! m---> Package m4.x86_64 0:1.4.16-10.el7 will be installed) k. {' l5 d$ ?, s
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed. S8 |8 _" L; R0 N0 F0 Q2 |
--> Finished Dependency Resolution8 {+ {# S. r5 h" K2 p) R
- \5 v9 z/ S! C- c+ k
Dependencies Resolved
: J$ u! E! `; J+ o
  u' o' h, d) p  y==============================================================================================. c' V3 x+ w! V
Package                   Arch            Version                  Repository           Size
& s5 J9 F9 V& P8 G% \% X==============================================================================================* F/ e" B, d  i9 m& f
Installing:
8 K% S. H3 J" r; i  n; k( ] autoconf                  noarch          2.69-11.el7              ol7_latest          701 k; Z% j+ w5 }: }+ X1 K
Installing for dependencies:3 W" c; H( t$ ]( t) |1 F
m4                        x86_64          1.4.16-10.el7            ol7_latest          254 k/ ~! h7 t, V( z
perl-Data-Dumper          x86_64          2.145-3.el7              ol7_latest           47 k
0 d9 W# [/ U. B7 k: G# h0 C! B- O( Z0 B: {2 q  S! W; E
Transaction Summary
' B$ D* z5 |  Z4 G/ k==============================================================================================$ }! V& n! D- j
Install  1 Package (+2 Dependent packages)# F% Y% N- t3 F: y
  {3 k. R- b& y( z9 h
Total download size: 1.0 M
( \9 T5 g( g1 ?. ~  j( @Installed size: 2.8 M
, Y3 F( x  ]' R; w( Y. KDownloading packages:
: x! B; m  ~0 N3 n1 q# |7 f(1/3): m4-1.4.16-10.el7.x86_64.rpm                                     | 254 kB  00:00:01     
: W2 }+ [7 j8 a$ r8 y6 A(2/3): perl-Data-Dumper-2.145-3.el7.x86_64.rpm                         |  47 kB  00:00:00     ! a( W; t  p$ C5 O3 o
(3/3): autoconf-2.69-11.el7.noarch.rpm                                 | 701 kB  00:00:03     
8 f$ s* h0 Z- o- S3 N: s----------------------------------------------------------------------------------------------4 \& Y4 p$ ^' w) a& J
Total                                                         301 kB/s | 1.0 MB  00:00:03       u7 y" S! }9 w- n  e
Running transaction check
' a( \# d2 d* ?  RRunning transaction test. {: ?  N, }7 W( h; S: P
Transaction test succeeded; Y" G9 S6 T' _2 p
Running transaction/ X: F! h* u- R# H2 A
  Installing : m4-1.4.16-10.el7.x86_64                                                    1/3
( I5 V$ E( _7 [' r! `/ V' ~  Installing : perl-Data-Dumper-2.145-3.el7.x86_64                                        2/3 0 w0 R% |6 H6 v1 k' B, _, p
  Installing : autoconf-2.69-11.el7.noarch                                                3/3 # N3 u! d3 \. R
  Verifying  : perl-Data-Dumper-2.145-3.el7.x86_64                                        1/3 5 s+ K6 M9 s. {7 ^4 _; W; L
  Verifying  : m4-1.4.16-10.el7.x86_64                                                    2/3
8 h! P4 ?7 b0 B0 F0 G  Verifying  : autoconf-2.69-11.el7.noarch                                                3/3
% Q# D, I% k8 g( h& W7 x+ x9 S! h  t2 D& x- z1 k
Installed:7 V/ D# P! K( _1 N6 n, e" u: e; H
  autoconf.noarch 0:2.69-11.el7                                                               
4 R: Q5 ?* ^) F- t& R
5 }* d7 A- Z: qDependency Installed:, u9 e' N  U9 k
  m4.x86_64 0:1.4.16-10.el7               perl-Data-Dumper.x86_64 0:2.145-3.el7              ; T7 a) }6 {. f+ i, E

; }  h- `& O% f" e. {& l3 |+ h0 s* \Complete!
9 p/ I& H5 A1 T7 B" B" y+ P2 Q9 R, v  p
[root@ceph1 mysql]# scripts/mysql_install_db  --user=mysql# l3 o, N4 |8 _4 c: v
Installing MySQL system tables...2022-09-22 11:14:18 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).  G3 I' O& n" B
2022-09-22 11:14:19 7fe140e7a740 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.& m" _: Z/ x" l
2022-09-22 11:14:19 141419 [Note] InnoDB: Using atomics to ref count buffer pool pages
+ m0 C( Y: z/ H; i' n' ?! `2022-09-22 11:14:19 141419 [Note] InnoDB: The InnoDB memory heap is disabled: p! y- e( ~& w9 V, m
2022-09-22 11:14:19 141419 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
0 l2 f0 B$ p+ l" \( g2022-09-22 11:14:19 141419 [Note] InnoDB: Memory barrier is not used
0 l" O: |  G: u' I1 T+ W2022-09-22 11:14:19 141419 [Note] InnoDB: Compressed tables use zlib 1.2.3
9 y) }9 `8 c0 r! _2022-09-22 11:14:19 141419 [Note] InnoDB: Using CPU crc32 instructions) n" ?. S$ t9 m% q7 C
2022-09-22 11:14:19 141419 [Note] InnoDB: Initializing buffer pool, size = 128.0M
: v6 \$ c4 e- _: V1 K) d2022-09-22 11:14:19 141419 [Note] InnoDB: Completed initialization of buffer pool3 i7 B7 S- E0 O8 A0 X( F- B
2022-09-22 11:14:19 141419 [Note] InnoDB: Highest supported file format is Barracuda.
& W$ b9 d$ S) E9 U) N
1 Y1 ~* w$ s* {7 W* R问题解决# t/ ]: k- N, r9 w

5 ~( ]: L& F  v' q
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 00:12 , Processed in 0.027334 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表