|
|
[root@ceph1 mysql]# scripts/mysql_install_db --user=mysql u! A1 G( A3 J' b3 v' V ^
FATAL ERROR: please install the following Perl modules before executing scripts/mysql_install_db:" O7 r4 K) R( k9 a7 G( k& S
Data::Dumper
" S: P6 Y" m: l# E9 w6 ] ~) X- {[root@ceph1 mysql]# yum install -y prel
$ K% z7 J( `9 oLoaded plugins: ulninfo
9 N# z$ Q4 j" A0 ?% v% Q- WNo package prel available.
+ O& c( j1 @9 z: G4 r1 ^; {Error: Nothing to do
6 q$ |. b; C# W7 {% O
& d6 ]0 J' ]$ ^: y; h2 W& u解决办法:
$ i1 D/ F& z6 l$ [
. C; Q b3 K5 h3 w2 Z[root@ceph1 mysql]# yum-y install autoconf# {3 Z% _+ _5 J, F( j
-bash: yum-y: command not found W" s# `6 z9 W1 u0 t
[root@ceph1 mysql]# yum -y install autoconf
% p0 Q; x- L0 e4 PLoaded plugins: ulninfo4 f# x' ^% P) j/ _0 ?6 ?# k' Z
Resolving Dependencies t% h' W8 Z1 W
--> Running transaction check! u4 S& U& ~5 l5 \/ n
---> Package autoconf.noarch 0:2.69-11.el7 will be installed. z" H9 ^1 S( V, x2 C
--> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.el7.noarch
# b6 d6 R/ a( H4 ], P4 w--> Processing Dependency: perl(Data::Dumper) for package: autoconf-2.69-11.el7.noarch
V8 U) H6 H& [& Z--> Running transaction check3 X5 O! ] b$ x% j, z: r4 d; j* P H
---> Package m4.x86_64 0:1.4.16-10.el7 will be installed) z" n J# O! N, ~; Z/ E3 G
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed6 a% {! c- Q4 G
--> Finished Dependency Resolution
% d& y# k6 u5 u; V! `- J
. y& {% h/ K$ ~" M' K) A2 b# UDependencies Resolved( R! J4 c8 v8 z. Y" t g& P
8 u u/ {# H( ?==============================================================================================
3 g( k3 Q' d: o. `+ l; @$ L8 m Package Arch Version Repository Size; t4 |0 y! Z, Z2 A, K1 f
==============================================================================================( w6 k) m8 K, }$ ^' m. V$ w
Installing:
8 _, V0 E& e9 S5 o0 f autoconf noarch 2.69-11.el7 ol7_latest 701 k
8 L$ a# r: |& x! E4 dInstalling for dependencies:
2 t4 H+ v9 W# \5 p1 l2 z) x4 [* | m4 x86_64 1.4.16-10.el7 ol7_latest 254 k3 x- i* R6 Y" H/ A) P S) E8 w7 i
perl-Data-Dumper x86_64 2.145-3.el7 ol7_latest 47 k
^3 Q9 z' D; Q1 R9 A4 X; s! {; ]* ~! B
Transaction Summary
& f/ ~; H8 ?! m3 L==============================================================================================
+ x. v" r2 Z$ Q& w' yInstall 1 Package (+2 Dependent packages)
; {3 h2 n( v r N' K; b8 |# U) J; o* a% c: ]
Total download size: 1.0 M
I( |1 ]0 p8 CInstalled size: 2.8 M
/ h/ }9 z$ r$ s- `' I1 jDownloading packages:5 |) h5 r/ u2 w0 K: I/ S* u! ]. v
(1/3): m4-1.4.16-10.el7.x86_64.rpm | 254 kB 00:00:01 & M, m" H4 N d8 V7 v
(2/3): perl-Data-Dumper-2.145-3.el7.x86_64.rpm | 47 kB 00:00:00
) z5 |( ^1 D. Z& Q(3/3): autoconf-2.69-11.el7.noarch.rpm | 701 kB 00:00:03 $ s4 w; Y7 d* w6 z
----------------------------------------------------------------------------------------------0 f( Z6 B/ D+ `7 N5 L) G
Total 301 kB/s | 1.0 MB 00:00:03 u" L- h* R/ p8 }$ E( M9 w2 G
Running transaction check: K2 Z7 S1 t/ \( A& r
Running transaction test* L% h1 u8 F" D" w
Transaction test succeeded) j" r$ x* f7 B2 Y
Running transaction. @. T) \- L- S6 k: E
Installing : m4-1.4.16-10.el7.x86_64 1/3 ) R! a4 ~! P0 I4 @4 n
Installing : perl-Data-Dumper-2.145-3.el7.x86_64 2/3
$ F$ u% q" A! j8 r- v: E8 g- J1 {6 u Installing : autoconf-2.69-11.el7.noarch 3/3 / p* C7 r2 b/ S
Verifying : perl-Data-Dumper-2.145-3.el7.x86_64 1/3
7 Q9 z" ?- `: _6 E& z Verifying : m4-1.4.16-10.el7.x86_64 2/3 * u5 B. S. }/ S& G- {7 K
Verifying : autoconf-2.69-11.el7.noarch 3/3
3 c8 a" P: s0 Y, O
* V+ `- x' P, g; t& KInstalled:
- X$ M4 v) C& b$ c. I autoconf.noarch 0:2.69-11.el7 2 h8 r* h' R( w
6 P A2 L0 g- l! T( cDependency Installed:
: b/ @/ o4 f& f/ m$ c8 Z- U& t m4.x86_64 0:1.4.16-10.el7 perl-Data-Dumper.x86_64 0:2.145-3.el7 ( g% `2 Q1 l) L" z( l6 t ]3 s
T* l7 T' r! X' Y4 K IComplete!1 ^5 i. G }2 f+ r0 v f( q
& d: m$ I0 Y& z3 z* o# q$ m[root@ceph1 mysql]# scripts/mysql_install_db --user=mysql
' d/ v* @/ C' x7 PInstalling 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).
8 B% Q9 d5 v3 r6 I6 c. |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.
" A& H9 L' K# A7 F) |2022-09-22 11:14:19 141419 [Note] InnoDB: Using atomics to ref count buffer pool pages
% E3 l! s$ ^! B3 w/ Z x2022-09-22 11:14:19 141419 [Note] InnoDB: The InnoDB memory heap is disabled
& V0 C0 N- n% i6 a2022-09-22 11:14:19 141419 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
5 ] U9 v) g+ v) U" @2 V3 w2022-09-22 11:14:19 141419 [Note] InnoDB: Memory barrier is not used* Q% l, p( f! Y2 v/ X( V! N
2022-09-22 11:14:19 141419 [Note] InnoDB: Compressed tables use zlib 1.2.3, a& l$ }; `* U \
2022-09-22 11:14:19 141419 [Note] InnoDB: Using CPU crc32 instructions' Z" i. h% Y3 j- \& `+ l
2022-09-22 11:14:19 141419 [Note] InnoDB: Initializing buffer pool, size = 128.0M
5 c" n% l. F& S8 @" L5 ^* y8 h+ H; D2022-09-22 11:14:19 141419 [Note] InnoDB: Completed initialization of buffer pool, T& F' e, y6 E. \; P6 W$ n
2022-09-22 11:14:19 141419 [Note] InnoDB: Highest supported file format is Barracuda.1 A/ a1 s* y4 U; q0 e; f
/ L/ y, D$ s. X/ {0 A9 E; Y问题解决1 j0 ] d8 l1 X& ^: D) A8 i
]0 h, y: c+ L5 c0 p
|
|