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

database username/password

Explorer ,
Nov 03, 2010 Nov 03, 2010

Copy link to clipboard

Copied

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

Views

515
Translate

Report

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

Votes

Translate
Participant ,
Nov 03, 2010 Nov 03, 2010

Copy link to clipboard

Copied

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

Votes

Translate

Report

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

Copy link to clipboard

Copied

figured it out.

can't believe it was this easy

Votes

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Did you end up installing MySQL?

Votes

Translate

Report

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