PDA

View Full Version : connect to database


markc1822
6-12-07, 10:50 AM
Hi, i was wondering, if there is any way I can use an external program to connect to my database?

Doc C
6-12-07, 11:07 AM
External connections to databases are blocked.

YvetteKuhns
6-15-07, 09:39 AM
For security reasons, many shared hosts do not allow people to run programs on computers to connect to databases on the web servers. It is odd since we can use FTP programs to connect to web servers. You can run a script on your PowWeb account to connect to PowWeb hosted databases.

dmacminn
6-15-07, 11:04 AM
uhhh ... not quite -- you can use FTP to connect to the FTP server bank --- it is NOT a connection to the actual webserver pool (although it is implemented to look like it is!). That is also why, allowing people to download using an FTP subuser (or a link that can be used to initiate their FTP client) doesn't result in your downloads causing too many/too long duration webserver links that can impact other websites. Always use FTP for downloads in preference to an HTTP link (URI)!


BTW, you can often connect to databases using Dreamweaver's support for database management (effectively implementing access to the phpMyAdmin).

YvetteKuhns
6-15-07, 11:08 AM
uhhh ... not quite -- you can use FTP to connect to the FTP server bank --- it is NOT a connection to the actual webserver pool (although it is implemented to look like it is!). That is also why, allowing people to download using an FTP subuser (or a link that can be used to initiate their FTP client) doesn't result in your downloads causing too many/too long duration webserver links that can impact other websites. Always use FTP for downloads in preference to an HTTP link (URI)!

Yeah, that's true. As for FTP downloads, they are always faster but an HTTP link is better when you want someone else to download a file who does not have FTP access. ;)