Re: mysql_query problem

From: Paul Barfoot (Paul_at_theglobalfamily.fsworld.co.uk)
Date: 10/17/04

  • Next message: Russlan: "Re: Object-relational mapping and PHP"
    Date: Sun, 17 Oct 2004 12:16:39 +0100
    
    

    Eurisko

    Can you share with us the sections of code that you are using? Also the
    MySQL sections from a call to phpinfo() on each of your servers. Thanks.

    Paul

    "Eurisko" <not@home.out> wrote in message
    news:ckmqvl$30s$1@news7.svr.pol.co.uk...
    > Hi
    >
    > I've got a prod and a dev server, the version of MySQL and PHP on both are
    > the same however I get a problem on the dev server when I try to use a
    > script that works on the DEV server.
    >
    > The script has several functions that take a connection object as an
    > argument and the one function that I'm calling that acts as a wrapper,
    > which
    > creates the connection object and passes it to the other functions, this
    > is
    > done so I can rollback any changes if there are any errors.
    >
    > The error I get on the prod server is
    > "mysql_query(): 5 is not a valid MySQL-Link resource"
    >
    > Does anyone know what this is.
    >
    > Thanks
    >
    > Eurisko
    >
    >


  • Next message: Russlan: "Re: Object-relational mapping and PHP"

    Relevant Pages

    • RE: MySQL/PHPMyAdmin on FC3 Connection Problem
      ... // You can disable a server config entry by setting host to ''. ... MySQL server ... MySQL control user settings ... table to describe the display fields ...
      (Fedora)
    • Re: KDE is now broken (Fwd: Heads-up: KDE4 hitting testing tonight (UTC) )
      ... don't want to run an akonadi server either, ... KDE 4.0 was available. ... kmail) and I do not have a mysql server installed. ...
      (Debian-User)
    • Re: Using Access for web application?
      ... Any suggestions as to which newsgroup would be more ... The server that the web app will use in this case, ... > which technology you will decide to use as the Web server (Linux or Windows) ... Instead MySQL is being ...
      (microsoft.public.access.dataaccess.pages)
    • [UNIX] phpMyAdmin PHP Code Injection (left.php)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... phpMyAdmin is "web-based MySQL ... does not prevent a malicious user from altering the servers configuration ... server configurations to the list of servers configuration by adding ...
      (Securiteam)
    • Re: KDE is now broken (Fwd: Heads-up: KDE4 hitting testing tonight (UTC) )
      ... don't want to run an akonadi server either, ... doesn't ask if I want to use a mysql server on another host. ... Not if the file format was public. ... There seems to be too much windoze thinking entering Debian: ...
      (Debian-User)