On 9/7/06, <b class="gmail_sendername">Frank Saxton</b> <<a href="mailto:frankie@easyrider.com">frankie@easyrider.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I was confused when it came to setting up the mysql database<br>stuff. I got error messages because it didn't like the password but<br>it seems to have gotten over it. /var/lib/mysql/rt3 has what looks<br>like everything in it but I cannot log in as root. No matter what I
<br>give it, I get a "username or password incorrect" message.</blockquote><div><br>Check the Apache logs to see what it's rejecting on. The default username and password are root/password just in case something's misplaced on the wiki. If you can't log on to a fresh RT install, there may be something missing.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This is not a huge problem (I don't think) because I have 3.0.1<br>running on another LInux box and what I'd really like to do is just
<br>copy over all of the accounts, tickets, settings, etc from that<br>environment and put them on the new box.<br><br>Someone advised me on how to do this a year or so ago and it was very<br>simple. So simple, that I've forgotten what to do. I tried a tar of
<br>everything on the only /var/lib/mysql/rt3 onto the new machine but<br>then I get text instead of the GUI when I try to bring up RT.<br><br>I think if someone can just tell what to copy to the new machine to<br>make it just like the old RT server, I should be good to go. TIA!
</blockquote></div><br>If you have a look at the RT Tarball, there are some upgrade instructions. Your best bet is to have a look at the INSTALL file. From memory it's about point 6 or 7 on there.<br><br>There are a few changes from
3.0 to 3.6.1 but they're relatively easy to apply. Just a case of running:<br>% rt-setup-database --datadir /path/to/etc/upgrade/<ver> --dba dbuser --dba-password dbpass --action insert/act/schema<br>Sadly you've got 6 version updates to do from
3.0, so they'll be something like:<br><br>% rt-setup-database --datadir /etc/request-tracker3.6/upgrade/3.1.0 --dba dbuser --dba-password dbpass --action insert<br>% rt-setup-database --datadir /etc/request-tracker3.6/upgrade/3.1.0 --dba dbuser --dba-password dbpass --action acl
<br>% rt-setup-database --datadir /etc/request-tracker3.6/upgrade/3.1.0 --dba dbuser --dba-password dbpass --action schema<br><br clear="all">for each folder. The instructions in the INSTALL file explain it a bit better than me.
<br><br>That's it :)<br>Obviously, make sure you backup first, but you'll be doing that anyway if you're migrating to a new server.<br><br>Good luck,<br>-- <br>Regards,<br><br>Andrew Nicols