[web2py] Re: DAl connection through a mysql socket

2016-07-11 Thread Paulo
Massimo Di Pierro writes: > > > Good catch!On Tuesday, 30 October 2012 18:50:31 UTC-5, pbreit wrote: > Apparently this works: > db = DAL('mysql://localhost/web2py', driver_args={'unix_socket':'/opt/local/var/run/mysql51/mysqld.sock'}) > > > On Tuesday, October 30, 2012 11:10:16 AM UTC-7, Jul

[web2py] Re: DAl connection through a mysql socket

2012-10-30 Thread Massimo Di Pierro
Good catch! On Tuesday, 30 October 2012 18:50:31 UTC-5, pbreit wrote: > > Apparently this works: > > db = DAL('mysql://localhost/web2py', > driver_args={'unix_socket':'/opt/local/var/run/mysql51/mysqld.sock'}) > > > > On Tuesday, October 30, 2012 11:10:16 AM UTC-7, Julien Courteau wrote: >> >> He

[web2py] Re: DAl connection through a mysql socket

2012-10-30 Thread pbreit
Apparently this works: db = DAL('mysql://localhost/web2py', driver_args={'unix_socket':'/opt/local/var/run/mysql51/mysqld.sock'}) On Tuesday, October 30, 2012 11:10:16 AM UTC-7, Julien Courteau wrote: > > Hello, > > I need to access a mysql db through a socket file from DAL. What is the > con

[web2py] Re: DAl connection through a mysql socket

2012-10-30 Thread Massimo Di Pierro
DAL assumes a TCP/IP socket, not a Unix socket. Sorry. Open a ticket and we will add the functionality On Tuesday, 30 October 2012 13:10:16 UTC-5, Julien Courteau wrote: > > Hello, > > I need to access a mysql db through a socket file from DAL. What is the > connection string > I should use. The