[rt-users] moving database to new server

mark matyas mark at library.ucsc.edu
Thu Sep 15 15:00:37 EDT 2005


I ran into this recently, but i was upgrading to the latest rt when i 
moved to the new server instead of keeping same version. instead of 
using make initialize-db i just created an empty db using mysqladmin, 
then imported, and then I ran rt-setup-databse as needed to fix the 
schemas, acl, and inserts (i upgraded from 3.0.8 to 3.4.4, the README 
for 3.4.4 explains how to fix changes using the provided script).
I also had to play around with mysqldump options.
oh, i also had to change the max packet size for mysql on new server, 
among other Innodb settings.


what does your mysql log say anyway?



> ------------------------------
> 
> Message: 2
> Date: Thu, 15 Sep 2005 11:59:36 +0200
> From: "Filip Jonckers" <fjonckers at Interconnect.be>
> Subject: [rt-users] moving database to new server
> To: <rt-users at lists.bestpractical.com>
> Message-ID:
> 	<DA947DDAB9D3114E9F99129C654D1F8628AEAE at sicnt01.INTERCONNECT.LOCAL>
> Content-Type: text/plain;	charset="us-ascii"
> 
>  
> I'm having problems moving rt3 database to another machine (both
> rt3.4.1)
> on the production RT I did:
> 
> # mysqldump -uroot -ppassword --opt rt3 > dump.sql
> 
> on the new machine I did:
> 
> # make initialize-database
> 
> (database rt3 successfully created - RT webinterface works with empty
> database)
> 
> # mysql -uroot -ppassword rt3 < dump.sql
> 
> I checked if the data was imported by doing:
> 
> # mysql
> mysql> use rt3;
> mysql> select * from tickets;
> 
> (a list of all tickets is shown - data imported succesfully..)
> 
> but...  opening webbrowser and surfing to the RT website shows no data -
> still an empty database
> 
> 
> did I miss something here ?
> 
> Any help appreciated,
> Filip



More information about the rt-users mailing list