Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mindfulcreative's avatar

Laravel Forge Database Connections

Is there any simple way that I can see what sites my databases are connected to, and which ones are not connected to any sites, preferably through the dashboard?

0 likes
7 replies
jlrdw's avatar

Nova has metrics.

preferably through the dashboard

What dashboard.

1 like
mindfulcreative's avatar

Thank you, unfortunately the monitoring doesn't have an option to show what databases are connected to what

I'm looking to clean up my list of databases, but some of them were named where I can't figure out if I connected it to the staging or live

jlrdw's avatar
jlrdw
Best Answer
Level 75

If that's all you need, try one database at a time with a error thrown in, perhaps a wrong password on purpose, or similar. Then you should see which connection Just errored.

Definitely have good names for everything that makes sense.

2 likes
rawilk's avatar

Why wouldn't you just look at the apps on the server and see which databases they are connecting to?

1 like
mindfulcreative's avatar

Because that's going to take a lot of time when I have 70+ sites - I'll have to FTP into each WordPress site to get that info

It boggles my mind that there's no simple UI in the Forge dashboard showing this information that clearly exists - there's a list of sites, a list of databases, a list of databases users, but nowhere stating "this site uses this database" 🤯

Please or to participate in this conversation.