开启辅助访问 天气与日历 收藏本站联系我们相册切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 328|回复: 0
收起左侧

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

[复制链接]
发表于 2022-9-22 11:14:56 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?开始注册

x
[root@ceph1 mysql]# scripts/mysql_install_db  --user=mysql+ g  [9 `7 p% g( l
FATAL ERROR: please install the following Perl modules before executing scripts/mysql_install_db:
; s  X) h. b) z$ c" X' TData::Dumper
0 F9 g' t9 [4 J  K3 s[root@ceph1 mysql]# yum install -y prel
" w! Z( k: l. B. ~+ wLoaded plugins: ulninfo
+ ?" z+ ^1 d8 h9 ]No package prel available.9 g* c5 J2 I0 r, H
Error: Nothing to do
" m) C6 E0 C/ o3 F" |2 j: {- h5 `/ [& u. m
解决办法:, d7 m# |* \) W# K& W

4 z/ i0 J) [: F  `. [/ o7 I[root@ceph1 mysql]# yum-y install autoconf
  w* o& h6 T7 l* r1 }* M5 U* @-bash: yum-y: command not found& b7 |6 _6 h" v6 B2 N
[root@ceph1 mysql]# yum -y install autoconf, j4 L% L8 E& d! F
Loaded plugins: ulninfo6 _4 B9 z* c5 q
Resolving Dependencies! L( G, s/ E$ u9 o
--> Running transaction check
5 ^3 |' y& y; `1 z# y- J$ ^5 z---> Package autoconf.noarch 0:2.69-11.el7 will be installed; {  V, J8 c# C$ ^3 S
--> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.el7.noarch( g0 y) X0 n+ e% i9 W
--> Processing Dependency: perl(Data::Dumper) for package: autoconf-2.69-11.el7.noarch% h* k7 w" d) S' {' O8 |  O9 {
--> Running transaction check7 {$ @7 X, t" J" S4 I, k3 g
---> Package m4.x86_64 0:1.4.16-10.el7 will be installed2 E' n$ c3 l' [
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
* L- u  {: y( l& V9 B. Q) s% k' N--> Finished Dependency Resolution
% l. l2 l* p0 S5 ]) b# ~6 A3 X( ]% a0 }4 ^2 o8 ?: j
Dependencies Resolved
6 y$ T" ?7 X2 b/ ~. {4 e: z
% K, _5 i5 ?0 o' h0 I, o==============================================================================================5 Y, K8 p+ I  H, S! ^
Package                   Arch            Version                  Repository           Size9 ]# f) V  w' @/ }& |) r
==============================================================================================
! {% f3 ~; U+ x0 Z1 m/ e& ~Installing:
& F1 A  q) u( G4 c& {8 a( W4 u6 o autoconf                  noarch          2.69-11.el7              ol7_latest          701 k
, w% m, l9 l/ D. |( bInstalling for dependencies:3 f' V( P9 m" O% H7 j+ `( |. ~
m4                        x86_64          1.4.16-10.el7            ol7_latest          254 k
% d, O4 a% h9 o! r- S' _ perl-Data-Dumper          x86_64          2.145-3.el7              ol7_latest           47 k/ G/ O& r( N6 z& F+ L

. d2 l! c3 T; e$ r! j7 P: pTransaction Summary4 w" z2 e" t9 t* v1 {6 r* C
==============================================================================================! w1 e6 X6 T+ M: r1 K/ h5 e
Install  1 Package (+2 Dependent packages)
+ ~3 {( o7 t3 a8 P3 U
! i0 E1 {( z2 M3 w. j; h9 c! JTotal download size: 1.0 M! v' b. F7 a. Q5 w" Q
Installed size: 2.8 M8 m8 Q+ }+ `& K) w
Downloading packages:
$ N& D# U; H% C' g5 O/ r7 @(1/3): m4-1.4.16-10.el7.x86_64.rpm                                     | 254 kB  00:00:01     : u8 y  b. J! B6 o; q' @
(2/3): perl-Data-Dumper-2.145-3.el7.x86_64.rpm                         |  47 kB  00:00:00     1 O+ M6 A$ o2 S. R7 l9 P
(3/3): autoconf-2.69-11.el7.noarch.rpm                                 | 701 kB  00:00:03     6 R7 {9 i/ b3 M  i- {$ `* U2 Y; R
----------------------------------------------------------------------------------------------
4 K! d* g! S7 F" m- g# Z: r" D3 ?Total                                                         301 kB/s | 1.0 MB  00:00:03     $ W: r) d) Y2 f, K' u/ [
Running transaction check& Q6 T5 U4 t; y7 Y/ M9 I: e
Running transaction test) q# }. \3 M2 L5 W5 a5 x, h! \
Transaction test succeeded$ a  |2 l& f& z* j& |) I
Running transaction: A2 l6 d% @2 Q
  Installing : m4-1.4.16-10.el7.x86_64                                                    1/3 ! H5 R5 G/ L8 \1 E0 T6 s" f& F
  Installing : perl-Data-Dumper-2.145-3.el7.x86_64                                        2/3
* P- n( N3 G3 _  Installing : autoconf-2.69-11.el7.noarch                                                3/3
1 [# W6 z: N2 Y  Verifying  : perl-Data-Dumper-2.145-3.el7.x86_64                                        1/3 : m0 ]% A9 E5 T* V7 U
  Verifying  : m4-1.4.16-10.el7.x86_64                                                    2/3 7 g% x( V/ d* n7 d* i
  Verifying  : autoconf-2.69-11.el7.noarch                                                3/3 6 w. K2 `# ^. e
6 m# {7 o. S' q7 R! \. _
Installed:
- y. Q4 v9 N" G( h  autoconf.noarch 0:2.69-11.el7                                                               ; d& p' w/ \* A. E

" f: E" C: W2 Q6 JDependency Installed:- c$ X- B1 b9 T9 E/ W
  m4.x86_64 0:1.4.16-10.el7               perl-Data-Dumper.x86_64 0:2.145-3.el7              
$ H8 t5 Z. g/ J" U$ [! p
( S+ s8 t8 H. M  i3 _, f/ W. SComplete!
4 L6 \, O$ ^3 I" G% e$ ]( A6 y( y5 {5 ?. q0 V
[root@ceph1 mysql]# scripts/mysql_install_db  --user=mysql4 o6 h3 Y0 w6 k# @/ i0 P/ q. O% n
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).
$ K& t; l8 P$ f9 [" L3 b2022-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.3 H: L2 X- O0 `2 I- M: r3 g+ I$ x  m
2022-09-22 11:14:19 141419 [Note] InnoDB: Using atomics to ref count buffer pool pages7 T- D2 X+ a* [4 r4 S; [
2022-09-22 11:14:19 141419 [Note] InnoDB: The InnoDB memory heap is disabled: D! ]2 v' w& N* I- V# m- P1 C
2022-09-22 11:14:19 141419 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
8 n! Z' y* o% }2022-09-22 11:14:19 141419 [Note] InnoDB: Memory barrier is not used
# R+ X' I2 f% o6 O5 W2022-09-22 11:14:19 141419 [Note] InnoDB: Compressed tables use zlib 1.2.37 o- y4 k1 i/ L: Y" g0 Y9 P: K
2022-09-22 11:14:19 141419 [Note] InnoDB: Using CPU crc32 instructions+ G4 `" A8 Y8 r6 F4 }" e4 }
2022-09-22 11:14:19 141419 [Note] InnoDB: Initializing buffer pool, size = 128.0M; w! M- T" k9 W7 X9 W# c" s
2022-09-22 11:14:19 141419 [Note] InnoDB: Completed initialization of buffer pool
1 V! D3 l* V# [! d7 T* N1 a2 t; A! X2022-09-22 11:14:19 141419 [Note] InnoDB: Highest supported file format is Barracuda.! A! X# Z1 t8 Q% M% j' J+ ]
/ K) r! k8 p; [) ^4 g
问题解决- l% K1 _7 X0 a7 n4 }

! ^4 j* O/ X$ ?: ~  @+ j
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

如有购买积分卡请联系497906712

QQ|返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 点击这里给我发消息

GMT+8, 2023-9-24 05:04 , Processed in 0.041806 second(s), 22 queries .

Powered by LR.LINUX.cloud bbs168x X3.2 Licensed

© 2012-2025 Comsenz Inc.

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