Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: mod_perl breaks MySQL connectivity...

by Odud (Pilgrim)
on May 22, 2001 at 18:21 UTC ( [id://82226]=note: print w/replies, xml ) Need Help??


in reply to mod_perl breaks MySQL connectivity...

port 80 for MySQL looks odd, as has already been pointed out, can you confirm that you don't change the script between runs with and without mod_perl? You also could get some useful results from invoking the script from the command line on the server - you supply any parameters after the invocation in the form
param1=value1
param2=value2
...
and end with CTRL+D
This will prove at least that your script is correct - if it is then you shouldn't really have any problems with mod_perl. A tip: don't try to do the clever persistence and reloading stuff until the basics are working.
I'm sure you know already but there is a lot of good stuff at Stas's Home Pages.
  • Comment on Re: mod_perl breaks MySQL connectivity...

Replies are listed 'Best First'.
Re: Re: mod_perl breaks MySQL connectivity...
by DarkBlue (Sexton) on May 22, 2001 at 23:53 UTC
    This is now solved - changing "localhost" to "127.0.0.1" did the trick. I'd be interested in learning why as I thought the two were interchangeable.

    Thanks to everyone who responded for your help and advice. I really appreciate it.

     

    In theory, there is no difference between theory and practise.  But in practise, there is.
     
    Jonathan M. Hollin
    Digital-Word.com

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://82226]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-25 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found