找回密码
 注册
查看: 604|回复: 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=mysql9 {; n/ s# g2 W8 n! W
FATAL ERROR: please install the following Perl modules before executing scripts/mysql_install_db:% l6 K5 g4 x" Z! g8 J  y
Data::Dumper
/ h% m6 i/ v* s/ Q# f0 U! ][root@ceph1 mysql]# yum install -y prel3 F1 @, T% \) T" z5 ?
Loaded plugins: ulninfo' T) L, Y6 T: m6 i* {* R
No package prel available.
! i: a: W$ S/ Q. ]- P$ vError: Nothing to do& n% i( U1 ]8 H# D6 W

9 B2 T3 E4 Z1 t: f解决办法:
/ u6 |. D7 E. C$ ?# b1 }( W
5 `" X$ y/ Q0 _! _' R; e[root@ceph1 mysql]# yum-y install autoconf
" Q' q5 z8 D7 H1 x-bash: yum-y: command not found
( ?8 W. p) B5 |. t& |[root@ceph1 mysql]# yum -y install autoconf
/ W- Z& N) {3 E8 h4 Y2 J) D+ j& vLoaded plugins: ulninfo3 g. G. K8 _* @) w- }1 D. ~; W
Resolving Dependencies1 ~- f" o$ F( A$ Z/ A! I
--> Running transaction check$ O3 _3 _4 @2 W7 O  ?; Z2 A
---> Package autoconf.noarch 0:2.69-11.el7 will be installed1 l! n3 j8 G2 K# A3 h
--> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.el7.noarch
( ~7 C  p* B8 _--> Processing Dependency: perl(Data::Dumper) for package: autoconf-2.69-11.el7.noarch
% M  n! R1 r" V0 F1 f--> Running transaction check
3 N" M8 U/ ?1 h7 l) Z+ ]0 O, b" C---> Package m4.x86_64 0:1.4.16-10.el7 will be installed# `7 z5 I& U7 \  V; S$ L
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed- L( _$ R# j4 m; X3 C. G
--> Finished Dependency Resolution
* e* S8 o1 `- b6 `! m. D: _0 D; H# d) L9 x7 h  D7 q
Dependencies Resolved+ S- F; S4 x4 _! {2 r$ S* J( ?
- o+ f& }3 y! }% b; C- @
==============================================================================================
% c: r3 Q) Y, E% o+ Z' p; b Package                   Arch            Version                  Repository           Size/ S/ W/ G  `& e. g. o
==============================================================================================
1 O3 I2 U$ _' A" V3 WInstalling:7 R  r5 m! \& d% n+ j8 T0 u
autoconf                  noarch          2.69-11.el7              ol7_latest          701 k9 x$ a  A5 M1 ]  b, Y' L. e* D2 e
Installing for dependencies:' F& Q' v. \* S# J( c6 J
m4                        x86_64          1.4.16-10.el7            ol7_latest          254 k
. A0 \! D7 i% d+ h- t; ] perl-Data-Dumper          x86_64          2.145-3.el7              ol7_latest           47 k% M+ h( I3 w) i$ C& o
1 C; F( b& s% A/ Q: A- P
Transaction Summary
& u$ f5 V! Y1 F, v6 B$ ]==============================================================================================# l; n" E$ S9 ^
Install  1 Package (+2 Dependent packages)2 r. P* @) \8 d/ i

) f# v$ g  [3 O+ b' ?: XTotal download size: 1.0 M- k/ a8 T* o( p7 d; L
Installed size: 2.8 M% ?. Y" C7 W8 e; Q6 m0 ~' B
Downloading packages:; [+ ], N* J3 y6 o3 U
(1/3): m4-1.4.16-10.el7.x86_64.rpm                                     | 254 kB  00:00:01     0 c% Q: v, y! J& H  t- Q3 d
(2/3): perl-Data-Dumper-2.145-3.el7.x86_64.rpm                         |  47 kB  00:00:00     
) F; P) T% l* H; n  E$ r" T(3/3): autoconf-2.69-11.el7.noarch.rpm                                 | 701 kB  00:00:03     ; J8 v/ x  {; i
----------------------------------------------------------------------------------------------
& \& O* k# J5 o) o* ~4 h, N+ w5 G  X. cTotal                                                         301 kB/s | 1.0 MB  00:00:03     / `5 v7 u, z8 S+ }& D3 Y
Running transaction check
5 _# o7 f! i' w1 ^- y/ L: PRunning transaction test
, e$ M0 `" i% x; J. Z, O# y) ^+ g7 RTransaction test succeeded
: `3 e6 g' H. @" P! s5 o1 PRunning transaction( w! c& |. S  v1 r7 X7 y8 j
  Installing : m4-1.4.16-10.el7.x86_64                                                    1/3 $ w5 N3 S: r3 i
  Installing : perl-Data-Dumper-2.145-3.el7.x86_64                                        2/3 + Z  t! \- S9 T2 A& E
  Installing : autoconf-2.69-11.el7.noarch                                                3/3 / Z& k2 _/ X$ ^6 }# F* Z
  Verifying  : perl-Data-Dumper-2.145-3.el7.x86_64                                        1/3
* w, w+ t5 c6 D4 V& F  Verifying  : m4-1.4.16-10.el7.x86_64                                                    2/3
; h7 w9 Z& y( }& t9 F: Y- p, e  Verifying  : autoconf-2.69-11.el7.noarch                                                3/3
. U% d) s+ O$ B1 g( o$ A! M" @) U: m4 w3 @$ f2 u# H
Installed:5 f' Y: j, p2 E" w! O2 J& J
  autoconf.noarch 0:2.69-11.el7                                                               
9 i; u& ~* z2 G- P4 ?; z. |
/ m  U& G" F- X5 O0 ]Dependency Installed:
' g' }  X/ `$ a5 D! o" B* ]4 W  m4.x86_64 0:1.4.16-10.el7               perl-Data-Dumper.x86_64 0:2.145-3.el7              , ^& Y: w' t: e9 k3 h# x, \
! U* g+ T, f1 q# p5 d
Complete!$ U, Q& [! N. {& E3 m+ X' |& @
# s2 P$ i/ e5 k7 K- ~
[root@ceph1 mysql]# scripts/mysql_install_db  --user=mysql& l0 u0 _5 o: {0 f
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).
1 e6 P0 G5 L' O& X0 [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.
" h0 l; ?1 _' y: \- A2022-09-22 11:14:19 141419 [Note] InnoDB: Using atomics to ref count buffer pool pages
1 e" j, ]$ Y2 @! j/ P! }1 f1 v4 W2022-09-22 11:14:19 141419 [Note] InnoDB: The InnoDB memory heap is disabled
; M$ U, d9 _4 I1 I2022-09-22 11:14:19 141419 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins' P2 g  _) j, r" s# @
2022-09-22 11:14:19 141419 [Note] InnoDB: Memory barrier is not used
3 e6 F0 Y1 |5 t6 v8 t1 I, ]2022-09-22 11:14:19 141419 [Note] InnoDB: Compressed tables use zlib 1.2.3% M2 W, F$ d& A; H
2022-09-22 11:14:19 141419 [Note] InnoDB: Using CPU crc32 instructions
5 d8 @0 ^. W9 M# H2022-09-22 11:14:19 141419 [Note] InnoDB: Initializing buffer pool, size = 128.0M5 x8 I' B( x, @6 }+ w7 ]1 N
2022-09-22 11:14:19 141419 [Note] InnoDB: Completed initialization of buffer pool/ i9 Z6 y- B0 Q* J1 `2 R9 S5 c
2022-09-22 11:14:19 141419 [Note] InnoDB: Highest supported file format is Barracuda.7 D& P5 \8 v* p; t0 [
4 R; g* @6 j+ x
问题解决
2 n9 N3 p6 k1 \6 X, P/ }$ d4 R1 P6 a5 o8 {$ ]4 M
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 01:14 , Processed in 0.074843 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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