티스토리 뷰
OS에 맞는 MariaDB 다운받기(release status가 stable인 것으로 받는다)
https://downloads.mariadb.org/mariadb/+releases/
MariaDB Releases - MariaDB
Looking to download rpm or deb files manually? Head on over to our Repository Configuration Tool and select your distribution, release, and version. Then, instead of adding the repository, just follow the link on the baseurl or add-apt-repository line of t
downloads.mariadb.org
설치 후 MySQL Client 실행
Enter password: *******
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 13
Server version: 10.3.14-MariaDB mariadb.org binary distribution
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)]> use mysql
Database changed
MariaDB [mysql]> create database 데이터베이스명;
Query OK, 1 row affected (0.005 sec)
MariaDB [mysql]> create user '계정명'@'%' identified by '패스워드';
Query OK, 0 rows affected (0.001 sec)
MariaDB [mysql]> grant all privileges on 데이터베이스명.* to 계정명 with grant option;
Query OK, 0 rows affected (0.001 sec)
MariaDB [mysql]> flush privileges;
Query OK, 0 rows affected (0.001 sec)
'IT > DATABASE' 카테고리의 다른 글
오라클 테이블 락, 테이블 락 조회, 테이블 락 해제 (0) | 2020.06.18 |
---|---|
Host '0.0.0.0' is not allowed to connect to this MariaDB server (0) | 2019.07.18 |
ORA-12519, TNS:no appropriate service handler found (0) | 2018.12.04 |
오라클 조회결과가 없을 경우 처리 (0) | 2018.08.14 |
ORA-28002: the password will expire within 7 days (0) | 2018.03.05 |