Database connection problem

Moderator: crythias

Locked
gogaman
Znuny newbie
Posts: 22
Joined: 14 Feb 2012, 15:42
Znuny Version: 3.0.11

Database connection problem

Post by gogaman »

Hi all!

I try to connect to OTRS database from another computer using user and password from Config.pm but got error "access denied for user 'otrs'...".
What's the problem and how to fix it ?

Thanks
CSL
Znuny expert
Posts: 159
Joined: 11 Nov 2011, 19:27
Znuny Version: 3.0.11

Re: Database connection problem

Post by CSL »

If you're connecting to your database (which is? eg MySQL, etc?) from another machine, then you will need to enable remote access to that database. For MySQL, this involves changing settings in my.cnf for network access, and creating a new user account with the remote address of the machine. You'll also need to make sure your firewall settings allow the traffic.
Backend: OTRS 3.0.11 RedHat Enterprise Linux 6.2, Apache, MySQL with replication
Frontend: OTRS 3.0.11 RedHat Enterprise Linux 6.2 with SELinux, Apache SSL
Locked