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
MySQL dump

 
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
fulspectrum



Joined: 20 Nov 2003
Posts: 296
Location: Ljubljana <>Split

PostPosted: 02.06.2006 16:36    Post subject: MySQL dump Add user to your forum ignore list Reply with quote

Trebam prebacit bazu sa starog servera na novi. Stari server ima instaliranu noviju verziju MySQL i prilikom prebacivanja na novi sa starijom verzijom mi javlja syntax greske. Postoji li neka downgrade opcija prilikom dumpa?

Hvala!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 02.06.2006 17:31    Post subject: Add user to your forum ignore list Reply with quote

mysqldump --help

pogledaj koje ima compatibility modove, ne znam napamet... probaj isključiti i 'quick' mode

ne mogu ti ništa reći napamet, dump features se mijenjaju od verzije do verzije
Back to top
View user's profile Send private message Send e-mail Visit poster's website
fun.ky



Joined: 05 Jan 2006
Posts: 365
Location: Mostar

PostPosted: 03.06.2006 11:23    Post subject: Add user to your forum ignore list Reply with quote

Ja sam jedno vrijeme imao problema sa sličnim stvarima, sa lokalnog servera kad bih exportovao bazu i prebacio je na server na netu dobijao sam grešku prilikom prebacivanja zbog

CREATE TABLE `galerija` (
`id_galerije` int(4) NOT NULL auto_increment,
`vrijeme` varchar(10) NOT NULL default '',
`naziv` varchar(200) NOT NULL default '',
`opis` text NOT NULL,
`redoslijed` int(3) NOT NULL default '0',
PRIMARY KEY (`id_galerije`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;

A server to ne podržava....

Riješenje... jednostavno pobrišeš ovo boldirano Smile

Kod mene je radilo

_________________
There is no style definition for good music!
Back to top
View user's profile Send private message Visit poster's website Twitter profile
ToDD



Joined: 05 May 2005
Posts: 83
Location: Zagreb

PostPosted: 03.06.2006 15:27    Post subject: Add user to your forum ignore list Reply with quote

tako i ja radim, samo je problem sto mi onda hrvatske znakove krivo prikazuje
Back to top
View user's profile Send private message MSN Messenger
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 03.06.2006 17:27    Post subject: Add user to your forum ignore list Reply with quote

ako hoćete hrvatske znakove, koristite latin2 ili utf-8... latin2 je bolji izbor za starije verzije MySQL zbog toga što prije 4.1 iz nekog razloga mysql ne želi baciti dump u utf-8 (makar podržava tablice u njemu), stalno govorit kako on ne poznaje taj encoding
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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