Skip to main content
July 27, 2010
Question

Database connection problem..

  • July 27, 2010
  • 1 reply
  • 1031 views

     Hi,

Just downloaded dreamweawer to try it out with PHP/MySQL. Setting up a test server connection through FTP worked fine but when I try to connect to my MySQL database located on the same remote server as the webserver I get access denied when trying to select a database during the configuration of the connection. I am using other tools accessing the same database server with the same user and password without any problem. What could be the problem in dreamweawer?

Rgds

Mats

This topic has been closed for replies.

1 reply

BenPleysier
Community Expert
Community Expert
July 29, 2010

Hi Mats

blimat wrote:

     Hi,

Just downloaded dreamweawer to try it out with PHP/MySQL. Setting up a test server connection through FTP worked fine but when I try to connect to my MySQL database located on the same remote server as the webserver I get access denied when trying to select a database during the configuration of the connection. I am using other tools accessing the same database server with the same user and password without any problem. What could be the problem in dreamweawer?

Rgds

Mats

I don't think this a DW problem but a cross domain security problem. From my limited knowledge I am led to believe that data cannot be used outside of the domain that the data files reside in.

I hope this helps.

Ben

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
July 29, 2010

Hi,

Thanks for answering. I followed this tutorial:

http://www.adobe.com/devnet/dreamweaver/articles/setup_php_07.html

and when I came to database connection it actually did work (and then I connected to my remote database and not to a local as it says in the tutorial). In the tutorial it says something about "You must               have a PHP page open in the Document window to create a MySQL connection". I thought I did when I tried on my own but perhaps there is something else too. Anyway now I know that it can work so I will figure it out.

/Mats

Inspiring
January 14, 2013

The link is broken in the article referred to above.