Unix Technical Forum

how to migrate databases from 3.23 to 5

This is a discussion on how to migrate databases from 3.23 to 5 within the MySQL forums, part of the Database Server Software category; --> "nobody" <nobody@nobody.com> wrote in news:f49e04$jar$1@news.Stanford.EDU: > would I be able to just copy the databse files from the 323 ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-28-2008, 10:59 AM
Good Man
 
Posts: n/a
Default Re: how to migrate databases from 3.23 to 5

"nobody" <nobody@nobody.com> wrote in
news:f49e04$jar$1@news.Stanford.EDU:

> would I be able to just copy the databse files from the 323 server to
> the 5.0 server?


no
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-28-2008, 10:59 AM
Jiri Matejka
 
Posts: n/a
Default Re: how to migrate databases from 3.23 to 5

On Jun 7, 7:43 pm, "nobody" <nob...@nobody.com> wrote:
> Is there a way to have this command create the destination database as well?
> I dont have any databases on the target server just the defaults."Jiri Matejka" <mate...@stemmark.cz> wrote in message
>

I don't think so, you have to create the database before you start the
dump. But it's not problem, is it? You can run mysql command prompt,
eg. mysql --host=targethost --user=username --password=password and
then run create database your_database_name;

Jiri Matejka

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 02-28-2008, 10:59 AM
Kees Nuyt
 
Posts: n/a
Default Re: how to migrate databases from 3.23 to 5

On Wed, 6 Jun 2007 10:26:56 -0700, "nobody" <nobody@nobody.com>
wrote:

>I tried that but gave me an error
>
>ERROR 1064 (42000) at line 67: You have an error in your SQL syntax; check
>the manual that corresponds to your MySQL server version for the right
>syntax to use near 'trigger int(5) default NULL,
> UNIQUE KEY usename (username)
>) TYPE=MyISAM' at line 93
>
>
>
>Are there some issues here?


trigger is a reserved word now.
Choose another column name, or quote with backticks, as in
`trigger` int(5) default NULL
--
( Kees
)
c[_] Q: Why did the chicken cross the moebius strip?
A: To get to the same side. (Czar Castic) (#65)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:41 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com