Skip to Content.
Sympa Menu

en - Re: [sympa-users] using non-default mysql socket

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Peter Farmer <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] using non-default mysql socket
  • Date: Fri, 2 Jun 2006 16:37:33 +0800

Thanks Olivier,

I was aware of the db_options parameter, but was ignorant of the correct its
syntax to use it.
That approach appears to work properly.


Regards
Peter Farmer


On Thursday 01 June 2006 5:32 pm, Olivier Salaün - CRU wrote:
> Hi Peter,
>
> You should be able to use the 'db_options' sympa.conf parameter to
> specify the 'mysql_socket' argument, as follows :
>
> db_options mysql_socket=tmp/mysql.sock-test
>
> For more informations :
>
> *
> http://www.sympa.org/doc/html/node8.html#SECTION008100000000000000000 *
> http://search.cpan.org/~capttofu/DBD-mysql-3.0004/lib/DBD/mysql.pm#Class_
>Methods
>
>
> Let us know if it works...
>
> address@concealed wrote:
> >I'm trying to integrate sympa into my clients web site portals and
> > content management systems (on Mac OSX platforms initially) - its
> > replacing my own perl based mailinglist software. So far not too many
> > issues to resolve . One thing i havent been able to resolve via the
> > documentation however, is to access the subscription database via a
> > local unix socket path name other than the default one ( e.g.
> > /tmp/mysql.sock-test instead of /tmp/mysql.sock for mysql) . At the
> > moment I dont want to use the TCP port connectivity. There doesn't seem
> > to be a way to specify an alternate db socket path even though theres a
> > way to use an alternate TCP port (db_port option) .
> >
> >Can anyone suggest a way do this at a configuration file level ?




Archive powered by MHonArc 2.6.19+.

Top of Page