
Hi Rory the MySQL Dump version is 10.9 and the Create Database line was not there in the dump file.
I created the database named otrs and then imported the dump. I think it has worked because when I did a
'show tables from otrs'
query from the command prompt on my test machine 93 tables were displayed.
How do I test to make sure that the import has worked?
How do I now go about cleaning the otrs/otrs directory before unzipping the 2.2 version there as per Michael's instructions?
Thannks a lot
Best
Lev
________________________________
From: Rory
Thank you so much Rory.
The deletion of the 2.4.4 database and the dump of the live database went pretty smoothly.
But I have got stuck trying to import the dump (which is called "otrs.sql").
I have gone to the bin directory of the mysql install and typed
mysql -u root -p < C:\otrsdump\otrs.sql
was asked for and typed my password and got message "Error - no database selected".
So then I typed
mysql -u root -p otrs< C:\otrsdump\otrs.sql was asked for and typed my password and got message "Error - unknown database 'otrs' ".
Do I need to create a database called otrs first and then import the dump into it?
Thanks a lot
Lev ________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 15:48:30 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine If I remember correctly, you access mysql from the command line i.e. mysql -u root -p Once you've done that type, show databases; This will give you a list of databases in your database server. Pick the otrs one (I think its just called otrs) Type in, drop database otrs; This will delete your otrs database.
Once that is done go to your live server. At the command line type (again check the database name first), mysqldump -B otrs -u root -p > otrsdump.sql
This will dump your otrs database to the file otrsdump.sql. The nice think about the dump file is that it is full of sql commands to recreate your database. So you simply need to run it through mysql on your test server to recreate your database. So copy the otrsdump.sql file to your test server.
Now at the command line of your test server type, mysql -u root -p < otrsdump.sql
The -p option to the mysql and mysqldump commands means you're using a password. If the -p is followed by a space it will ask you for the password on the next line so you can't see it written on the command line for security. The mysql and mysqldump commands may not be in your path. In that case change to the bin directory of the mysql install and run the command from there using the absolute path for the output/input file.
Let us know how you get on with that.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/9 Lev Davidovich
: "What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there."
Please explain to me in more detail how to "drop the mysql database, and load your backup database from live".
Is this something I do after the installation, or during it? Thank you
________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 11:12:31 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Lev,
Yes, there are no longer windows INSTALLERS of 2.2 otrs available, because of issues with one of the bundled components. On the download servers you can download every source version back to 0.5 beta! [http://ftp.otrs.org/pub/otrs/]
What you could do is download the latest version of the Windows installer of OTRS, drop the mysql database, and load your backup database from live, clean the /otrs/otrs directory and unzip the 2.2 version you would like to use there. Copy Config.pm from the server to your Windows box but make sure you add the following line to it:
$Self->{'SendmailModule'} = 'Kernel::System::Email::DoNotSendEmail';
this because your copy system will not be sending escalations out for tickets that are long closed on live ;-) (available since otrs 2.2.6)
and you should probably also look into how OTRS fetches mails from the server on your live system. If you use pop or imap as defined in the Admin web user interface, you might want to edit crontab to NOT run PostMasterMailbox.pl
Regards,
MIchiel
On Wed, Sep 9, 2009 at 11:59 AM, Lev Davidovich
wrote: Thanks Michael. I am inclined to go down the VMWare route that both you and Rory and others suggest but I am not having much luck convincing the decision makers here!
The consensus seems to be that it is OK as a long term project but that in the short term what we need is a quick database dump followed by import into a copy of OTRS running on Windows.
Just to be clear about what you are saying -
are you saying it is no longer possible to download versions of OTRS earlier than 2.3 x and install them on Windows? Or is it only AUTOMATIC installers that it is no longer possible to download?
Where can I find an automatic installer for version 2.3 x?
I could still download version 2.2.5 from ftp://ftp.otrs.org/pub/otrs/ and install it manually (using the instructions that Afshar Mohebbi has posted ) - is that correct?
Thank you ________________________________ From: Michiel Beijen
To: User questions and discussions about OTRS. Sent: Wednesday, 9 September, 2009 10:36:46 Subject: Re: [otrs] Install OTRS 2.2.5 on Windows XP machine Hi Lev,
Due to licensing issues there are no longer old Windows installers earlier than 2.3.x available for download.
Afshar Mohebbi has posted instructions for setting up OTRS on Windows;
http://afsharm.blogspot.com/2009/03/installing-otrs-active-perl-on-windows.h... (but this is with Microsoft SQL Server, you should just install MySQL instead)
I guess it would be good to also have instructions for manual installation on Windows...
Depending on your situation you could also install VMWare on your XP workstation with linux, just as on your server. Then you would have a real test environment; which you can also use to test out upgrades or so. VMWare Server is available at no charge. VMWare workstation costs a little more but has lots of good features. Myself, I use VMWare server ;-)
Regards,
Michiel.
On Wed, Sep 9, 2009 at 11:18 AM, Lev Davidovich
wrote: Hi I want to install OTRS 2.2.5 on a Windows XP test machine as that is the version we have on the live server.
The automatic installer on the following page
is only for the latest version.
Is there an automatic installer I can find for installing 2.2 on Windows?
Rory was kind enough to point out the following page with downloads of earlier versions
ftp://ftp.otrs.org/pub/otrs/
but downloading 2.2.5 from here would require a manual install on Windows.
I can't seem to find instructions to manually install version 2.2 on Windows.
I have, however, found instructions to manually install version 1.3 on Windows on the following page.
http://doc.otrs.org/1.3/en/html/install-win32.html
Is there a page with similar instructions for version 2.2 or will the instructions for 1.3 be able to do the job for me?
Thanks for your help
Lev
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/