Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
Kako importirati bazu podataka

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
Pekx



Joined: 09 Sep 2004
Posts: 559

PostPosted: 02.09.2005 00:20    Post subject: Kako importirati bazu podataka Add user to your forum ignore list Reply with quote

hello,
ovako, imam bazu velicine cca 50 MB gzipano. Trebao bi ju importirati na novi server, kako to napraviti, konkretno, radi se o bazi sa jednoga foruma. Preko SSH/Shell-a (ako je to moguce) nemogu zbog toga sto ti podaci vise nisu na serveru.
Kako bi to bilo najpametnije izvesti? Uploadati preko phpmyadmina? Znam da kad sam pokusavao importirati bazu od frendovog foruma, uvijek mi je bacao greske u sintaksi i tako.

Hvala

_________________
mp3hr.com
Back to top
View user's profile Send private message Send e-mail
/dev/null



Joined: 22 Dec 2004
Posts: 144

PostPosted: 02.09.2005 00:35    Post subject: Add user to your forum ignore list Reply with quote

MySQL klijent je na Linux/Unix platformi identičan onom na windows. Tako da kada se konektuješ preko svoj SSH klijenta u konzoli kucaj:

da otpakuješ tar.gz
Code:

tar -zvfx fajl.tar.gz


pa onda import u bazu:

Code:

mysql -u USERNAME -p IMEBAZE < fajl.sql


Ukucaš password i to je to.
Vodi računa da bazu prethodno napraviš.

+++++++++++++++++++++++++++++++++++++ tek sada vidim da ne možeš preko SSH, kul. Al eto možda nekom zatreba.

U svakom slučaju ako imaš dobar link i remote pristup bazi podataka uradi od kuće, preko windows mysql klijenta. Sve uradiš isto, a fajl možeš otpakovati winrarom.[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
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


Powered by phpBB © 2001, 2005 phpBB Group