# Connecting to multiple databases on one page

**URL:** <https://forum.kirupa.com/t/connecting-to-multiple-databases-on-one-page/80922>\
**Category:** Uncategorized\
**Created:** [February 25, 2005, 10:00pm UTC](https://forum.kirupa.com/t/connecting-to-multiple-databases-on-one-page/80922 "2005-02-25T22:00:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SlowRoasted](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)\
**Post date:** [February 25, 2005, 10:00pm UTC](https://forum.kirupa.com/t/connecting-to-multiple-databases-on-one-page/80922/1 "2005-02-25T22:00:04Z")

</div>

Ok i have several includes that are connecting to my forum database to pull recent posts and news. Ive got another include that is connecting to another database that has a table for tutorial and article pages that I want to display. The problem im getting is that, without using mysql\_close, the tutorial script is looking in the forum database, so im guessing that the connection is staying open. When i put mysql\_close at the end of each script it only runs the first include and the next one says database not found. Can someone help plz;)
