메타컨텐츠 데이터베이스 설정
이번 단계에서는 메타 컨텐츠 저장을 위한 데이터베이스 접속을 위한 데이터베이스 벤더의 접속 도구를 통해서 수행한다. 본 메뉴얼은 MySQL 데이터베이스를 대상으로 설명하며 트랜잭션을 지원하는 상용 데이터베이스에서 활용하도록 한다.
메타 데이터베이스 설정
Open MySQL command prompt and execute following command to connect to database system.
- Install and Start MySQL database
-
Login as root user with the following command.
mysql -uroot -hlocalhost -p
-
Create empty database with the following command on the above database command shell.
CREATE DATABASE amplix_meta DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'amplix'@'localhost' IDENTIFIED BY 'password'; -
Grant permission to database
GRANT ALL PRIVILEGES ON amplix_meta.* TO 'amplix'@'localhost';
FLUSH PRIVILEGES; -
Create Sample database user and database (Optional)
CREATE DATABASE foodmeart;
CREATE USER 'foodmart'@'localhost' IDENTIFIED BY 'password';
Grant permission to foodmart user and database
GRANT ALL PRIVILEGES ON foodmart.* TO 'amplix'@'localhost';
GRANT ALL PRIVILEGES ON foodmart.* TO 'foodmart'@'localhost';
FLUSH PRIVILEGES;
지원하는 데이터베이스 유형 및 정보
|
Database name |
Type name |
Notes |
|
oracle |
oracle |
|
|
Oracle JDEdwards ERP |
jde |
|
|
Apache Embedded |
apacheembd |
|
|
IBM DB2 |
db2 |
|
|
IBM AS400 |
db2 |
|
|
MySQL |
mysql |
|
|
Postre SQL |
postg / postgresql / postgre |
|
|
MS SQL |
mssql |
|
|
Tibero DB |
tibero |
|
|
Sybase ASE |
sybase_ase |
|