Re: connecting to MySQL from shellscript
| From: | Adam Voigt | Date: | Thu, 11 Mar 2004 16:12:49 +0000 |
| Subject: | Re: connecting to MySQL from shellscript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180184@lists.php.net to get a copy of this message | ||
It's trivial, just as if you were compiling for Apache, you just use the
--with-mysql flag, and it will "just work".
On Thu, 2004-03-11 at 10: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
--
Adam Voigt
adam@kotisprop.com