Robin Becker wrote:
> John Nagle wrote:
>
>> Try:
>>
>> db=MySQLdb.connect(host='appx',db='sc_0',user='user',passwd='secret',
>> use_unicode=True, charset = "utf8")
>>
>> The distinction is that "use_unicode" tells Python to convert to Unicode,
>> but Python doesn't know the MySQL table ty
John Nagle wrote:
> Try:
>
> db=MySQLdb.connect(host='appx',db='sc_0',user='user',passwd='secret',
> use_unicode=True, charset = "utf8")
>
> The distinction is that "use_unicode" tells Python to convert to Unicode,
> but Python doesn't know the MySQL table type. 'charset="utf8"' tells
>
Try:
db=MySQLdb.connect(host='appx',db='sc_0',user='user',passwd='secret',
use_unicode=True, charset = "utf8")
The distinction is that "use_unicode" tells Python to convert to Unicode,
but Python doesn't know the MySQL table type. 'charset="utf8"' tells
MySQL to do the conversion to
I am seeing different outcomes from simple requests against a common database
when run from a freebsd machine and a win32 box.
The test script is
###
import MySQLdb, sys
print sys.version
print MySQLdb.__version__
db=MySQLdb.connect(host='appx',db='sc_0',user='user',passwd='s