MySQL Error!

MySQL Error!
The Error returned was:
Data too long for column 'useragent' at row 1
Error Number:
1406

The SQL query that you quote is garbage. At best it looks like the where clause of a select statement. From what you describe, it sounds like phpmyadmin has some issues, since that's probably the program issuing the SQL statement(s).
I have little MySQL experience and no php experience, so I can't get into more detail.
Roger

Similar Messages

  • Dreamweaver CS5 mysql error

    Hi Im using the new Dreamweaver CS5, apache and php that the in the mac and mysql and I find a problem trying to make a connection in dreamweaver to the database the error is:
    MySQL Error: # 2002
    no such file or directory
    does anyone knows what could happening?

    Thanks for your time Ken and I have uninstalled and reinstalled but its still the same.  The only thing I can think of is I installed zone alarm and since then its not work.

  • [Help] Replace MySQL error message

    In insert form, I want to post a especial error message, instead of mysql_error
    here an example:
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "insert_form")) {
      $insertSQL = sprintf("INSERT INTO stuff (title, numbers) VALUES (%s, %s)",
                           GetSQLValueString($_POST['titla'], "text"),
                           GetSQLValueString($_POST['numbers'], "int") );
      mysql_select_db($database_connection, $connection);
      $Result1 = mysql_query($insertSQL, $connection) or die(mysql_error());
    cause i get an error like cannot be null
    Thanks.
    [Subject line edited by moderator to make it more meaningful]

    If you want to replace the MySQL error message, you can put your own error message in quotes in the die() command. Change this:
    $Result1 = mysql_query($insertSQL, $connection) or die(mysql_error());
    to this:
    $Result1 = mysql_query($insertSQL, $connection) or die('Database error');
    However, that's not very helpful to a user, because all that will be displayed is "Database error" with no indication of what caused the error or any way of returning to the page, except by using the browser back button.
    A better way of handling things is to remove the or die(mysql_error()) section of code altogether and replace it with a PHP conditional statement that sends the user to an error page if the SQL fails for any reason. However, making these changes will prevent you from making further edits to the server behavior through the Server Behaviors panel.
    $Result1 = mysql_query($insertSQL, $connection);
    if (!$Result1) {
      $insertGoTo = 'error.php';
    } else {
      $insertGoTo = 'another_page.php' // <-- this is the original $insertGoTo line

  • MySQL error (2002) in Windows

    I'm using Dreamweaver 9 in Windows with a Apache, PHP5 and
    MySQL4.1. My webserver works fine. But Dreamweaver can't create
    database connection to MySQL. It gives me a MySQL error 2002 and
    referes to that /tmp/mysql.sock is missing.
    What should I do to get this to work? Am I missing something
    here? MySQL Query tool etc all work fine. But Dreamweaver can't
    connect to MySQL for some reason.

    chunkeung wrote:
    > When I login into
    > PHPMyAdmin I see that the Server is "Localhost via UNIX
    socket" so I put that
    > into my setting in dreamweaver for the "MySQL server"
    but on the hosting that
    > giving me that #2002 error message their Server is
    "127.0.0.1 via TCP/IP" and I
    > tried to put in 127.0.0.1 instead of localhost but it
    still doesn't work and
    > gives me this error message.
    localhost and 127.0.0.1 are the same thing. All you need is
    "localhost"
    or "127.0.0.1" (without the quotes). The "via UNIX socket"
    and "via
    TCP/IP" are simply descriptions of the type of connection.
    They are NOT
    part of the server address.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • MySQL Error#: 2002 Dreamweaver CS5

    HI
    Never had this problum before so not sure why now.  
    MySQL Error#:2002
    A connection attempt faild because the connected party did not properly respond after a period of time, or established connection faild because connected host has failed to respond
    Any help please?

    Thanks for your time Ken and I have uninstalled and reinstalled but its still the same.  The only thing I can think of is I installed zone alarm and since then its not work.

  • How do I resolve mysql error 1129 in dreamweaver?

    I have setup a database on my server and was trying to make connection using dreamweaver but I can across this error mysql error 1129. How do I resolve this?

    If your Host is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

  • Mysql error / install problems

    after following the wiki entry: LAMP
    I get error:
    $ mysql
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
    I'm out of luck here, does anyone have suggestions for where to look?
    .murkus

    How do you try to connect? Seems root is not allowed to connect from host "localhost" without the passwd..
    This fails:
    mysql -u root
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
    But this does well:
    mysql -u root -p
    Enter password:
    Welcome to the MySQL monitor. Commands end with ; or g.
    Your MySQL connection id is 2 to server version: 4.1.14
    Type 'help;' or 'h' for help. Type 'c' to clear the buffer.
    mysql>

  • When connecting to a database, dreamweaver gives the error message [MySQL Error

    When I try to connect my MySQL database into dreamweaver, I insert all of the information (name, server, username, password), and when i click on select database, it reads:
    MySQL Error#:1045
    Access denied for user 'mresnik_mresnik'@'192.185.5.169' (using password: YES)
    I am 100% sure that The details entered including username and password are correct, as I have contacted hostgator.com and they have stated that they can connect, and they advised that it may be an issue with either my files or dreamweaver.
    Any help would be very much appreciated.

    Login.php code:
    <?php require_once('Connections/drama_database.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    ?>
    <?php
    // *** Validate request to login to this site.
    if (!isset($_SESSION)) {
      session_start();
    $loginFormAction = $_SERVER['PHP_SELF'];
    if (isset($_GET['accesscheck'])) {
      $_SESSION['PrevUrl'] = $_GET['accesscheck'];
    if (isset($_POST['UserName'])) {
      $loginUsername=$_POST['UserName'];
      $password=$_POST['Password'];
      $MM_fldUserAuthorization = "userlevel";
      $MM_redirectLoginSuccess = "home.php";
      $MM_redirectLoginFailed = "loginfail.php";
      $MM_redirecttoReferrer = false;
      mysql_select_db($database_drama_database, $drama_database);
      $LoginRS__query=sprintf("SELECT username, password, userlevel FROM users WHERE username=%s AND password=%s",
      GetSQLValueString($loginUsername, "text"), GetSQLValueString($password, "text"));
      $LoginRS = mysql_query($LoginRS__query, $drama_database) or die(mysql_error());
      $loginFoundUser = mysql_num_rows($LoginRS);
      if ($loginFoundUser) {
        $loginStrGroup  = mysql_result($LoginRS,0,'userlevel');
        if (PHP_VERSION >= 5.1) {session_regenerate_id(true);} else {session_regenerate_id();}
        //declare two session variables and assign them
        $_SESSION['MM_Username'] = $loginUsername;
        $_SESSION['MM_UserGroup'] = $loginStrGroup;         
        if (isset($_SESSION['PrevUrl']) && false) {
          $MM_redirectLoginSuccess = $_SESSION['PrevUrl'];   
        header("Location: " . $MM_redirectLoginSuccess );
      else {
        header("Location: ". $MM_redirectLoginFailed );
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;  
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    ?>
    <html>
    <title>Drama Database - Login</title>
    <head>
        <link href="images/favicon.ico" rel="icon" />
    </head>
    </html>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <form ACTION="<?php echo $loginFormAction; ?>" id="loginform" name="loginform" method="POST">
    <!--visual -->
    <br>
    <br>
    <br>
    <div align="center">
      <!--ACS Logo -->
      <img src="images/logo_acs_egham.gif" width="387" height="59" /><br>
    <!--Drama Logo -->
    <br>
    <img src="images/bglogin.jpg" alt="Acs-Egham International School" width="246" height="153">
    <br>
    <!--Title -->
    <h2>Drama Database Login</h2>
    </center>
      </div>
      <table width="154" border="0" align="center">
        <tr>
          <td width="148">Username:<br />
            <span id="sprytextfield1">
            <label for="UserName"></label>
            <input type="text" name="UserName" id="UserName" />
          <span class="textfieldRequiredMsg">A value is required.</span></span></td>
        </tr>
        <tr>
          <td> </td>
        </tr>
        <tr>
          <td>Password:<span id="sprytextfield2"><br />
            <label for="Password"></label>
            <input type="password" name="Password" id="Password" />
          <span class="textfieldRequiredMsg">A value is required.</span></span></td>
        </tr>
        <tr>
          <td> </td>
        </tr>
        <tr>
          <td align="center"><input type="submit" name="LoginButton" id="LoginButton" value="Login" /></td>
        </tr>
        <tr>
          <td> </td>
        </tr>
      </table>
    </form>
    <script type="text/javascript">
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
    </script>

  • MySQL error 2002: No Such File or Directory in DW CS6

    OK, I've obviously configured something wrong in MYSQL or Dreamweaver, but despite exhaustive research, I can't connect to my database and I can't find a solution online.
    I'm running a Windows 7 Pro system. I installed PHP/MySQL/Apache all at once with a package called WAMPSERVER.
    The DB appears to be running properly. I am able to connect to it and make changes using my phpmyadmin. But no matter what configuration I try, I'm unable to get Dreamweaver CS6 to connect. As this is the same error I get when MYSQL is not working at all, I can surmise that Dreamweaver can't find my database, so what have I missed? Is my testing servr set up improperly? I don't see a lot of options here to do things differently.
    Can anyone offer any suggestions. Is there any other information I need to provide?

    Hi atomec,
    In the time that the experts get back to you, can you have a look at this post? http://stackoverflow.com/questions/10426501/how-to-solve-the-xampp-1-7-7-phpmyadmin-mysql- error-2002-in-ubuntu
    Thanks,
    Preran

  • MySQL Error 2002 when attempting to make a MySQL Connection

    I'm trying to make a MySQL Connection and I've got my Staging/Testing Server setup as FTP with the proper host, username and password for FTP, root directory set to '/' (without the quotation marks) and Web URL set to http://www.mysite.com/
    Tested the FTP and it connects.
    For mySQL connection in my bindings, I'm using:
    Connection Name; connRecords
    MySQL Server: localhost
    Username and then my Password for my DB which obviously I won't list here.
    I click Select Database and that's when I get the prompt:
    MySQL Error: #2002
    Can't connect to local MySQL Server through socket '/tmp/mysql.sock' (2)
    What does that mean and how do I get this to work?

    ladobeugm wrote:
    I click Select Database and that's when I get the prompt:
    MySQL Error: #2002
    Can't connect to local MySQL Server through socket '/tmp/mysql.sock' (2)
    What does that mean and how do I get this to work?
    On a Mac, connection to MySQL is done through a socket (mysql.sock). The fact that there's a (2) after mysql.sock indicates there's something wrong with the socket. Usually, you can clear the problem by powering down your computer and then restarting. Don't just do a restart. Make sure the computer switches off completely to clear the socket.

  • OT: MySQL Error #1064

    I used phpMyAdmin to insert several new rows in a database
    table, then I
    suddenly hit a brick wall with this error message:
    MySQL said:
    #1064 - You have an error in your SQL syntax; check the
    manual that
    corresponds to your MySQL server version for the right syntax
    to use
    near '(`Key2`, `ID`, `Site2`, `Articles`, `Contents`,
    `Links`) VALUES
    ('19', 'China'' at line 1
    I think this is the same error message I used to get on my PC
    every now
    and then. It doesn't offer any clues as to the nature of the
    problem,
    and it isn't easy to track down via Google.
    I think I either fixed it or found a workaround once before,
    but I can't
    recall the solution. I don't know if it was a related problem
    or
    something entirely different, but I think I recall a
    situation where my
    database table's cardinality was limited to a certain number,
    and it
    wouldn't allow me to insert any additional rows for some
    reason. But I
    don't know if that's the problem in this case or not.
    Does anyone have any suggestions?

    David Powers wrote:
    > David Blomstrom wrote:
    >> I used phpMyAdmin to insert several new rows in a
    database table, then
    >> I suddenly hit a brick wall with this error message:
    >>
    >> MySQL said:
    >> #1064 - You have an error in your SQL syntax; check
    the manual that
    >> corresponds to your MySQL server version for the
    right syntax to use
    >> near '(`Key2`, `ID`, `Site2`, `Articles`,
    `Contents`, `Links`) VALUES
    >> ('19', 'China'' at line 1
    >>
    >> I think this is the same error message I used to get
    on my PC every
    >> now and then. It doesn't offer any clues as to the
    nature of the problem,
    >
    > The error message has nothing to do with PC or Mac. It's
    a MySQL error
    > message, and it's very precise. It not only tells you
    that you have a
    > syntax error in your SQL query; it tells you exactly
    where the error is:
    > near '(`Key2`, `ID`,...'
    >
    > In other words, the syntax error immediately precedes
    (`Key2`, `ID`,...
    >
    > You need to examine the SQL itself to determine the
    nature of the syntax
    > error.
    >
    Thanks for the tip, though I'm still confused. I simply used
    phpMyAdmin
    to insert a new row, then began by typing "19" into the first
    available
    space. There is nothing before that. I don't know how to
    examine the
    "SQL itself," as there is none that I'm aware of.
    I simply inserted a few values, as I had done on several
    previous
    occasions. I then experimented by NOT inserting certain
    values and by
    inserting different values, but nothing worked.
    I tracked "1064" through Google, and the problems appear to
    be all over
    the map. One guy said his database table was too big, and he
    solved the
    problem by breaking it up into several smaller tables.
    At any rate, I finally created a new table and imported a CSV
    file that
    automatically filled a few fields for several hundred rows.
    That
    automatically created the rows I need, and I was then able to
    insert
    articles where needed.
    Thanks.

  • Homebrew mysql error in /var/log/system.log

    I'm using homebrew version 0.9. I'm getting the following mysql error in /var/log/system.log:
    Jun  9 15:37:21 com.apple.launchd.peruser.501[
    215]
    (homebrew.mxcl.mysql[990]): posix_spawn("/usr/local/bin/mysqld_safe",
    ...): No such file or directory
    Jun  9 15:37:21 com.apple.launchd.peruser.501[215]
    (homebrew.mxcl.mysql[990]): Exited with code: 1
    Jun  9 15:37:21 com.apple.launchd.peruser.501[215]
    (homebrew.mxcl.mysql): Throttling respawn: Will start in 10 seconds
    I have since deleted mysql (sudo brew remove mysql) and rebooted the
    computer and still getting this error.
    Can anyone please tell me how to fix these issues.
    Thanks.

    Look in each of the following directories for an item with "mysql" in the name, delete it, and reboot:
    ~/Library/LaunchAgents
    /Library/LaunchAgents
    /Library/LaunchDaemons

  • MySql Connection window-----says MySql Error#1045

    I have made a db on my server (hostgator) and I have connected to the db through phpmyadmin. I am trying to connect to MySql through dreamweaver so I can make the index.php file and create some forms and tables so I can link my php file to my db. I can make a connection with the host as I have already uploaded some files there. When I go to the databases section in the control panel and I go to add new connection I have tried everything to get it too connect. I get an error of MySql Error#1045 Acess denied for user 'XXX@localhost' (using password "YES") Please help hours have gone by:(

    Well I know this is probably NOT going to help but here is what I've learned so far:
    1. It happens with most all the sites using cPanel as control panel.
    2. Some thimes this is caused cause in the cPanel, right next to PhP MyAdmin there is a box called remote mysql, you need to be sure that your ip addy is there so you can connect remotely.
    3. if you can connect through the mysql gui, then you are free to connect trhough DW... However sometime (most of the times lately) that wont work...
    try what i said and i'll keep on checking why this is happening... btw i've asked suppont on four differente hositngs, and cpanel itself.
    Vampmaster.

  • MySQL Error#: 1045 Not Explained

    I have had this error, and found a zillion posts on the web
    asking for a solution, and never found a solution. But I've kind of
    figured out what's going on and I'd like to know exactly how and
    why it does what it does.
    I have a Linux box lemon running MySQL, and a Windows XP
    client orange. From orange I can connect using mysql command line
    client (mysql -u root -p -h lemon mydatabase). I can also connect
    using ODBC (by creating an ODBC connection in Control Panel and
    testing the connection).
    When I try to connect to lemon/root/password in Dreamweaver
    CS3 by creating a MySQL Connection it fails with...
    MySQL Error#: 1045
    Access denied for user root@lemon (using password:YES)
    (This is what a ton of posts complain about with lame
    responses like - you got the password wrong).
    So what I discover is that in Dreamweaver I have to set up
    the connection using localhost instead of lemon. (NOTE: Dreamweaver
    is running on orange - not lemon, where the MySQL server is
    running!)
    So I wonder - what the!!! The database is not on localhost.
    So I fiddle a bit and find that if I go into Manage Sites and
    change the name of the FTP host under Testing Server that the
    connection to localhost breaks - so somehow the MySQL connection is
    being made using the FTP host.
    How is Dreamweaver making a MySQL connection using lemon as
    the FTP server and localhost (orange) as the MySQL server, when it
    is lemon that is the MySQL server???

    .oO(nevdelap)
    >I have had this error, and found a zillion posts on the
    web asking for a
    >solution, and never found a solution. But I've kind of
    figured out what's going
    >on and I'd like to know exactly how and why it does what
    it does.
    >
    > I have a Linux box lemon running MySQL, and a Windows XP
    client orange. From
    >orange I can connect using mysql command line client
    (mysql -u root -p -h lemon
    >mydatabase). I can also connect using ODBC (by creating
    an ODBC connection in
    >Control Panel and testing the connection).
    You know that working on a DB as root is a bad idea? You
    should create a
    normal account for the daily work and login as root only for
    maintenance
    or configuration stuff.
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16575#userAccount
    > When I try to connect to lemon/root/password in
    Dreamweaver CS3 by creating a
    >MySQL Connection it fails with...
    >
    > MySQL Error#: 1045
    > Access denied for user root@lemon (using password:YES)
    >
    > (This is what a ton of posts complain about with lame
    responses like - you got
    >the password wrong).
    >
    > So what I discover is that in Dreamweaver I have to set
    up the connection
    >using localhost instead of lemon. (NOTE: Dreamweaver is
    running on orange - not
    >lemon, where the MySQL server is running!)
    >
    > So I wonder - what the!!! The database is not on
    localhost.
    Every machine is a localhost from its own point of view.
    Since the DB
    and probably your scripts both run on lemon, from their point
    of view
    that machine is the localhost and PHP has to open a
    connection to
    'localhost' in order to connect to the DB. This is the most
    common setup
    if PHP and MySQL run on the same machine.
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16575#dbconn
    But one thing confuses me. You said you can connect from your
    Windows
    box, using the command line:
    mysql -uroot -p -hlemon mydatabase
    Does the same command also work if invoked directly on the
    Linux box or
    does it cause an "Access denied"?
    > So I fiddle a bit and find that if I go into Manage
    Sites and change the name
    >of the FTP host under Testing Server that the connection
    to localhost breaks -
    >so somehow the MySQL connection is being made using the
    FTP host.
    >
    > How is Dreamweaver making a MySQL connection using lemon
    as the FTP server and
    >localhost (orange) as the MySQL server, when it is lemon
    that is the MySQL
    >server???
    FTP is used to transfer the scripts to the server.
    Micha

  • Dreamweaver 8 bindings - to MySQL, error code 500

    Hello!
    Well, I've spent five days searching online forums, and a few
    posts come close to my problem, but not getting any clues to a
    solution. I hope one of the resident experts or members could shed
    some light...
    Windows XP
    Dreamweaver 8.0.2 (just upgraded - same problem)
    - Used setup-v1.17-apache-2.2.2-win32.exe for setup - from
    devside.net PHP 5.2.0-dev MySQL 4.1.7 (installed new after package.
    Have two instances of mysql on my system - one active, one in
    manual-inactive)
    - All was going well until trying to establish bindings in
    Dreamweaver. PHP is up and running. MySQL loaded, and database
    connection fine. Bindings gets the error... "HTTP Error Code 500
    Internal Server Error"
    Just getting back to it... Again, thank you for your help!
    Dreamweaver 8 has support for PHP 5. Version I'm using is
    5.2.0. MX specifies versions 4.x and above are required. I'll have
    to research if the support cuts off at 5.0.
    My Connections file: conn_newland.php (I'm following the book
    tutorial):
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_conn_newland = "localhost";
    $database_conn_newland = "newland_tours";
    $username_conn_newland = "root";
    $password_conn_newland = "";
    $conn_newland = mysql_pconnect($hostname_conn_newland,
    $username_conn_newland, $password_conn_newland) or
    die(mysql_error());
    $Recordset1 = mysql_query("SHOW variables", $Connection1);
    echo "<table border=1 width=100%>";
    while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)) {
    echo
    "<tr><td>".$row_Recordset1['Variable_name']."</td><td>".$row_Recordset1['Value']."</td></ tr>";
    echo "</table>";
    ?>
    Recordset parameters I entered in bindings:
    Name: rs_journal
    Connection: conn_newland
    Table: tbl_journal
    Columns: Selected - journalID, journal_entry
    Filter: none
    Sort: journalID Descending
    Clicking Test gives: "HTTP Error Code 500 Internal Server
    Error"
    By the way, the reason I didn't specify a password in "root'
    is that I had a problem before that I didn't know enough to
    overcome, so had to reinstall MySQL. However, the same error occurs
    if I specify another user name and password (previously set up).
    7:30 pm -
    Adding to this post...
    I found the following at
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16515.
    However, it appears it may be referring only to Dreamweaver MX 2004
    on Mac OS X. I have Dreamweaver 8 on Windows XP:
    Verify that the connection scripts are up on the server
    This section is related to the section above. In a web
    browser, browse to the URL prefix you have defined in the Testing
    Server category of the site definition and add
    /_mmServerScripts/MMHTTPDB.php. For example:
    http:/myserver/mysite/_mmServerScripts/MMHTTPDB.php. If things are
    working correctly, you should see something like the following text
    returned in the web browser:
    Notice: Undefined index: Type in
    c:\inetpub\wwwroot\mysite\_mmServerScripts\MMHTTPDB.php on line 13
    Notice: Undefined variable: oConn in
    c:\inetpub\wwwroot\mysite\_mmServerScripts\MMHTTPDB.php on line 20
    When I go to the file above, this is the message I receive
    (only thing that appears):
    The files from the _mmServerScripts folder are for the server
    model PHP-MySQL. You try to connect to a database using a different
    server model . Please remove this folder outside the Dreamweaver
    environment on both local and testing machines and try again.\n
    Is there a hint here of what the problem is? I need some help
    in possible interpretations.
    Previous attempts made to solve:
    - re-installed MySQL with mysql-5.0.24-win32.zip in
    recommended directory (outside the www directory). I now have two
    instances of MySQL on my local server - one set to automatic
    loading and the other manual (switched off)
    - one post suggested problem might be with ODBC - installed
    SQL ODBC with mysql-connector-odbc-3.51.12-win32.msi. However, I
    don't have a clue as to whether it's connected to anything...
    - successfully connected to SQL database through root without
    password and specific logon and password. No difference.
    - other posts suggest problem could reside in php.ini,
    htaccess, my.ini (SQL). I know where to find them, but don't have
    an understanding of what parameters to shift, if any. One post
    suggested a port problem, and I did see a port problem, presently
    set to 3306.
    From what I've been able to gather, this has been recognized
    as an issue before, but there doesn't seem to be any documentation
    online (or at least what I've been able to find) dealing with this.
    And any mention of the problem that I've seen references
    Dreamweaver MX, not 8, although I don't think the version
    difference is a significant issue.
    This error must be relatively rare, or I'd see more out there
    about it. Still, I hope that at least one of the community experts
    may have come across it.
    Will be waiting with bated breath -- at least for a few
    days...
    Thanks!
    Joe

    Hello,
    I have also had the same error - namely that whilst I could connect via ftp, upload/download files, and view database tables, any attempt to view of modify recordsets resulted in error 500.
    Having checked other potential causes (e.g. selection/non-selection use of passive FTP setting, enabling of php, etc.), on the back of posts here I contacted my host and asked if if could relate to mod security, as further investigation revealed that the issue only occurred on sites where mod security had not been disabled (I don't like to disable mod security for obvious reasons - and I'm told you can't do that site by site with apache2 anyway).
    After a few false starts, the problem was resolved - with the following response from my host: "The false positives were being generated by "/_mmServerScripts/MMHTTPDB.php" and that is what we've worked around in the rules. As such, any domain on [servername] using that script in the same way shouldn't generate a false-positive moving forward."
    So it seems the answer (assuming your on an apache server of course) may be to modify the rules to allow full access for MMHTTPDB.php.
    I hope that is of help to some.

Maybe you are looking for

  • Open document opens new Window in IE which is in front, then back, front

    Hello we have here the following Situation. We have a big XI 3.1 Business Objects Platform running. Also we have in our company net a portal in which the users can open reports from our BO platform. This is done by usercustomized open document urls.

  • Rg: Issues in Purchase order workflow.

    Hi All, I need to configure my workflow for purchase order to recive mail(SAP Inbox). These are the configuration I hvae done but still i am unable to recive mail. 1. Created Characteristic. 2. Created Class. 3. Created Release group, Approval is 2 l

  • Adobe only prints first page of multi-page PDF documents.

    On a military network,  ever since users have been upgraded to Adobe Pro 9,  only the first page of their multi-page documents will print from a particular network printer. The OS is Windows XP. Adobe Pro version is 9.1.2 Network printer is a Xerox P

  • Auto Batch Determination For Stock Transport Order/Replenishment Delivery

    All, I have an issue with my stock replenishment deliveries (STPO, Stock Transfer Plant to Plant via standard MRP/Procurement process with a Purchase Order that is a Stock Transport Order). One question I have is what module should the configuration

  • How to post an audio file in JSP or servlet

    Hi, I've loaded some rm files into the database. How do I retrieve and post it to the web using JSP or servlet page? How do I convert the ORDAUDIO to BLOB field? I went to the following example/demo: http://www.oracle.com/technology/sample_code/produ