Skip to main content
Inspiring
November 3, 2010
Answered

database username/password

  • November 3, 2010
  • 1 reply
  • 569 views

Hi,

I have a website and am using coldfusion and dreamweaver.  My hosting service requires that, in order to access the database, you must define a username and password in the code.  Its working online, but in order to get it working on my localhost I have to delete the username and password from the code.  Is there some way I can make my localhost need to access the database with the same username and password my hosting service requires?  It's a pain having to work on a page and constantly switch between no username and password to a defined username and password in the code.

This topic has been closed for replies.
Correct answer bnbwalt

If your hosting service is using MySQL, its very easy to install it on your testing machine and require the same user name and password as on the hosting instance of MySQL.  That is the way I do it.

Walt

B & B Photography

1 reply

bnbwaltCorrect answer
Participating Frequently
November 3, 2010

If your hosting service is using MySQL, its very easy to install it on your testing machine and require the same user name and password as on the hosting instance of MySQL.  That is the way I do it.

Walt

B & B Photography

wycksAuthor
Inspiring
November 4, 2010

figured it out.

can't believe it was this easy

Participating Frequently
November 4, 2010

Did you end up installing MySQL?