Skip to main content
Known Participant
September 4, 2007
Question

connecting web pages to a database

  • September 4, 2007
  • 15 replies
  • 1012 views
I have a book about "PHP WEB DEVELOPMENT WITH DREAMWEAVER MX 2004" Well I followed instructions to "connecting web pages to a database" but when I press "test" in the "MySQL Connection dialog box" a message that can not connect appears "An unidentified error has occurred." , well ?
This topic has been closed for replies.

15 replies

Inspiring
September 5, 2007
123polis123 wrote:
> "Connection name" given from dreamweaver or from....? In which point exactly(dialogbox) in given ?

It's the name that YOU decide to give the connection, so that you can
select the correct connection when using Dreamweaver server behaviors.

Before you can use Dreamweaver server behaviors, you need to define a
MySQL Connection.

The instructions for creating the MySQL Connection are on pages 157-159
of the book that you're using. Figure 5-1 shows the Connection name as
Apress. You can use anything you like: myConnection, uncleGeorge,
sweetheart... It doesn't matter what you choose. It's YOUR decision.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Known Participant
September 5, 2007
"Connection name" given from dreamweaver or from....? In which point exactly(dialogbox) in given ?
Inspiring
September 5, 2007
123polis123 wrote:
> Where/how I find this "Connection name" ?

Connection name is whatever you want to call it. A lot of people use
conn followed by the name of the website. For example: connMySite.

>As "MySQL Server" what to insert , insert: "localhost", what means ? Where/how I find this "MySQL Server" ?

The value of MySQL Server is the server address. In 95% of all cases,
it's localhost, which simply means that MySQL is on the same computer as
the webserver. If MySQL is on a different server, you need to get the
server address from your hosting company.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Known Participant
September 5, 2007
Where/how I find this "Connection name" ? As "MySQL Server" what to insert , insert: "localhost", what means ? Where/how I find this "MySQL Server" ?
Inspiring
September 4, 2007
Could be any one of about 500 reasons..........

Without more information it is impossible for anyone here to offer accurate
advice. The best you will get is a stab in the dark.


"123polis123" <webforumsuser@macromedia.com> wrote in message
news:fbji6f$6sf$1@forums.macromedia.com...
>I have a book about "PHP WEB DEVELOPMENT WITH DREAMWEAVER MX 2004" Well I
> followed instructions to "connecting web pages to a database" but when I
> press
> "test" in the "MySQL Connection dialog box" a message that can not connect
> appears "An unidentified error has occurred." , well ?
>


Known Participant
September 4, 2007
"MySQL Connection dialog box" has a field "Connection name", where I define/find this to phpMyAdmin ? As "MySQL Server" what to insert , localhost what means ?