# 別のアプリから直接データベースに接続することは可能でしょうか？

**URL:** <https://meta.discourse.org/t/is-it-possible-to-connect-to-the-database-directly-from-a-separate-app/152695>\
**Category:** Self-hosting\
**Created:** [2020 年 5 月 25 日午後 9:52 UTC](https://meta.discourse.org/t/is-it-possible-to-connect-to-the-database-directly-from-a-separate-app/152695 "2020-05-25T21:52:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [2020 年 5 月 25 日午後 11:29 UTC](https://meta.discourse.org/t/is-it-possible-to-connect-to-the-database-directly-from-a-separate-app/152695/2 "2020-05-25T23:29:55Z")

</div>

主な欠点は、そのような接続が書き込みアクセスに使用される可能性があるという点です。これは要件ですか？

もしあなたの統合がデータベースへの書き込みアクセスを必要とする場合は、必要な操作のみを公開するプラグインの作成を検討してください。

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-connect-to-the-database-directly-from-a-separate-app/152695)._
