Re: connecting to MySQL from shellscript
| From: | Ian Firla | Date: | Thu, 11 Mar 2004 17:22:26 +0000 |
| Subject: | Re: connecting to MySQL from shellscript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180196@lists.php.net to get a copy of this message | ||
Thanks everyone for your advice.
The problem appears to be with the debian package which I was using. I
tried compiling php from source as Adam suggested and the script now
runs flawlessly.
Ian
On Thu, 2004-03-11 at 16:47, Ian Firla wrote:
> Hello all,
>
> I have a shellscript written in php that needs to connect to a mysql
> database. Everything I've been reading suggests that this cannot be done
> easily. Is this true?
>
> The one workaround I've found is:
>
> http://www.phpbuilder.com/annotate/message.php3?id=1012940
>
> But it's very inelegant and likely to impact on performance with a
> script that is being launched several hundred times an hour.
>
> Ideas?
>
> Ian