Skip to main content
Participant
August 31, 2010
Answered

how do i connect to my database on a remote server

  • August 31, 2010
  • 1 reply
  • 414 views

am designing a website, but i cant connect to my database. dreamweaver keeps on telling me " your php server does not have a mysql module or you can use the mysql_(p) function" i have no clue what that means, is there anyone who can help?

This topic has been closed for replies.
Correct answer Lawrence_Cramer

In many cases, you can't.  Hosts often disable this function, so check with them.  A MUCH better way to go is to create a complete developement / testing environment on your local system, which means installing and running Apache, PHP, and MySQL on your computer. This will allow you to recreate the setup that will be on the host and test independently - which is a really good idea once the site goes live and you'll be able to develop and test updates without fear of messing up the live site.

Here's an excelent artical on this topic: http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php.html

--
Lawrence Carmer - *Adobe Community Professional*
http://www.Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in PHP and ColdFusion

Stay updated - http://blog.cartweaver.com

1 reply

Lawrence_Cramer
Lawrence_CramerCorrect answer
Inspiring
August 31, 2010

In many cases, you can't.  Hosts often disable this function, so check with them.  A MUCH better way to go is to create a complete developement / testing environment on your local system, which means installing and running Apache, PHP, and MySQL on your computer. This will allow you to recreate the setup that will be on the host and test independently - which is a really good idea once the site goes live and you'll be able to develop and test updates without fear of messing up the live site.

Here's an excelent artical on this topic: http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php.html

--
Lawrence Carmer - *Adobe Community Professional*
http://www.Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in PHP and ColdFusion

Stay updated - http://blog.cartweaver.com