- 积分
- 16841
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
[root@ceph1 mysql]# scripts/mysql_install_db --user=mysql8 y4 k: T5 _3 m5 x
FATAL ERROR: please install the following Perl modules before executing scripts/mysql_install_db:$ F* a, D: C3 i
Data::Dumper e5 E' ~0 S9 t1 f- b5 W$ @2 r
[root@ceph1 mysql]# yum install -y prel
* K: b4 F$ E1 k) ?Loaded plugins: ulninfo) g) L- i& M; G* y( H; c, o. V& @
No package prel available.7 g) @% N0 k9 k0 a9 K2 x; j h
Error: Nothing to do( S4 Q) N9 Y' q- |2 y1 p
" l: s8 B' m3 ]% T- ]& p; n解决办法:
8 B K+ v3 V# h& C4 f5 e3 o v5 G! N' Q# ?$ F/ X+ t3 p5 \: {4 d( y
[root@ceph1 mysql]# yum-y install autoconf
7 }" ^+ Q9 A' z+ {- v-bash: yum-y: command not found
5 d" Q/ B! m( c& s! S' f% O% Q S[root@ceph1 mysql]# yum -y install autoconf o' M7 C9 R" x3 n4 f. ~
Loaded plugins: ulninfo
% |, H% ]* |" ?' {( q) pResolving Dependencies# y. e' n* [/ K0 Y6 ?# G- g: U# y
--> Running transaction check. ]2 Z* Q L( D$ {; [' D" b
---> Package autoconf.noarch 0:2.69-11.el7 will be installed; V: @+ a3 ]7 W2 w- O4 P
--> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.el7.noarch
, r/ B9 q- H. h) F2 j8 c* ^" W--> Processing Dependency: perl(Data::Dumper) for package: autoconf-2.69-11.el7.noarch! s- S6 u; p7 @1 g% |
--> Running transaction check
$ C3 j) ?" j( X3 q! ~; o6 m) L---> Package m4.x86_64 0:1.4.16-10.el7 will be installed
" u1 ]; S; o* ~" H+ e- y) X---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
& J& U$ o) h2 j2 ] ^6 v; G--> Finished Dependency Resolution9 r: V1 j% v, N# G
! S; X! H& x1 X% B# W
Dependencies Resolved
- U" J: e" ]" p! q; x" o6 e* \" V( |8 q: u4 t) l
==============================================================================================5 L' z$ o6 [( \ o" p O( D
Package Arch Version Repository Size" L# z$ e5 S7 ^) c5 G6 N4 \ L( D
==============================================================================================* u) b9 U8 V! j7 t$ f, K) I
Installing:
; e: d1 {! A" h) P autoconf noarch 2.69-11.el7 ol7_latest 701 k" v" s( i7 T( ?7 ]
Installing for dependencies:! m! a- F2 v, \1 H J9 T7 j3 V9 e
m4 x86_64 1.4.16-10.el7 ol7_latest 254 k4 r/ ? {3 {, H5 _4 c
perl-Data-Dumper x86_64 2.145-3.el7 ol7_latest 47 k( ?) }; `' }& z x' }
( K! c; z( y5 X9 m
Transaction Summary
" n n$ ]3 W x3 l, Z==============================================================================================
% j6 k, X7 {0 JInstall 1 Package (+2 Dependent packages)
! R* G& i; f5 K/ s0 ?- t3 o6 j! H0 w; C! G) }
Total download size: 1.0 M
; }5 I: K3 f1 l) p) K: k( h$ WInstalled size: 2.8 M
" z0 Z @: D+ `7 R! }& _Downloading packages:
/ @! x' K7 v1 k. r(1/3): m4-1.4.16-10.el7.x86_64.rpm | 254 kB 00:00:01 - f% R3 f+ F. @
(2/3): perl-Data-Dumper-2.145-3.el7.x86_64.rpm | 47 kB 00:00:00 # e. W5 K) [9 ?* o4 t/ p2 v+ N
(3/3): autoconf-2.69-11.el7.noarch.rpm | 701 kB 00:00:03
. K9 R# q7 r1 G8 f/ D1 _1 j. g----------------------------------------------------------------------------------------------: p8 z, @- h; ]% B
Total 301 kB/s | 1.0 MB 00:00:03
: h/ K3 t2 d8 C7 Q: A3 P- P+ a0 XRunning transaction check
8 L/ [. s1 w0 h C- QRunning transaction test
$ R3 e0 B3 H7 S+ U" Y0 HTransaction test succeeded
: O0 y( {8 T" H7 Z1 P9 R. V- QRunning transaction0 E' k2 f+ n2 M4 [* a* ]. i( T
Installing : m4-1.4.16-10.el7.x86_64 1/3 8 p2 p8 x) X. ]6 K3 ~; @. Q
Installing : perl-Data-Dumper-2.145-3.el7.x86_64 2/3 ( V: Q+ X% z& @6 ~; i+ B6 p. @
Installing : autoconf-2.69-11.el7.noarch 3/3 % i% s: ]$ p1 ?# |4 f0 q3 _
Verifying : perl-Data-Dumper-2.145-3.el7.x86_64 1/3
/ }9 d* ?. x3 ?) c) B- w9 f Verifying : m4-1.4.16-10.el7.x86_64 2/3 * y- p+ C- i4 R* ]9 q* m
Verifying : autoconf-2.69-11.el7.noarch 3/3
7 q! J/ e5 m6 @+ w! g: P* K6 L8 Q- X' l
Installed:* P- v3 W$ q, K6 t" v# z0 N* N
autoconf.noarch 0:2.69-11.el7
6 F8 E6 ]( a+ _: c$ G: c8 G! l% Z/ v5 z, m( s+ P
Dependency Installed:
! @& y2 o& w2 A9 [& a8 o m4.x86_64 0:1.4.16-10.el7 perl-Data-Dumper.x86_64 0:2.145-3.el7
/ |1 `. C* s& t
$ K* X( L0 Z; S9 N. x+ Z$ tComplete!
$ R! J0 e; X a' e) O) e( g W$ o7 T3 ]5 y$ y! x& _
[root@ceph1 mysql]# scripts/mysql_install_db --user=mysql
+ S) O- U8 I: GInstalling 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 C$ A! h" r2 {6 O# }
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.
' r5 Y3 a0 P: P) {0 O2022-09-22 11:14:19 141419 [Note] InnoDB: Using atomics to ref count buffer pool pages! ~4 k+ S/ I3 h! f
2022-09-22 11:14:19 141419 [Note] InnoDB: The InnoDB memory heap is disabled
- k1 g2 |9 _( ]2022-09-22 11:14:19 141419 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
6 @* C) b+ u0 p- P2022-09-22 11:14:19 141419 [Note] InnoDB: Memory barrier is not used0 z3 B7 `) ~2 I( S. S4 D
2022-09-22 11:14:19 141419 [Note] InnoDB: Compressed tables use zlib 1.2.3+ w9 [2 s0 {/ i
2022-09-22 11:14:19 141419 [Note] InnoDB: Using CPU crc32 instructions
* E7 d+ t0 \; m2022-09-22 11:14:19 141419 [Note] InnoDB: Initializing buffer pool, size = 128.0M
3 E& n7 b* w7 ] o2022-09-22 11:14:19 141419 [Note] InnoDB: Completed initialization of buffer pool
3 _0 T' q- l3 ]2 D2022-09-22 11:14:19 141419 [Note] InnoDB: Highest supported file format is Barracuda.$ n' [. U, \5 k! {9 s7 D. v
0 a8 k- Y$ R- M2 k0 |
问题解决$ e, v/ r. v+ @& b6 k
* S, a O, C1 Z- x9 [ U' l' S: j
|
|