PHP and dbdeploy on shared-hosting
- From: Loci-master <loci.master@xxxxxxxxx>
- Date: Sun, 6 Apr 2008 03:58:10 -0700 (PDT)
Hello everyone.
I like the Dbdeploy utility very much, but I there isn't any
possibilities to use it on usual, shared LAMP hosting, because it can
be run only from command line, as usual Apache ant task, which looks
like this:
<dbdeploy driver="${db.driver}" url="${db.url}"
userid="${db.user}" password="${db.password}"
dir="${input.sql.dir}" outputfile="${build.outdir}\$
{build.deltascript}"
dbms="mysql" deltaset="DLM"
undoOutputfile="${build.outdir}\${build.undoscript}" />
It is very inconvenient to execute these sql-deltas, manually.
Especially if project is big, and we need to make a version upgrade
fast.
It is possible to write that mechanism by our own, as a php script,
getting .sql files, from some directory, and execute them, if they
weren't be executed, BUT I'm wondering, if that tool has been already
developed.
Thanks, Nikita
http://www.fedyashev-nikita.com
.
- Prev by Date: Re: CMS for PHP
- Next by Date: Re: [PHP] Posting Summary for Week Ending 4 April, 2008: php-general@lists.php.net
- Previous by thread: Re: [PHP] PostTrack Updates
- Next by thread: Re: [PHP] Posting Summary for Week Ending 4 April, 2008: php-general@lists.php.net
- Index(es):
Relevant Pages
|