rettama / luadbi

Automatically exported from code.google.com/p/luadbi
MIT License
0 stars 0 forks source link

support unix socket in mysql driver #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
mysql now supports unix socket, postgresql already has as you can see here: 
http://www.postgresql.org/docs/8.3/static/libpq-connect.html (not tested)

test:

local db = require 'DBI'
local con = assert(db.Connect('MySQL', 'tupana', 'tupana', 'qX6MtLED', 
'/tmp/mariadb.sock', nil))

Original issue reported on code.google.com by x...@simbio.se on 8 Feb 2014 at 6:09

Attachments:

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 47382fea7a9c.

Original comment by MWild1 on 30 Jul 2014 at 3:06

GoogleCodeExporter commented 8 years ago
Pushed, thanks for the patch!

Original comment by MWild1 on 30 Jul 2014 at 3:14