Skip to main content
June 5, 2008
Answered

CS3 database connection to server

  • June 5, 2008
  • 3 replies
  • 659 views
I've just created my first database driven website - it works perfect on my local testing server . . . I've uploaded the files and database to my remote server and nothing works. I've made sure my database name and user name is the same . . . oh please can someone direct me?
This topic has been closed for replies.
Correct answer
Horray - I figured it out - I double checked my user name and password in the "connection" php file that DW created - It didn't match what my server had.

Thanks!

Deborah

3 replies

Correct answer
June 6, 2008
Horray - I figured it out - I double checked my user name and password in the "connection" php file that DW created - It didn't match what my server had.

Thanks!

Deborah
Inspiring
June 5, 2008
Some host amend the Db name and the username with the hosting account
username like this:
username: username_user
database: username_DbName

look in host FAQ, or at phpMyAdmin to see the name convention.

Jeff

"Dooza" <doozadooza@gmail.com> wrote in message
news:g287l9$jj5$1@forums.macromedia.com...
> yosemitelover wrote:
>> I've just created my first database driven website - it works perfect on
>> my local testing server . . . I've uploaded the files and database to my
>> remote server and nothing works. I've made sure my database name and user
>> name is the same . . . oh please can someone direct me?
>>
>
> Got a link? That way we can see what the error message is.
>
> Steve


June 5, 2008
The name and username of my database are the same on my testing & remote server. I made sure they matched
Inspiring
June 5, 2008
yosemitelover wrote:
> I've just created my first database driven website - it works perfect on my
> local testing server . . . I've uploaded the files and database to my remote
> server and nothing works. I've made sure my database name and user name is the
> same . . . oh please can someone direct me?
>

Got a link? That way we can see what the error message is.

Steve
Inspiring
June 5, 2008
Oops sorry, hit send too quick.

Try adding this to the top of your php page:

<?php

error_reporting(E_ALL);

?>

If that does not work try this:

<?php

ini_set('error_reporting', E_ALL);

?>

--
Ken Ford
Adobe Community Expert - Dreamweaver/ColdFusion
Fordwebs, LLC
http://www.fordwebs.com


"Ken Ford" <newsgroups1@fordwebs.com> wrote in message news:g28nrs$6dj$1@forums.macromedia.com...
> If it is PHP your web host probably has error display turned off and you can't see the error.
>
> --
> Ken Ford
> Adobe Community Expert - Dreamweaver/ColdFusion
> Fordwebs, LLC
> http://www.fordwebs.com
>
>
> "yosemitelover" <webforumsuser@macromedia.com> wrote in message news:g28nbf$5t4$1@forums.macromedia.com...
>> There is no error message, just a blank screen. I'm beating my head against the
>> wall! The webhosting people think it's my code . . . but if it works on my
>> testing server how can that be? What about the connection I created in DW? It's
>> pointing to "localhost" - if my remote server has me place files in their
>> /html/ folder, should my connection be localhost/html?
>>
Inspiring
June 5, 2008
Yes the Connections folder needs to be uploaded to the root of the web site, that is the file that is used to connect to the
database.

Might want to ask your host how to turn on error display temporarily, and then turn it back off.

--
Ken Ford
Adobe Community Expert - Dreamweaver/ColdFusion
Fordwebs, LLC
http://www.fordwebs.com


"yosemitelover" <webforumsuser@macromedia.com> wrote in message news:g28p6u$7qr$1@forums.macromedia.com...
> sorry, that didn't work - still a blank screen. This is my first attempt to
> create this type of website and my first time using DW (but worked with GoLive
> for 10 years) - anyway, what about the "connections" folder that DW created.
> Should that be placed on my server's root or /html folder?
>