Koozali.org: home of the SME Server

Mysql55 and Port 3307

Offline uli334

  • ***
  • 128
  • +0/-0
Mysql55 and Port 3307
« on: November 09, 2018, 10:19:34 AM »
Hello,
I want to use Groupoffice 6.3 on SME 9.2/64.

- For that purpose I installed from the Softare Collections PHP and this works well.
- For GO I also needed Mysql >= 5.3 and I installed Mysql55 (https://wiki.contribs.org/Software_Collections:MySQL55) in the RH Version.
- After installation and restart I could connect to the socket with
 " /opt/rh/mysql55/root/usr/bin/mysql  --socket=/var/lib/mysql/mysql55.sock "
but not through TCP port 3307 with:
- " /opt/rh/mysql55/root/usr/bin/mysql --protocol=TCP --port=3307 " - Here the answer is " Can't connect to MySQL server on 'localhost' (111) "

As shown in the contrib- section I made:
- " config setprop mysq55-mysql LocalNetworkingOnly no
signal-event post-upgrade;signal-event reboot "

But after this I get the same result- no connection on port 3307...

Unfortunately Groupoffice does't support connection via socket.
Can someone tell me how to enable the support for port 3307 on localhost?

Thanks for your help!
Uli

Offline sages

  • *
  • 182
  • +0/-0
    • http://www.sages.com.au
Re: Mysql55 and Port 3307
« Reply #1 on: November 09, 2018, 12:23:09 PM »

- For GO I also needed Mysql >= 5.3 and I installed Mysql55 (https://wiki.contribs.org/Software_Collections:MySQL55)

Read the entire wiki entry that you used to install Mysgl55 that you have quoted in your question  8-)
Specifically the section regarding USAGE  :-?
...

Offline mmccarn

  • *
  • 2,627
  • +10/-0
Re: Mysql55 and Port 3307
« Reply #2 on: November 09, 2018, 12:31:47 PM »
There appears to be a typo in the wiki.

On my server with the smeserver-mysql55 contrib installed, I do not have any config db entry for "mysql55-mysql" as indicated in the wiki.

Instead, I have a section for "mysql55-mysqld":
Code: [Select]
# config show mysql55-mysqld
mysql55-mysqld=service
    LocalNetworkingOnly=no
    port=3306
    status=enabled

Also - it looks to me as though, on my system, if I enable LocalNetworkOnly I will get a port conflict on port 3306.  This could be something I did to myself, but you'd better check (or reset) before reconfiguring your system:
Code: [Select]
config setprop mysql55-mysqld port 3307 LocalNetworkOnly no
signal-event post-upgrade;signal-event reboot


[edit] I wrote "contrib" instead of "config db" in 2nd paragraph

[edit2] I had IP turned on (LocalNetworkOnly no) and assumed it was not.  Changed "yes" to "no"
« Last Edit: November 09, 2018, 01:04:53 PM by mmccarn »

Offline mmccarn

  • *
  • 2,627
  • +10/-0
Re: Mysql55 and Port 3307
« Reply #3 on: November 09, 2018, 01:10:06 PM »
After verifying on my own system that the wiki syntax was indeed missing the "d" in mysql55-mysqld, I've updated the wiki with the correct instructions:

https://wiki.contribs.org/Software_Collections:MySQL55#Usage

Offline uli334

  • ***
  • 128
  • +0/-0
Re: Mysql55 and Port 3307
« Reply #4 on: November 10, 2018, 03:09:46 PM »
Hello,

thank you for your answers!

I think there is another typo in the wiki:

- config setprop mysq55-mysqld port 3307 LocalNetworkingOnly no

must be (an "l" seems to be missing in "mysq55-mysqld" ?...):

- config setprop mysql55-mysqld port 3307 LocalNetworkingOnly no

In your post here it is right, in the wiki there is no "l"... :?

Offline mmccarn

  • *
  • 2,627
  • +10/-0
Re: Mysql55 and Port 3307
« Reply #5 on: November 10, 2018, 06:22:56 PM »
...

- config setprop mysql55-mysqld port 3307 LocalNetworkingOnly no

In your post here it is right, in the wiki there is no "l"... :?

Grrr...

Wiki fixed.

Thanks.

https://wiki.contribs.org/Software_Collections:MySQL55#Usage

Offline TerryF

  • grumpy old man
  • *
  • 1,826
  • +6/-0
Re: Mysql55 and Port 3307
« Reply #6 on: November 10, 2018, 07:53:02 PM »
Thank you for the update...
--
qui scribit bis legit

Offline ReetP

  • *
  • 3,731
  • +5/-0
Re: Mysql55 and Port 3307
« Reply #7 on: November 11, 2018, 12:07:38 AM »
:thumbsup:
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline uli334

  • ***
  • 128
  • +0/-0
Re: Mysql55 and Port 3307
« Reply #8 on: November 12, 2018, 11:47:36 AM »
Hi,

thank you all for your help. Now i can install Groupoffice on mysql55 using port 3307!

Very much Greetins,
Uli