Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

database username/password

Explorer ,
Nov 03, 2010 Nov 03, 2010

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.

TOPICS
Server side applications
600
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Nov 03, 2010 Nov 03, 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

Translate
Participant ,
Nov 03, 2010 Nov 03, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 04, 2010 Nov 04, 2010

figured it out.

can't believe it was this easy

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 04, 2010 Nov 04, 2010
LATEST

Did you end up installing MySQL?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines