티스토리 뷰

 

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)

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
글 보관함