# 특정 키워드를 검색한 사용자를 찾는 방법?

**URL:** https://meta.discourse.org/t/how-to-find-which-user-searched-specific-keyword/193205
**Category:** Support
**Created:** [6월 8, 2021, 8:41오후 UTC](https://meta.discourse.org/t/how-to-find-which-user-searched-specific-keyword/193205 "2021-06-08T20:41:59Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![th21](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/th21/32/211915_2.png) [@th21](https://meta.discourse.org/u/th21)
#### Post date: [6월 12, 2021, 4:19오전 UTC](https://meta.discourse.org/t/how-to-find-which-user-searched-specific-keyword/193205/3 "2021-06-12T04:19:14Z")

</div>

고마워요. 데이터 익스플로러를 설치하지 않은 사람들을 위해, 데이터베이스에 직접 접근하는 방법도 있어요:

> [@How to access the discourse database?](https://meta.discourse.org/t/how-to-access-the-discourse-database/41845/14?u=th21):
>
> Here ya go, just for you @Divert : Assuming you are in OOTB single container mode in the standard supported setup: cd /var/discourse ./launcher enter app su discourse psql discourse Now, if all was running properly, you are in the DB as the discourse user connected to the discourse DB ready to issue PostgreSQL and SQL commands. Then, if you want to list all the tables in the DB, you can: \dt If you want to list all tables with the word “setting”, then you can: \dt \*setting\* If you find…

그리고 다음 쿼리를 실행하면 됩니다.

> [@cocococosti](#):
>
> ```plaintext
> -- [params]
> -- string :word = my_word
> SELECT * from search_logs where term = :word
> 
> ```

이것도 동작합니다.

---

_[View the full topic](https://meta.discourse.org/t/how-to-find-which-user-searched-specific-keyword/193205)._
