nciri / zend-db-model-generator

Automatically exported from code.google.com/p/zend-db-model-generator
0 stars 0 forks source link

No socket error #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I got the "can't find socket error" from PDO so I modifed the config a little 
bit and editted the PDO connector in MakeDbTable.php.

I changed it into: 
$pdo = new 
PDO($this->_config['db.type'].":host=localhost;dbname=$dbname;unix_socket=".$thi
s->_config['db.socket'],$this->_config['db.user'],$this->_config['db.password'])
;

Keep up the good work!

Original issue reported on code.google.com by m.je...@gmail.com on 28 Oct 2010 at 11:01

GoogleCodeExporter commented 8 years ago
i added unix socket support for a mysql server. gonna be released with version 
0.6. 

Original comment by kfirufk@gmail.com on 21 Aug 2011 at 12:18