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.
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
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
Copy link to clipboard
Copied
figured it out.
can't believe it was this easy
Copy link to clipboard
Copied
Did you end up installing MySQL?