[SOLVED]Can I use an existing DB into installation´s phase?
Moderator: crythias
[SOLVED]Can I use an existing DB into installation´s phase?
as I say into the title, if I have an existing mysql DB, can I specify it(and the admin user) during the installation? or I have to create a new DB?
Last edited by rschirin on 23 Jun 2012, 17:09, edited 1 time in total.
OTRS 3.1.6 on ubuntu with MySQL
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Can I use an existing DB into installation´s phase?
If you have an existing db, you probably do not want to do an install, as it may drop your tables.
inbefore "But how ..." just make the new tables and then change Config.pm to point to the old data.
Also, your old data may need to be converted to the version being installed. Check upgrading documentation for the installed version.
inbefore "But how ..." just make the new tables and then change Config.pm to point to the old data.
Also, your old data may need to be converted to the version being installed. Check upgrading documentation for the installed version.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Can I use an existing DB into installation´s phase?
My Db is empty. I want only that OTRS will work on it. I don need to drop any data.
if, during installation, I use the name of my Db what will happen?
if, during installation, I use the name of my Db what will happen?
OTRS 3.1.6 on ubuntu with MySQL
Re: Can I use an existing DB into installation´s phase?
can someone help me?
if during the web installation I insert the existing db´s name, otrs returns me an error
so what can I do?
if during the web installation I insert the existing db´s name, otrs returns me an error
Code: Select all
FALSE :-(---==> Can't create database 'prova'; database exists
why I have to create a new DB if I have yet an empty DB?crythias wrote: inbefore "But how ..." just make the new tables and then change Config.pm to point to the old data.
OTRS 3.1.6 on ubuntu with MySQL
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Can I use an existing DB into installation´s phase?
Your options:
Create a new database
Delete your current database and use the setup procedures
Ignore the setup procedure and manually import the sql according to the README.database
http://source.otrs.org/viewvc.cgi/otrs/ ... iew=markup
Any particular method will be good enough, but if you're encountering an issue because the setup is not happy with you already having the database, then just do an import.
Create a new database
Delete your current database and use the setup procedures
Ignore the setup procedure and manually import the sql according to the README.database
http://source.otrs.org/viewvc.cgi/otrs/ ... iew=markup
Any particular method will be good enough, but if you're encountering an issue because the setup is not happy with you already having the database, then just do an import.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Can I use an existing DB into installation´s phase?
I used the manually procedures.
now, imagine that I start from the beginning, configure manually the db and don´t use web installer. at last, is root@localhost user set automatically?

now, imagine that I start from the beginning, configure manually the db and don´t use web installer. at last, is root@localhost user set automatically?
OTRS 3.1.6 on ubuntu with MySQL
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Can I use an existing DB into installation´s phase?
Yes, and you can verify from the sql user table .. or view viewtopic.php?f=62&t=9101
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask