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!
dhughes
 
Posts: 4
Joined: March 4th, 2018, 4:37 am

Re: Connecting to Local Database

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

Hello,

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.

Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
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 44 guests

cron

User Control Panel

Login

Who is online

In total there are 44 users online :: 0 registered, 0 hidden and 44 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 44 guests