- 积分
- 16840
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
[root@ceph1 mysql]# scripts/mysql_install_db --user=mysql
* N( o/ O% S2 E% |! nFATAL ERROR: please install the following Perl modules before executing scripts/mysql_install_db:
# i- {8 \1 w( G8 @* FData::Dumper
" x: e4 Y. W S3 V7 c I* G) d[root@ceph1 mysql]# yum install -y prel5 o6 ]$ h6 _0 \
Loaded plugins: ulninfo( n: a; I( E" e$ [; \. }
No package prel available.; L; z% F- n# e6 u; K$ s
Error: Nothing to do
A6 T$ P& X2 S; @/ N9 G: r0 e
5 V5 [! M! ` z5 ~3 L解决办法:
8 h' V" @7 H- V0 P
% h, X1 d2 L* ?. c5 P; Q* @[root@ceph1 mysql]# yum-y install autoconf
/ ?( z& F, ~: u5 Q5 {& s8 Y-bash: yum-y: command not found; H U, R$ g5 j" R$ n6 Q2 M0 E
[root@ceph1 mysql]# yum -y install autoconf8 [1 g4 p; b# O9 x. t' x
Loaded plugins: ulninfo6 ]- u( c% g8 [6 H* o% E& @. V
Resolving Dependencies8 b1 _( l/ V+ Y
--> Running transaction check
) H3 D% L; `# E3 x---> Package autoconf.noarch 0:2.69-11.el7 will be installed
/ \( H+ a$ A& F2 z& ]( G% S--> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.el7.noarch7 r: }5 I! C# a# O2 D6 t( m
--> Processing Dependency: perl(Data::Dumper) for package: autoconf-2.69-11.el7.noarch1 d& h* I: c0 [) B5 g J
--> Running transaction check
- e' H" [7 `3 X. i' ^5 J---> Package m4.x86_64 0:1.4.16-10.el7 will be installed4 z; V: l' j ~' L. n% s
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed$ E) I% V1 c+ K6 \# |1 J. l
--> Finished Dependency Resolution. V8 N* v7 @) t
& K8 p( t k/ b! RDependencies Resolved% p+ e3 Z$ i# B$ {
* G0 U% O6 N- i) b6 S& z" F D: s==============================================================================================
! [$ f: E/ M; E3 U5 z7 ] Package Arch Version Repository Size
4 h) a% f' g" I; A7 b$ W& j==============================================================================================
$ T, o2 {2 k/ {5 j B2 z% }Installing:: y. [' |$ ]% v+ N* X. @5 l
autoconf noarch 2.69-11.el7 ol7_latest 701 k
) f# r! G% Y1 {) [1 R+ YInstalling for dependencies:" j2 v2 O! _7 `3 w
m4 x86_64 1.4.16-10.el7 ol7_latest 254 k
+ ^3 `% Q+ r( u. c* J& O perl-Data-Dumper x86_64 2.145-3.el7 ol7_latest 47 k; s) ~" S* e! X+ K) b" j! H
) D; E v0 A9 C8 x% o
Transaction Summary1 p$ n9 K$ |4 ^# t+ O, b& [* a
==============================================================================================
+ W f; L4 i9 d9 @! Q) E) _Install 1 Package (+2 Dependent packages)
. | ~, S+ j+ q3 |$ L% C, U0 J2 e2 C2 P8 U# ~( v2 P' @+ T+ a: B
Total download size: 1.0 M9 v; m, Q/ @8 Y& y4 W
Installed size: 2.8 M& c0 J+ V7 P# H) A; T7 K% q2 [
Downloading packages:) R# f! z. C) U S a- i1 L
(1/3): m4-1.4.16-10.el7.x86_64.rpm | 254 kB 00:00:01 4 H) \+ K, Y- \6 f
(2/3): perl-Data-Dumper-2.145-3.el7.x86_64.rpm | 47 kB 00:00:00
' ]! h' C- B6 w% o. R(3/3): autoconf-2.69-11.el7.noarch.rpm | 701 kB 00:00:03 ! m- ]& W9 Z$ m4 z3 s7 f
----------------------------------------------------------------------------------------------
- R5 N( ?* f* E1 a' L! VTotal 301 kB/s | 1.0 MB 00:00:03
# A, Q0 @+ L GRunning transaction check7 @' T. T/ w: T# }- L6 o
Running transaction test8 p7 T, d5 h" c1 n1 b. j
Transaction test succeeded# K3 W2 [* {! Y- j5 z/ R
Running transaction4 a7 I% T7 {9 Z7 _1 x2 U1 _& X
Installing : m4-1.4.16-10.el7.x86_64 1/3
5 l* e. N6 N; P1 J1 M$ k7 q Installing : perl-Data-Dumper-2.145-3.el7.x86_64 2/3 + g# |- v' m& E3 \
Installing : autoconf-2.69-11.el7.noarch 3/3 2 `2 ^4 p# U0 m' T& ?. C y
Verifying : perl-Data-Dumper-2.145-3.el7.x86_64 1/3 : X6 n. s! y- J6 e' N' M$ N
Verifying : m4-1.4.16-10.el7.x86_64 2/3
8 H# B" H, _+ J: l i! D( _ Verifying : autoconf-2.69-11.el7.noarch 3/3
/ L: o" P; N, B& {2 z2 t# f) C2 h& m: o$ Q
Installed: O+ A0 x6 [' Z& W
autoconf.noarch 0:2.69-11.el7
7 A3 x9 ~/ C$ e( |# E6 e$ S U# }2 J
Dependency Installed:
' D& m7 {" l' o- {5 ] m4.x86_64 0:1.4.16-10.el7 perl-Data-Dumper.x86_64 0:2.145-3.el7 # M4 n6 a7 l U" X( E
& R! w6 [0 M l1 N+ N0 d9 c
Complete!" n8 D1 h- N( O
. ^% A" K/ G6 _9 ]
[root@ceph1 mysql]# scripts/mysql_install_db --user=mysql' f/ V) Y" m% B. s% Z1 V, c, t
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). s( X6 z( E$ B6 Z; i
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.: {( g, w' i8 N* Q# z; R
2022-09-22 11:14:19 141419 [Note] InnoDB: Using atomics to ref count buffer pool pages
, H$ k% _$ s$ t2022-09-22 11:14:19 141419 [Note] InnoDB: The InnoDB memory heap is disabled+ m3 y" ~. b' c' @. U! z1 N
2022-09-22 11:14:19 141419 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins( K2 Z! U2 u. D
2022-09-22 11:14:19 141419 [Note] InnoDB: Memory barrier is not used
& P' z% U n0 {8 E8 X% K0 K, ~2022-09-22 11:14:19 141419 [Note] InnoDB: Compressed tables use zlib 1.2.3) w7 ?1 m' y i9 c3 s6 F1 t
2022-09-22 11:14:19 141419 [Note] InnoDB: Using CPU crc32 instructions8 {6 W N1 b$ V% B! d7 G
2022-09-22 11:14:19 141419 [Note] InnoDB: Initializing buffer pool, size = 128.0M. L" _2 k1 j# ?$ d8 I3 O6 s. h
2022-09-22 11:14:19 141419 [Note] InnoDB: Completed initialization of buffer pool8 r3 X$ h! h1 S9 k* _: q$ v$ ^0 D8 ^
2022-09-22 11:14:19 141419 [Note] InnoDB: Highest supported file format is Barracuda.2 J$ W/ z* q7 g% X( d
3 r2 t. b! s+ f8 C- C% f! i问题解决0 U, b4 S( V# K& g- K
1 }4 F! s) A& W( P/ h1 g6 h
|
|