Connecting to Local Database

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Connecting to Local Database

Postby dhughes » March 6th, 2018, 12:36 pm

Hi everyone. I'm a bit confused as to how to use Visual Studio & PHP Tools to connect to a local MySQL database. At first I figured I'd need to set up a new database in PHPMyAdmin under localhost/phpmyadmin. But the code doesn't seem to be detecting my database. What am I overlooking? Thanks in advance for your help!
Posts: 4
Joined: March 4th, 2018, 4:37 am

Re: Connecting to Local Database

Postby Miloslav Beno » March 7th, 2018, 11:48 am


Thanks for the question.

Although not really related to PHP Tools I would like to help, but I can just guess - maybe firewall is blocking some ports even when it's installed locally? Try to turn it off completly for a while if that doesn't help.

Miloslav Beno │ DEVSENSE s.r.o. │
User avatar
Miloslav Beno
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 5 guests


User Control Panel


Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 89 on October 15th, 2018, 4:06 pm

Users browsing this forum: No registered users and 5 guests