Re: no tables in PEAR DB
| From: | (Stig Sæther Bakken) | Date: | Sat, 01 Sep 2001 19:42:39 +0000 |
| Subject: | Re: no tables in PEAR DB | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1748@lists.php.net to get a copy of this message | ||
["Martin Jansen" <mail@martin-jansen.de>]
> On Sat, 01 Sep 2001 18:00:23 +0200, Tomas V.V.Cox wrote:
>
> >Martin Jansen wrote:
> >> Done. I've restored the tables from the .sql files manually because make
> >> didn't work for me too. The problem is, that we've lost all contents
> >> in the tables which the .sql do not contain.
> >
> >Oh, sorry. I tought that we was in the proccess of building the site and
> >wasn't yet in production.
>
> I agree that we aren't in a real production stage yet. But some people
> already applied for PEAR accounts and already got them. Additionally
> it's look pretty bad when the PEAR website only outputs some database
> errors and does nothing else :-).
That's true, but in "public" mode (on pear.php.net without the dev
cookie) it shouldn't even try connecting.
> >I needed to add the new table categories and
> >recreate the packages. Next time I'll do the changes by hand.
>
> I think it's much better to use ´mysql -u pear -ppear pear < packages.sql´
> than using ´make destroy´ and friends.
Well, that's sort of what "make destroy" does, but in the right order
etc (not that mysql really cares).
- Stig
--
Stig Sæther Bakken <ssb@alltheweb.com>
Fast Search & Transfer ASA, Trondheim, Norway