Hello
That might be a obvious question (however I did not find a solution when looking up the documentation).
So I have my own private wikipedia running on one Laptop using mediawiki 1.7.
Now I have installed the same setting on a different laptop. In both cases the mysql database in question is called wikidb.
I thought I just could pack (tar.gz) the one wikidb and transfer it to the other laptop, unpack it (rename the old one) and off you go.
Not so! When I go to All pages in that Laptop, I still see the "old" pages.
Shall I execute a special command?
Thanks
Uwe Brauer
| -----Original Message----- | From: ... Uwe Brauer | Sent: Tuesday, August 01, 2006 1:45 PM / | Not so! When I go to All pages in that Laptop, I still see the "old" | pages.
Are you using any cache like eAccelerator?
Reg., Janusz 'Ency' Dorozynski
"Doro" == Doro¿yñski Janusz dorozynskij@wampnm.webd.pl writes:
Doro> | -----Original Message----- Doro> | From: ... Uwe Brauer Doro> | Sent: Tuesday, August 01, 2006 1:45 PM Doro> / Doro> | Not so! When I go to All pages in that Laptop, I still see the "old" Doro> | pages.
Doro> Are you using any cache like eAccelerator?
No no caching, as far as I can tell
What do you mean with 'unpack' the DB? You need to import the sql dump into the mysql server of the second laptop.
I hope you weren't simply moving over the MediaWiki php files... It's the mysql db what changes.
Platonides <Platonides@...> writes:
What do you mean with 'unpack' the DB? You need to import the sql dump into the mysql server of the second laptop.
I hope you weren't simply moving over the MediaWiki php files... It's the mysql db what changes.
Aeh well by unpack I mean tar xfvz wikidb.tgz in the /var/lib/mysql dir.
As I understand from you message this was the wrong thing to do. Do you know by heart the relevant mysql command.
Thanks
Uwe Brauer
Uwe Brauer wrote:
Platonides <Platonides@...> writes:
What do you mean with 'unpack' the DB? You need to import the sql dump into the mysql server of the second laptop.
I hope you weren't simply moving over the MediaWiki php files... It's the mysql db what changes.
Aeh well by unpack I mean tar xfvz wikidb.tgz in the /var/lib/mysql dir.
As I understand from you message this was the wrong thing to do. Do you know by heart the relevant mysql command.
Well, what Platonides meant is that you should use mysqldump to create a dump of the database (type mysqldump --help), and then on the target machine use "mysql -D wikidb < dump.sql" to import it.
However, I don't really know why the method you chose shouldn't work.
Timwi
"Timwi" == Timwi timwi@gmx.net writes:
Timwi> Well, what Platonides meant is that you should use mysqldump Timwi> to create a dump of the database (type mysqldump --help), Timwi> and then on the target machine use "mysql -D wikidb < Timwi> dump.sql" to import it.
That worked, may thanks!!! Timwi> However, I don't really know why the method you chose Timwi> shouldn't work.
No idea.
Uwe
wikitech-l@lists.wikimedia.org