[SOLVED] Installation on remote mysql

Moderator: crythias

Post Reply
ruzzetto

[SOLVED] Installation on remote mysql

Post by ruzzetto »

Hi all,
apologize if my post is already opened by someone else, but i try to install otrs on my test environment and i have mysql server already installed. Reading some posts i tried to modify Config.pm modify host parameter with the mysql IP address, but it seems the installer still check for a local DB....is there anything else i could do in order to fix?

Thanks a lot,
Fabio
Last edited by ruzzetto on 18 Apr 2017, 17:23, edited 1 time in total.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Installation on remote mysql

Post by reneeb »

You can define the host in the installer...

See "host" in http://www.unixmen.com/wp-content/uploa ... ox_006.jpg
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
ruzzetto

Re: Installation on remote mysql

Post by ruzzetto »

@reeneb i tried but i got the same error...
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Installation on remote mysql

Post by reneeb »

Which error message?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
ruzzetto

Re: Installation on remote mysql

Post by ruzzetto »

otrs.PNG
in the "host" field i put mysql IP Address, while in the second line i covered there localhost hostname, where otrs is running.

thanks
You do not have the required permissions to view the files attached to this post.
zzz
Znuny superhero
Posts: 889
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Installation on remote mysql

Post by zzz »

Hello ruzzetto ,
your Host (server on which you're running OTRS) is probably not allowed to connect to your MySQL server.

Login to your MySQL server and try this:
CREATE USER 'root'@'IPADRESSOFYOURHOST' IDENTIFIED BY 'somepass';
grant all privileges on *.* to 'root'@'IPADRESSOFYOURHOST' with grant option;
flush privileges;

You should keep in mind that this could lead to a security issue and should be adjusted after the installation of OTRS.

Good luck
Last edited by zzz on 18 Apr 2017, 17:25, edited 1 time in total.
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
ruzzetto

Re: Installation on remote mysql

Post by ruzzetto »

it works! now i'm proceeding to install a then revoke grants!

thanks :)
Post Reply