mysql_query problem

From: Eurisko (not_at_home.out)
Date: 10/14/04

  • Next message: Eurisko: "Re: mysql_query problem"
    Date: Thu, 14 Oct 2004 22:26:44 +0100
    
    

    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: Eurisko: "Re: mysql_query problem"

    Relevant Pages

    • Moving a meeting series
      ... I have a meeting series that was developed on a dev server. ... I have tried defining a new event series in an Events list on the prod ... I then used FrontPage 2003 to restore the dev site ...
      (microsoft.public.sharepoint.windowsservices)
    • Re: mysql_query problem
      ... "problem on the prod server when I try to use a script that works on the DEV ... "problem on the dev server when I try to use a script that works on the DEV ... > creates the connection object and passes it to the other functions, ...
      (php.general)
    • RE: connecting to a SQL2000 Server using Windows authentication
      ... I'll leave it up to you to do a little light reading in MSDN concerning the ADO Connection Object. ... you should be able to check the State property of the connection object to see if you are connected. ... to this end i have set up a dev server to look at this problem. ...
      (microsoft.public.vb.database.ado)