인디노트
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