juanluisbaptiste / docker-otrs

The unofficial Znuny/OTRS Ticketing System docker image
https://www.juanbaptiste.tech/category/otrs
GNU Lesser General Public License v3.0
173 stars 101 forks source link

Port Number #49

Closed peterheather88 closed 5 years ago

peterheather88 commented 5 years ago

I am setting the parameter OTRS_DB_PORT = 50033

With debug set I am getting

++ mysqladmin ping -h xxx.xxx.xxx.xxx -P 3306 -u root --password=xxxxxxxxx --silent --connect_timeout=3

Note: I have blanked out the IP address and password

Form the above looks like the OTRS_DB_PORT parameter is not changing the default port number which is remaining as 3306.

What I doing worng?

Thanks, Pete

juanluisbaptiste commented 5 years ago

Yoú must have something wrong with your setup, if you look at the code OTRS_DB_PORT is correctly set:

mysqlcmd="mysql -uroot -h ${OTRS_DB_HOST} -P ${OTRS_DB_PORT} -p${MYSQL_ROOT_PASSWORD}
juanluisbaptiste commented 5 years ago

Please pull and try again, the custom port value was getting lost before that line.

juanluisbaptiste commented 5 years ago

This is the commit, the fix was mistakenly added with another commit.

juanluisbaptiste commented 5 years ago

Were you able to test ?

peterheather88 commented 5 years ago

Hello

I am in China …. It harder to test here

I will try again over the weekend

Pete

From: Juan Luis Baptiste notifications@github.com Sent: 13 December 2018 21:44 To: juanluisbaptiste/docker-otrs docker-otrs@noreply.github.com Cc: peterheather88 peter@accesstochina.com; Author author@noreply.github.com Subject: Re: [juanluisbaptiste/docker-otrs] Port Number (#49)

Were you able to test ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/juanluisbaptiste/docker-otrs/issues/49#issuecomment-447131464 , or mute the thread https://github.com/notifications/unsubscribe-auth/ArizN3LveTxYSxc5bCJ_s5txKRTAwXZAks5u4soQgaJpZM4ZGZdl . https://github.com/notifications/beacon/ArizN6NUTxzG_z26eYJdo_YgV3YnY6N7ks5u4soQgaJpZM4ZGZdl.gif

juanluisbaptiste commented 5 years ago

No answer so closing as fixed.