'unidentified error' when connecting PHP/MySQL

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default 'unidentified error' when connecting PHP/MySQL

    Hello,

    I've been following the Dreamweaver article instructions for setting up PHP,
    MySQL and Apache on Mac OS X for Dreamweaver. Everything went well until the
    time to make the MySQL connection in Dreamweaver--when I click on the select
    button for the database, I get an error message:
    "An unidentified error has occured."

    I'm new at this so it may be that there's an easy answer out there. From
    searching the web for a solution, it looks like a lot of people are having
    similar problems with this. I've tried many different solutions from past
    postings but unfortunately none of them worked for me. I've also read through
    the Dreamweaver Technote #16515 (Unidentified error occurs when testing
    PHP/MySQL connection) and followed the steps there. I got stuck on this step:
    "Verify that the connection scripts are up on the server"
    When I opened up the http:/myserver/mysite/_mmServerScripts/MMHTTPDB.php on
    the webserver, it came up blank. How do I get it to work correctly? Is this
    what's causing the "unidentified error" problem?

    I'm running:
    MAC OS X 10.4.2
    Dreamweaver 6.1
    MySQL 4.0.21
    PHP 5.0.4

    I've been stuck on this problem for 3 days now. I would greatly appreciate
    any help.

    Thanks in advance!
    ami

    amihk Guest

  2. Similar Questions and Discussions

    1. Testing MySQL connection *UNIDENTIFIED ERROR*
      Hi All, I know other people have had this same problem as me, even after reading...
    2. Error Connecting ColdFusion to MySQL
      Good-day, This few days, I'm facing difficulty to connect my CF to MySQL Server by using CF Administrator Page. I keep prompt out error stated...
    3. Error Message in Connecting to MySQL DB
      I'm still having trouble making the connection. I went to your link but still no luck. I installed the MySql connector in the proper lib location...
    4. php mysql connection "unidentified error"
      windows xp pro SP2, IIS 5, MySQL 4.1, PHP 5, DWMX 04, I am new to Mysql and php, i've used asp in the past. I am trying to setup an application...
    5. PHP/MySQL connection unidentified??
      Hi, I have successfully set up MySQL and PHP (thanks to those who helped!) but now i am having trouble connecting dreamweaver to the database. I...
  3. #2

    Default Re: 'unidentified error' when connecting PHP/MySQL

    oops, I viewed the wrong MMHTTPDB.php file when verifying the connection
    scripts. I've now opened the correct MMHTTPDB.php file but it did not contain
    the 2 lines:
    "Notice: Undefined index: Type in
    c:\inetpub\wwwroot\mysite\_mmServerScripts\MMHTTPD B.php on line 13 "
    "Notice: Undefined variable: oConn in
    c:\inetpub\wwwroot\mysite\_mmServerScripts\MMHTTPD B.php on line 20"

    mentioned in the macromedia technote
    ([url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_16515[/url]).
    So I'm still totally stuck... help, please, somebody! Thank you.


    amihk Guest

  4. #3

    Default Re: 'unidentified error' when connecting PHP/MySQL

    I am experiencing the same behavior on my end. I have php/mySQL running on the same box locally so their shouldn't be a port issue because the address is localhost.

    My username and password are fine.. but whenever I get a connect, I get this dialog. So annoying, because there is nothing wrong.

    I tried changing my site to Testing Server to see if that would help..Nothing..
    John Drefahl is offline Junior Member
    Join Date
    Aug 2011
    Posts
    1

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139