connecting to MySQL from shellscript

From: Date: Thu, 11 Mar 2004 15:47:59 +0000
Subject: connecting to MySQL from shellscript
Groups: php.general 
Request: Send a blank email to php-general+get-180180@lists.php.net to get a copy of this message
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

« previous php.general (#180180) next »