Hi - sorry for the cross post - but it's the same general idea. I've got a possible tiny patch for better MySQL support - but I'm not 100% sure what would be the 'best' way to do it would be.
Briefly... (this is in response to having read the turbogears wiki article about using a socket file) if you want the python MySQL module to actually read the /etc/my.cnf and ~/.my.cnf file information, you have to pass read_default_group='' to the contructor. If you put a string there (like 'sqlobject' or 'sqlalchemy') to the constructor, it will read [sqlalchemy] or [sqlobject] sections and [client] sections in the config files and behave as you expect it to. So I think it's what people expect to have the files read. Whether we want to add a section [sqlobject] or [sqlalchemy] by default or not, or just leave it to read the [client] sections is another question... Thoughts? Monty ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users