The string that needs to be replaced is probably in the application.cfm or application.cfc page.
If you send us a copy of the <cfquery> that creates the 'rs_christmas" query, we can help you find out where it is. Also, just to be sure, do you have MySql loaded on your local mac, or is it hosted with GoDaddy? William On Mar 10, 2008, at 2:10 PM, Daniel M. N. wrote: > I am new to coldfusion. using a video lesson from total training i > learned > how to use dreamweaver / coldfusion and MySQL database driven site. > i use a > mac, and my webpage works beautifully on my computer (locally). the > problem > is when i try to upload the site at godaddy, it gives me an error > message > (database not found). i called customer rep, no one know how to help. > > the real problem: i have my datbase, i have everything set up, the > problem > is the index.cfm file can't access the database the way it does on my > computer. they said i have to change the string and let the file > know where > the data is. i don't know where to put the string on my 'index.cfm' > file. > please help... i have a simple one page site that accesses a database > created by MySQL 5.0. > > this is the HTML to access the database on my computer. > > i created an image placeholder, and i want the source of the image > to be the > 'large_photo_source' from my database. > > <div align="center"><cfoutput query="rs_christmas" > startRow="#StartRow_rs_christmas#" > maxRows="#MaxRows_rs_christmas#"><img > src="#rs_christmas.large_photo_source#" > alt="#rs_christmas.large_photo_description#" name="christmas" > class="image" > id="christmas" /> > <div align="center"> > > i have a record set called rs_christmas, and the database > (spaceexpressions) > has one table called 'christmasphotos'. the table has three fields - > 'photo_id' 'large_photo_description' and 'large_photo_source'. it > should be > simple, but i am stuck. > > someone said i have to have the database string from the hosting > company - > godaddy. i got the string, but don't know where to put it. the > index.cfm > file doesn't say where to find the database, the table... > > HELP will be highly greatly appreciated! > > Hagereseb > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300901 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

