| View previous topic :: View next topic |
| Author |
Message |
Schmolch l33t

Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Tue Jul 26, 2005 5:53 am Post subject: Need help installing local Wikipedia [solved] |
|
|
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 |
|
 |
olivierva n00b


Joined: 12 Feb 2003 Posts: 58 Location: London (UK)
|
Posted: Wed Jul 27, 2005 7:57 pm Post subject: |
|
|
Have you done a
| Code: | | CREATE DATABASE wikidb; |
|
|
| Back to top |
|
 |
Schmolch l33t

Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Thu Jul 28, 2005 5:07 pm Post subject: |
|
|
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 |
|
 |
|