Following #952144: support local socket connexions for mysql, we should consider making this the default: if not specific --aegir_db_host is specified, we most likely want to install on the local mysql server, don't we?

If not, the user can override the setting. If we don't want to set it to localhost, we can still pass --aegir_db_host to point to the right local domain that will resolve to the right IP that MySQL listens on.

Comments

omega8cc’s picture

It is broken: http://drupal.org/node/978784
At least for me.

anarcat’s picture

Status: Active » Needs review

What about making this the default now that it actually works? :)

omega8cc’s picture

Since it works great (again) I have no objections, it can be easily overriden and probably 99% of installs are using only local db anyway and it will still work out of the box with now "standard" mysql listening on all interfaces. Also, now we will be able to simply close port 3306 for remote connections and we are back safe as before, while still able to open for remote stuff if required.

anarcat’s picture

Status: Needs review » Fixed

committed a fix to make it so.

Status: Fixed » Closed (fixed)
Issue tags: -aegir-0.4

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit eb92e52 on debian, dev-migrate_aliases, prod-koumbit, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x by anarcat:
    #977024 - set the default DB server to be localhost