Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need help installing local Wikipedia [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Tue Jul 26, 2005 5:53 am    Post subject: Need help installing local Wikipedia [solved] Reply with quote

I installed Apache, PHP, MySQL and Mediawiki and downloaded a Wikipedia Database-Dump.
After following the Apache and PHP Guide from the gentoo-wiki I can go to my local mediawiki site, but its just a empty Wiki.
I can also go to my local phpmyadmin site where i can look at the Databases i have.

But i have no clue what to do with the SQL-File and where the Wikipedia (not just the empty Wiki) is supposed to be.

I did a
Code:

mysql -u root -ppassword wikidb < cur_table.sql

but i get the prompt back after 1 second which seems wrong since the file is very large.

Looking at the wikidb in phpmyadmin also shows only a few hundred kb of size.

Can anyone give me some picture of what i am supposed to do?

Regards,
Schmolch


Last edited by Schmolch on Fri Aug 05, 2005 5:52 am; edited 1 time in total
Back to top
View user's profile Send private message
olivierva
n00b
n00b


Joined: 12 Feb 2003
Posts: 58
Location: London (UK)

PostPosted: Wed Jul 27, 2005 7:57 pm    Post subject: Reply with quote

Have you done a
Code:
CREATE DATABASE wikidb;
Back to top
View user's profile Send private message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Thu Jul 28, 2005 5:07 pm    Post subject: Reply with quote

Yes i have a wikidb.

But i think my question is, when i created a db, and when i did
Code:
mysql -u root -ppassword wikidb < cur_blabla.sql
where is the local Wikipedia supposed to be then?
When i go /var/www/../mediawiki there still is only the empy mediawiki site.
Is this correct?

[update]
The sql-file was broken, i have the wikipedia running now :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum