티스토리 뷰
728x90
출처
MariaDB 서비스 등록
C:\server\mysql\mariadb-10.3.12-winx64>bin\mysql_install_db --datadir=C:\server\mysql\mariadb-10.3.12-winx64\data --service="MariaDB 10312" --port=3306 --password=xxxx
Running bootstrap
2019-02-10 12:39:34 0 [Note] C:\server\mysql\mariadb-10.3.12-winx64\bin\mysqld.exe (mysqld 10.3.12-MariaDB) starting as process 3784 ...
Removing default user
Setting root password
Creating my.ini file
Registering service 'MariaDB 10312'
Creation of the database was successful
C:\server\mysql\mariadb-10.3.12-winx64>
root 사용자 암호등록
C:\server\mysql\mariadb-10.3.12-winx64>bin\mysql -u root -p
Enter password: ******
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 10 Server version: 10.3.12-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]> select user, host from mysql.user;
+-------------+-----------------+
| User | Host |
+-------------+-----------------+
| root | 127.0.0.1 |
| root | ::1 |
| root | desktop-b09gsin |
| mariadb.sys | localhost |
| root | localhost |
+-------------+-----------------+
5 rows in set (0.002 sec)
MariaDB [mysql]> alter user 'root'@'localhost' identified by 'sqldba';
Query OK, 0 rows affected (0.004 sec)
댓글
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- koba2010
- 송주경
- Delphi Tip
- android
- NDK
- 전예희
- Xcode
- Linux
- 지스타2007
- ubuntu
- sas2009
- Delphi
- SAS
- 레이싱모델 익스트림 포토 페스티벌
- MySQL
- 서울오토살롱
- 동경
- ble
- 튜닝쇼 2008
- ffmpeg
- Mac
- JavaScript
- BPI-M4
- oracle
- 일본여행
- flex
- Spring
- KOBA
- Java
- Spring MVC
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함