ÃֽŠ°Ô½Ã±Û(DB)
2023.06.26 / 02:01

CentOS7.9 ¹öÀü¿¡¼­ÀÇ ¸¶¸®¾ÆDB¸¦ ¿ÀÇÁ¶óÀÎ ¼³Ä¡ - rpm ¼³Ä¡ Á÷Á¢

µðµµ½º
Ãßõ ¼ö 90

¿À´ÃÀº Linux,

±× Áß¿¡µµ CentOS7.9 ¹öÀü¿¡¼­ÀÇ

¸¶¸®¾ÆDB¸¦ ¿ÀÇÁ¶óÀÎÀ¸·Î ¼³Ä¡Çغ¸°Ú½À´Ï´Ù!

CentOS7.x ¹öÀüÀ̶ó¸é ÀÌ °¡À̵常 º¸¼Åµµ ¹®Á¦ ¾øÀ¸½Ç °Å¿¹¿ä!:D

´ÙÀ½ ¹ø¿¡´Â ¿ìºÐÅõ¿¡¼­µµ ¼³Ä¡Çغ¸µµ·Ï ÇÒ°Ô¿ä :D

 

¸ÕÀú ÀúÀÇ È¯°æÀ» Á¤¸®Çغ¼°Ô¿ä!


 

[¹°¸®¼­¹ö]

OS : CentOS7.9 (Core)

* ¿ÜºÎ Åë½ÅÀº ¹æÈ­º®¿¡¼­ Â÷´Ü

 


À§¿Í °°ÀÌ ¿ÜºÎ Åë½ÅÀÌ ºÒ°¡Çϱ⠶§¹®¿¡

yumÀ¸·Î ÆÐÅ°Áö ÆÄÀÏÀ» ´Ù¿î¹ÞÀ» ¼ö ¾ø¾î¿ä :(

±×·¡¼­ ÆÐÅ°Áö ÆÄÀÏÀ» ¹Þ±â À§ÇØ

Virtual Box¸¦ ÀÌ¿ëÇÏ¿©

¿Â¶óÀÎÀ¸·Î ´Ù¿î·Îµå ¹ÞÀ»ÅÙµ¥,

°¡»ó ¼­¹öOS¸¦ ¹°¸® ¼­¹ö¿Í µ¿ÀÏÇÏ°Ô ¸¸µé¾î ÁÝ´Ï´Ù!

 


 

OS ¹öÀüÀ» È®ÀÎ Çغ¼°Ô¿ä.

cat /etc/*release*

[root@localhost ~]# cat /etc/*release* CentOS Linux release 7.9.2009 (Core) Derived from Red Hat Enterprise Linux 7.8 (Source) NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" CentOS Linux release 7.9.2009 (Core) CentOS Linux release 7.9.2009 (Core) cpe:/o:centos:centos:7
[root@localhost ~]#

¹öÀüÀº CentOS Linux release 7.9.2009 (Core)

°¡»ó ¼­¹ö¿¡¼­ ÀÎÅͳÝÀÌ µÇ´ÂÁö È®ÀÎ Çغ¼°Ô¿ä!

ping 8.8.8.8 ¶Ç´Â ping 168.126.63.1

* ¾Æ·¡ Ä¿¸àµå¿¡¼­ -c5´Â 5ȸ Ãâ·ÂÇÑ´Ù´Â ¶æÀÌ¿¡¿ä!

-c ¿É¼ÇÀ» ³ÖÁö ¾ÊÀ¸¸é ctrl+c·Î Á¾·áÇϱâ Àü±îÁö ¹«ÇÑ´ë·Î Åë½ÅÇÑ´ä´Ï´Ù!

[root@localhost ~]# ping 168.126.63.1 -c5
PING 168.126.63.1 (168.126.63.1) 56(84) bytes of data. 
64 bytes from 168.126.63.1: icmp_seq=1 ttl=55 time=9.95 ms 
64 bytes from 168.126.63.1: icmp_seq=2 ttl=55 time=11.9 ms 
64 bytes from 168.126.63.1: icmp_seq=3 ttl=55 time=11.1 ms 
64 bytes from 168.126.63.1: icmp_seq=4 ttl=55 time=11.9 ms 
64 bytes from 168.126.63.1: icmp_seq=5 ttl=55 time=10.3 ms 
--- 168.126.63.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, 
time 4057ms rtt min/avg/max/mdev = 9.951/11.063/11.972/0.817 ms 
[root@localhost ~]#

ÀÎÅͳÝÀÌ µÇ´Â °Í ±îÁö È®ÀÎ ÇßÀ¸¸é,

MariaDB¸¦ ¼³Ä¡Çϱâ À§ÇÑ ÆÐÅ°Áö°¡ ¹ºÁö ¾Ë¾Æ¾ß°ÚÁÒ?

À§ÀÇ ¸µÅ©¸¦ Ŭ¸¯Çϸé MariaDB RPM ÆÄÀÏ°ú

ÆÄÀϸ¶´Ù ¼³¸íÀÌ ÀÚ¼¼È÷ ³ª¿ÍÀÖ¾î¿ä!

ÇÊ¿äÇÑ ºÎºÐÀ» ¼±ÅÃÇÏ¿© ¼³Ä¡Çϵµ·Ï ÇսôÙ:D

 


Àú´Â MariaDB-Client¿Í MariaDB-Server¸¦

¼³Ä¡ÇÏ·Á°í ÇØ¿ä.

ÇÏÁö¸¸ ¼³Ä¡ÆÄÀÏ¿¡ ÀÇÁ¸¼º ÆÐÅ°Áö°¡ Æ÷Ç﵃ ¼ö ÀÖÀ¸´Ï

È®ÀÎ Çغ¸µµ·Ï ÇÒ°Ô¿ä!

yum install -y mariadb-server mariadb

¾Æ·¡ Ä¿¸àµå¿¡¼­ -y´Â ¸ðµç ¼³Ä¡¿¡ ´Ù yes¸¦ ÇÏ´Â ¿É¼ÇÀÔ´Ï´Ù.

½ÇÁ¦ ÀÛ¾÷¿¡¼­´Â -y ¿É¼ÇÀ» »ç¿ëÇÏÁö ¾Ê°í ¹¹°¡ ¾î¶»°Ô ¼³Ä¡µÇ´ÂÁö È®ÀÎ ÇØ¾ß µÅ¿ä!

[
[root@localhost ~]# yum install -y mariadb-server mariadb
Loaded plugins: fastestmirror Determining fastest mirrors * base: ftp.kaist.ac.kr * 
extras: ftp.kaist.ac.kr * updates: ftp.kaist.ac.kr base | 3.6 kB 00:00 extras | 
2.9 kB 00:00 updates | 2.9 kB 00:00 (1/4): base/7/x86_64/group_gz | 153 kB 00:00 (2/4):
extras/7/x86_64/primary_db | 243 kB 00:00 (3/4): base/7/x86_64/primary_db | 6.1 MB 00:01 (4/4):
updates/7/x86_64/primary_db | 11 MB 00:02 Resolving Dependencies --> Running transaction check
---> Package mariadb.x86_64 1:5.5.68-1.el7 will be installed 
[Áß·«] ================================================================================ 
Package Arch Version Repository Size
================================================================================ 
Installing: mariadb x86_64 1:5.5.68-1.el7 base 8.8 M mariadb-server x86_64 1:5.5.68-1.el7 base 1
1 M Installing for dependencies: perl-Compress-Raw-Bzip2 x86_64 2.061-3.el7 base 32 k perl-Compr
ess-Raw-Zlib x86_64 1:2.061-4.el7 base 57 k perl-DBD-MySQL x86_64 4.023-6.el7 base 140 k perl-DB
I x86_64 1.627-4.el7 base 802 k perl-IO-Compress noarch 2.061-2.el7 base 260 k perl-Net-Daemon 
noarch 0.48-5.el7 base 51 k perl-PlRPC noarch 0.2020-14.el7 base 36 k [»ý·«]

À§¿Í °°ÀÌ ¼³Ä¡µÇ´Â

ÆÐÅ°Áö ¸®½ºÆ®¸¦ È®ÀÎÇÒ ¼ö ÀÖ¾î¿ä.

È®ÀÎ ÈÄ¿¡´Â ÆÐÅ°Áö¸¦ º°µµ·Î ´Ù¿î·Îµå Çϱâ À§ÇØ

´Ù½Ã »èÁ¦ÇØ¿ä.

yum erase -y mariadb-server mariadb

[root@localhost ~]# yum erase -y mariadb-server mariadb perl-Compress-Raw-Bzip2 perl-Compress-Raw-Zlib perl-
DBD-MySQL perl-DBI perl-IO-Compress.noarch perl-Net-Daemon.noarch perl-PlRPC.noarch Loaded plugins:
fastestmirror Resolving Dependencies --> Running transaction check ---> Package mariadb.x86_64 1:5.5.68-1.el7 will
be erased ---> Package mariadb-server.x86_64 1:5.5.68-1.el7 will be erased ---> Package perl-Compress-Raw-
Bzip2.x86_64 0:2.061-3.el7 will be erased ---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be erased ---
> Package perl-DBD-MySQL.x86_64 0:4.023-6.el7 will be erased ---> Package perl-DBI.x86_64 0:1.627-4.el7 will be
erased ---> Package perl-IO-Compress.noarch 0:2.061-2.el7 will be erased ---> Package perl-Net-Daemon.noarch
0:0.48-5.el7 will be erased ---> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be erased --> Finished Dependency
Resolution Dependencies Resolved
================================================================================ Package Arch
Version Repository Size
================================================================================ Removing: mariadb
x86_64 1:5.5.68-1.el7 @base 49 M mariadb-server x86_64 1:5.5.68-1.el7 @base 58 M perl-Compress-Raw-Bzip2 x86_64
2.061-3.el7 @base 57 k perl-Compress-Raw-Zlib x86_64 1:2.061-4.el7 @base 137 k perl-DBD-MySQL x86_64 4.023-
6.el7 @base 323 k perl-DBI x86_64 1.627-4.el7 @base 1.9 M perl-IO-Compress noarch 2.061-2.el7 @base 795 k perl-
Net-Daemon noarch 0.48-5.el7 @base 116 k perl-PlRPC noarch 0.2020-14.el7 @base 69 k Transaction Summary
================================================================================ Remove 9 Packages
Installed size: 110 M Downloading packages: Running transaction check Running transaction test Transaction test
succeeded Running transaction Erasing : 1:mariadb-server-5.5.68-1.el7.x86_64 1/9 Erasing : perl-DBD-MySQL-4.023-
6.el7.x86_64 2/9 Erasing : perl-DBI-1.627-4.el7.x86_64 3/9 Erasing : perl-PlRPC-0.2020-14.el7.noarch 4/9 Erasing : perl-
IO-Compress-2.061-2.el7.noarch 5/9 Erasing : perl-Net-Daemon-0.48-5.el7.noarch 6/9 Erasing : perl-Compress-Raw-
Bzip2-2.061-3.el7.x86_64 7/9 Erasing : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64 8/9 Erasing : 1:mariadb-5.5.68-
1.el7.x86_64 9/9 Verifying : perl-IO-Compress-2.061-2.el7.noarch 1/9 Verifying : 1:mariadb-server-5.5.68-1.el7.x86_64
2/9 Verifying : perl-DBD-MySQL-4.023-6.el7.x86_64 3/9 Verifying : 1:mariadb-5.5.68-1.el7.x86_64 4/9 Verifying : 1:perl-
Compress-Raw-Zlib-2.061-4.el7.x86_64 5/9 Verifying : perl-Net-Daemon-0.48-5.el7.noarch 6/9 Verifying : perl-DBI-
1.627-4.el7.x86_64 7/9 Verifying : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64 8/9 Verifying : perl-PlRPC-0.2020-
14.el7.noarch 9/9 Removed: mariadb.x86_64 1:5.5.68-1.el7 mariadb-server.x86_64 1:5.5.68-1.el7 perl-Compress-Raw-
Bzip2.x86_64 0:2.061-3.el7 perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 perl-DBD-MySQL.x86_64 0:4.023-6.el7 perl-
DBI.x86_64 0:1.627-4.el7 perl-IO-Compress.noarch 0:2.061-2.el7 perl-Net-Daemon.noarch 0:0.48-5.el7 perl-
PlRPC.noarch 0:0.2020-14.el7 
Complete!

»èÁ¦°¡ ³¡³µÀ¸¸é ´Ù½Ã ÆÐÅ°Áö¸¸ º°µµÀÇ °æ·Î¿¡

´Ù¿î·Îµå ÇØ¿ä!

Àú´Â /root/MariaDB_Packages ¶ó´Â

µð·ºÅ͸®¸¦ ¸¸µé¾î ÀúÀåÇÒ °Å¿¹¿ä!

cd /root

mkdir MariaDB_Packages

yum install -y mariadb-server.x86_64 mariadb.x86_64 perl-Compress-Raw-Bzip2.x86_64 perl-Compress-Raw-Zlib.x86_64 perl-DBD-MySQL.x86_64 perl-DBI.x86_64 perl-IO-Compress.noarch perl-Net-Daemon.noarch perl-PlRPC.noarch boost-program-options lsof rsync --downloadonly --downloaddir=/root/MariaDB_Packages

[root@localhost ~]# cd /root
[root@localhost ~]# mkdir MariaDB_Packages
[root@localhost ~]# yum install -y mariadb-server.x86_64 mariadb.x86_64 perl-Compress-Raw-Bzip2.x86_64 perl-
Compress-Raw-Zlib.x86_64 perl-DBD-MySQL.x86_64 perl-DBI.x86_64 perl-IO-Compress.noarch perl-Net-
Daemon.noarch perl-PlRPC.noarch boost-program-options lsof rsync --downloadonly --
downloaddir=/root/MariaDB_Packages
Loaded plugins: fastestmirror Determining fastest mirrors * base: mirror.navercorp.com * extras:
mirror.navercorp.com * updates: mirror.navercorp.com base | 3.6 kB 00:00 extras | 2.9 kB 00:00 updates | 2.9 kB 00:00
(1/4): base/7/x86_64/group_gz | 153 kB 00:00 [Áß·«] Install 11 Packages Total download size: 22 M Installed size: 112
M Background downloading packages, then exiting: °æ°í: /root/MariaDB_Packages/boost-program-options-1.53.0-
28.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Public key for boost-program-options-
1.53.0-28.el7.x86_64.rpm is not installed (1/11): boost-program-options-1.53.0-28.el7.x86_64.rpm | 156 kB 00:00
(2/11): lsof-4.87-6.el7.x86_64.rpm | 331 kB 00:00 (3/11): mariadb-5.5.68-1.el7.x86_64.rpm | 8.8 MB 00:02 (4/11): perl-
Compress-Raw-Bzip2-2.061-3.el7.x86_64.rpm | 32 kB 00:00 (5/11): perl-Compress-Raw-Zlib-2.061-4.el7.x86_64.rpm |
57 kB 00:00 (6/11): perl-DBD-MySQL-4.023-6.el7.x86_64.rpm | 140 kB 00:00 (7/11): perl-DBI-1.627-4.el7.x86_64.rpm |
802 kB 00:00 (8/11): perl-IO-Compress-2.061-2.el7.noarch.rpm | 260 kB 00:00 (9/11): perl-Net-Daemon-0.48-
5.el7.noarch.rpm | 51 kB 00:00 (10/11): perl-PlRPC-0.2020-14.el7.noarch.rpm | 36 kB 00:00 (11/11): mariadb-server-
5.5.68-1.el7.x86_64.rpm | 11 MB 00:04 -------------------------------------------------------------------------------- Total 4.9 MB/s | 22
MB 00:04 exiting because "Download Only" specified
 

´Ù¿î·Îµå ¿Ï·á ÈÄ ÇØ´ç °æ·Î¿¡¼­ ÆÄÀÏÀ» È®ÀÎÇØ¿ä!

cd MariaDB_Packages/

ls

[root@localhost ~]# cd MariaDB_Packages/ [root@localhost MariaDB_Packages]# ls boost-program-options-1.53.0-
28.el7.x86_64.rpm lsof-4.87-6.el7.x86_64.rpm mariadb-5.5.68-1.el7.x86_64.rpm mariadb-server-5.5.68-
1.el7.x86_64.rpm perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64.rpm perl-Compress-Raw-Zlib-2.061-4.el7.x86_64.rpm
perl-DBD-MySQL-4.023-6.el7.x86_64.rpm perl-DBI-1.627-4.el7.x86_64.rpm perl-IO-Compress-2.061-2.el7.noarch.rpm
perl-Net-Daemon-0.48-5.el7.noarch.rpm perl-PlRPC-0.2020-14.el7.noarch.rpm
[root@localhost ~]# cd MariaDB_Packages/ 
[root@localhost MariaDB_Packages]# ls 
boost-program-options-1.53.0-28.el7.x86_64.rpm 
lsof-4.87-6.el7.x86_64.rpm
mariadb-5.5.68-1.el7.x86_64.rpm
mariadb-server-5.5.68-1.el7.x86_64.rpm
perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64.rpm 
perl-Compress-Raw-Zlib-2.061-4.el7.x86_64.rpm
perl-DBD-MySQL-4.023-6.el7.x86_64.rpm 
perl-DBI-1.627-4.el7.x86_64.rpm 
perl-IO-Compress-2.061-2.el7.noarch.rpm
perl-Net-Daemon-0.48-5.el7.noarch.rpm 
perl-PlRPC-0.2020-14.el7.noarch.rpm
 

Á¤»óÀûÀ¸·Î ´Ù¿î·Îµå ¹Þ¾ÆÁø °ÍÀÌ È®ÀÎµÇ¸é ¼³Ä¡ÆÄÀÏÀ» WinSCPµîÀÇ ÇÁ·Î±×·¥À¸·Î ¿Å±é´Ï´Ù.


¼³Ä¡ ÇÏ·Á´ø ¼­¹ö¿¡ ¼³Ä¡¸¦ ÇØ º¼ °Å¿¹¿ä! :D

¸ÕÀú ÆÄÀÏÀ» ¿Å±ä ÈÄ È®ÀÎÇÕ´Ï´Ù.

[root@localhost ~]# cd MariaDB_Packages/ [root@localhost MariaDB_Packages]# ls boost-program-options-1.53.0-
28.el7.x86_64.rpm lsof-4.87-6.el7.x86_64.rpm mariadb-5.5.68-1.el7.x86_64.rpm mariadb-server-5.5.68-
1.el7.x86_64.rpm perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64.rpm perl-Compress-Raw-Zlib-2.061-4.el7.x86_64.rpm
perl-DBD-MySQL-4.023-6.el7.x86_64.rpm perl-DBI-1.627-4.el7.x86_64.rpm perl-IO-Compress-2.061-2.el7.noarch.rpm
perl-Net-Daemon-0.48-5.el7.noarch.rpm perl-PlRPC-0.2020-14.el7.noarch.rpm [root@localhost MariaDB_Packages]#
 

ÆÄÀÏÀÌ Àß ¿Å°ÜÁ³´Ù¸é ¼³Ä¡¸¦ ÇØ º¼°Å¿¹¿ä!

Á¾¼Ó¼º ¹®Á¦°¡ À־ ¼ø¼­°¡ Áß¿äÇѵ¥¿ä,

perl-Compress-Raw-Zlib

mariadb

perl-Net-Daemon

perl-Compress-Raw-Bzip2

perl-IO-Compress

perl-PlRPC

perl-DBI

perl-DBD-MySQL

mariadb-server

boost-program-options

lsof

¼ø¼­·Î ¼³Ä¡ÇÏ¸é µË´Ï´Ù!

¶Ç´Â rpm -Uvh *.rpm À¸·Î ¼³Ä¡Çϸé

¼ø¼­´ë·Î ¾Ë¾Æ¼­ ÇØÁÝ´Ï´Ù!

rpm -Uvh *.rpm

[root@localhost MariaDB_Packages]# rpm -Uvh *.rpm °æ°í: boost-program-options-1.53.0-28.el7.x86_64.rpm:
Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Áغñ Áß... ################################# [100%
] Updating / installing... 1:perl-Net-Daemon-0.48-5.el7 ################################# [ 9%] 2:perl-
Compress-Raw-Zlib-1:2.061-4.################################# [ 18%] 3:perl-Compress-Raw-Bzip2-2.061-
3.e################################# [ 27%] 4:perl-IO-Compress-2.061-2.el7
################################# [ 36%] 5:perl-PlRPC-0.2020-14.el7 #################################
[ 45%] 6:perl-DBI-1.627-4.el7 ################################# [ 55%] 7:perl-DBD-MySQL-4.023-6.el7
################################# [ 64%] 8:mariadb-1:5.5.68-1.el7 ################################# [
73%] 9:mariadb-server-1:5.5.68-1.el7 ################################# [ 82%] 10:lsof-4.87-6.el7
################################# [ 91%] 11:boost-program-options-1.53.0-
28.e################################# [100%]

 

¼³Ä¡°¡ Àß µÇ¾ú´Ù¸é MariaDB¸¦ ½ÇÇàÇغ¾½Ã´Ù!

systemctl start mariadb

systemctl status mariadb

[root@localhost ~]# systemctl start mariadb
[root@localhost ~]# systemctl status mariadb
¡Ü mariadb.service - MariaDB database server Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled
; vendor preset: disabled) Active: active (running) since ¸ñ 2021-10-14 18:10:02 KST; 6s ago Process: 8530
ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=0/SUCCESS) Process: 8446
ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCCESS) Main PID: 8529
(mysqld_safe) CGroup: /system.slice/mariadb.service ¦§¦¡8529 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
¦¦¦¡8694 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql... 10¿ù 14 18:09:58 localhost.localdomain
mariadb-prepare-db-dir[8446]: Alterna... 10¿ù 14 18:09:58 localhost.localdomain mariadb-prepare-db-dir[8446]:
'/usr/b... 10¿ù 14 18:09:58 localhost.localdomain mariadb-prepare-db-dir[8446]: which w... 10¿ù 14 18:09:58
localhost.localdomain mariadb-prepare-db-dir[8446]: databas... 10¿ù 14 18:09:58 localhost.localdomain mariadb-
prepare-db-dir[8446]: strongl... 10¿ù 14 18:09:58 localhost.localdomain mariadb-prepare-db-dir[8446]: See the... 10¿ù
14 18:09:58 localhost.localdomain mariadb-prepare-db-dir[8446]: MySQL m... 10¿ù 14 18:09:59 localhost.localdomain
mysqld_safe[8529]: 211014 18:09:59 my... 10¿ù 14 18:09:59 localhost.localdomain mysqld_safe[8529]: 211014
18:09:59 my... 10¿ù 14 18:10:02 localhost.localdomain systemd[1]: Started MariaDB database ... Hint: Some lines were
ellipsized, use -l to show in full.

MariaDB ¼³Ä¡ Á÷ÈÄ¿¡´Â

root Æнº¿öµå¸¦ º¯°æÇØ ÁÖ¾î¾ß ÇÕ´Ï´Ù.

 /usr/bin/mysqladmin -u root password 'password'

 

' ' ÀÛÀº µû¿ÈÇ¥ ¾È¿¡

¼³Á¤ÇÒ Æнº¿öµå¸¦ ÀÔ·ÂÇÏ¸é º¯°æ µË´Ï´Ù.

 


¿©±â±îÁö, ¼³Ä¡°¡ ¿Ï·á µÇ¾ú½À´Ï´Ù!!

µ¿ÀÛÇÏ´ÂÁö º¼±î¿ä?

mysql -u root -p

[root@localhost ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 9
Server version: 5.5.68-MariaDB MariaDB Server Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]> show databases; +--------
------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | +--------------------+ 3
rows in set (0.00 sec) MariaDB [(none)]> use mysql; Reading table information for completion of table and column
names You can turn off this feature to get a quicker startup with -A Database changed MariaDB [mysql]>

Àß ÀÛµ¿Çϳ׿ä! :D

ÀÌ°ÍÀ¸·Î CentOS7.x¿¡¼­

Off-lineÀ¸·Î MariaDB¼³Ä¡Çϱ⸦

¸¶Ä¡°Ú½À´Ï´Ù! :D

ÀоîÁּż­ °¨»çÇÕ´Ï´Ù :D