mariaDB
-
[macOS] 맥 MariaDB 설치 사용방법Mac OS 2022. 11. 19. 17:38
1. Homebrew 를 이용하여 MariaDB 설치 https://mariadb.com/ko/resources/blog/installing-mariadb-10-1-16-on-mac-os-x-with-homebrew/ Installing MariaDB Server on Mac OS X with Homebrew | MariaDB Developing on your Mac? Get the latest stable MariaDB version on OS X easily with Homebrew. See this step by step guide on installing MariaDB 10.4.13. mariadb.com 나의 맥북에서는.. //탐색 brew update - brew 정보 업데이트 brew sea..
-
[ Linux ] Ubuntu MariaDB 대량 데이터 밀어 넣기start linux 2021. 9. 1. 12:54
분리자를 이용한 파일을 이용하여 데이터를 한번에 편하게 밀어 넣을 수 있는 방법이 있다. 샘플은 data.txt 는 탭으로 분리된 파일이고 하나의 라인은 '\n'으로 구분된다. 컬럼에 대해 별다른 정의가 없으니 테이블에 정의된 컬럼 개수와 순서대로 데이터가 들어갈 것이다. MariaDB [test_db]> LOAD DATA LOCAL INFILE '/home/data.txt' INTO TABLE test_table FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\n'; 데이터베이스명 : test_db 테이블명 : test_table * primary key 설정 CREATE TABLE `test_table` ( `id` varchar(15) NOT NULL, `tit..
-
[ Linux ] Ubuntu MariaDB Java Connectors 설치start linux 2021. 8. 29. 15:51
1. 아래 MariaDB 홈페이지 방문 Download MariaDB Connectors for data access & analysis | MariaDB Download MariaDB Connector/Python, MariaDB Connector/C, MariaDB Connector/J, MariaDB Connector/Node.js, MariaDB Connector/R2DBC, MariaDB Connector/ODBC and more mariadb.com 2. Connectors 탭에서 Java8 옵션을 선택했고 아래에 파일 url 이 표시된다 3. Java8 Connector 파일을 wget 으로 다운 받아본다. root@ncpmicro:/home# wget https://dlm.mariadb.c..
-
[ Linux ] Ubuntu MariaDB 설치start linux 2021. 8. 26. 16:18
요약 mysql SHOW DATABASES; USE database_name; SHOW TABLES; DESC table_name; SHOW TABLE STATUS; SELECT * FROM table_name; exit 마리아DB 설치 명령 apt install mariadb-server 입력해주면 아래와 같이 실행된다. root@ncpmicro:~# apt install mariadb-server Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: .....