Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- 함수
- swift
- Linux
- 맛집
- port
- ubuntu
- flutter
- 리눅스
- Unity
- MySQL
- sqlite
- 날짜
- tensorflow
- 유니티
- python
- javascript
- mssql
- PER
- ASP
- 다이어트
- Excel
- node.js
- MS-SQL
- urllib
- 라즈베리파이
- PyQt5
- IOS
- GIT
- PyQt
- pandas
Archives
아미(아름다운미소)
MySQL/MariaDB 초기 설치 후 계정 패스워드 초기화 (update root password) 본문
MySQL/MariaDB 계정 패스워드 초기화
1. 개요최초 설치 시에는 root 계정 패스워드가 설정되어 있지 않습니다.
root 계정의 패스워드를 설정하는 방법입니다.
2. 방법
2-1. mysql 접속
패스워드가 설정되어 있지 않은 상태이므로 그냥 접속할 수 있습니다.
2-2. mysql DB 선택
2-3. 계정 패스워드 초기화
mysql -u root
use mysql;
update user set password=password('mypassword') where user='root';
flush pribvileges;
Comments