OTRS 6 Install - Database already exists

Moderator: crythias

Post Reply
xavidivekite
Znuny newbie
Posts: 3
Joined: 16 May 2018, 17:15
Znuny Version: 6 Free

OTRS 6 Install - Database already exists

Post by xavidivekite »

Hi all,

I'm trying to install OTRS 6 Free versión, with the /otrs/installer.pl tool. But I'm getting this recurrent error when trying to create the system database (step 2):

Can't create otrs database. Database already exists.

I've checked that, previous to the database create process, not otrs user nor otrs database exists. This mariadb server is in the same host as otrs.

Any ideas about the error? I've tryed with several database/username names without success.

TIA
fcasal
Znuny wizard
Posts: 336
Joined: 21 Apr 2014, 16:14
Znuny Version: 6.0.18

Re: OTRS 6 Install - Database already exists

Post by fcasal »

It is possible that chech the database schema and if mysql database exists, it returns as already exists. If you only have this database, I would purge MariaDb and install again.
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: OTRS 6 Install - Database already exists

Post by klausneil »

Hi xavidivekite, you can verify entering to mariadb and execute show database; here verify that the database otrs exist, if this is so then delete this database and when you execute installer.php and the otrs will create your own database.
xavidivekite
Znuny newbie
Posts: 3
Joined: 16 May 2018, 17:15
Znuny Version: 6 Free

Re: OTRS 6 Install - Database already exists

Post by xavidivekite »

Hi all,

I have:

- Checked that database that it's going to be created does not exist. But message that "database already exists" is shown.
- I have purged and reinstalling mariadb, but problem persists.
- I have changed database name, username, but problem still appears.

TIA.
fcasal
Znuny wizard
Posts: 336
Joined: 21 Apr 2014, 16:14
Znuny Version: 6.0.18

Re: OTRS 6 Install - Database already exists

Post by fcasal »

I think is a problem with the MariaDb, because even with purge, not delete every folder and file, so you could reinstall the o.s. and try again.
xavidivekite
Znuny newbie
Posts: 3
Joined: 16 May 2018, 17:15
Znuny Version: 6 Free

Re: OTRS 6 Install - Database already exists

Post by xavidivekite »

fcasal wrote: 22 May 2018, 14:26 I think is a problem with the MariaDb, because even with purge, not delete every folder and file, so you could reinstall the o.s. and try again.
I think that that's not a valid solution, server has another applications so It's not a solution to reinstall O.S. and try... :shock:
zzz
Znuny superhero
Posts: 888
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: OTRS 6 Install - Database already exists

Post by zzz »

Hello,

you could manually create a database and database user and enter the credentials on page two.

Best regards
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
Post Reply