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