CentOS6 MariaDB 설치

Jmnote (토론 | 기여)님의 2013년 11월 26일 (화) 16:25 판 (→‎설치)
MariaDB 설치

1 repo 설정

2 설치

[root@jmnote ~]# yum install MariaDB-server MariaDB-client
... (생략)
===================================================================================================================================
 Package                             Arch                      Version                          Repository                    Size
===================================================================================================================================
Installing:
 MariaDB-client                      i386                      5.5.34-1                         mariadb                       12 M
 MariaDB-server                      i386                      5.5.34-1                         mariadb                       42 M
Installing for dependencies:
 MariaDB-common                      i386                      5.5.34-1                         mariadb                       29 k

Transaction Summary
===================================================================================================================================
Install       3 Package(s)
Upgrade       0 Package(s)

Total download size: 55 M
Is this ok [y/N]: y
... (생략)
chown: cannot access `/var/lib/mysql': No such file or directory

PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:

'/usr/bin/mysqladmin' -u root password 'new-password'
'/usr/bin/mysqladmin' -u root -h jmnote password 'new-password'

Alternatively you can run:
'/usr/bin/mysql_secure_installation'

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the MariaDB Knowledgebase at http://kb.askmonty.org or the
MySQL manual for more instructions.

Please report any problems with the '/usr/bin/mysqlbug' script!

The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Support MariaDB development by buying support/new features from
Monty Program Ab. You can contact us about this at sales@montyprogram.com.
Alternatively consider joining our community based development effort:
http://kb.askmonty.org/en/contributing-to-the-mariadb-project/


Installed:
  MariaDB-client.i386 0:5.5.34-1                                   MariaDB-server.i386 0:5.5.34-1                                  

Dependency Installed:
  MariaDB-common.i386 0:5.5.34-1                                                                                                   

Complete!
→ DB를 실행하고 패스워드를 설정하라는 안내가 나온다.

3 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}