Ralf Seliger wrote:
> Hi,
>
> I hope someone here has a clue as to what is going on since I am
> completely baffled by the following:
>
> I'm working with a PHP/MySQL-web application called Moodle. When this
> application is started from a web browser, one of the first things to
> happen is a call to mysql_connect which succeds without any problems.
>
> One component of moodle is a so called chat daemon which is just another
> PHP-Script. The only difference to the other scripts that together make
> up Moodle is that this script is to be started from the command line.
>
> The script also calls mysql_connect from the same line with the same
> arguments, but this call to mysql_connect never returns. No connection
> ID, no false value, no error message, just nothing. mysql_connect is
> called but never completes execution.
>
> And I did wait longer than mysql.connect_timeout.
>
> Can anybody here offer an explanation?
>
> Regards
> Ralf Seliger
>
That's strange. What happens if you run the script from a command line
prompt? Maybe something else is getting involved.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================