일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- SSL
- otpkey
- 인증
- openssl
- FIDO2
- Android
- Xcode
- 애플
- OTP
- 안드로이드
- 앱리소스
- appres
- MFA
- css
- MSYS2
- fido
- kmip
- WebAuthn
- SSH
- git
- 2FA
- albumbook
- SwiftUI
- MYSQL
- Nodejs
- SWIFT
- apple
- 앨범북
- OSX
- 앱스토어
Archives
- Today
- Total
인디노트
WordPress 용 DB 생성후 wordpress 용 User 생성 본문
워드프레스를 Linux 에 설치 중이다.
MySQL 에 wordpress 라는 DB 와 wordpress 라는 user 를 생성하는 문구를 기록한다.
mysql> drop user wordpress@192.168.0.200;
Query OK, 0 rows affected (0.01 sec)
mysql> create user wordpress@192.168.0.200 identified with mysql_native_password by 'password';
Query OK, 0 rows affected (0.01 sec)
mysql> grant all privileges on wordpress.* to wordpress@192.168.0.200;
Query OK, 0 rows affected (0.00 sec)
mysql> flush PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)
가장 첫줄 drop 을 한 이유는 어찌되었든 이전에 만든 사용자가 있는 경우라서... drop 부터 한 것이다. 안해도 상관없음.
반응형
'개발 플랫폼 및 언어 > 네트워크 기술' 카테고리의 다른 글
네트워크 패킷 (데이터) 송수신 (0) | 2022.03.21 |
---|---|
VMWare Fusion 에 네트워크 추가 (링크) (0) | 2021.12.12 |
CentOS 8 PHP 설치에러 Call to undefined function mysql_connect() (0) | 2021.04.14 |
Apache - PHP 구축시 페이지는 안나오고 파일 리스트가 보일때 (0) | 2021.04.14 |
Apache - PHP 구축시 Access denied 나올때 (0) | 2021.04.14 |
Comments