On Fri, Feb 05, 2010 at 03:48:15AM +0100, Petr Jake?? wrote:
> MySQLConnection = mysql.builder()

   You don't need that.

> connection = connectionForURI("mysql://
> prestashop:prestas...@127.0.0.1:3306/prestashop")
> =============================================================================
> 
> import MySQLdb
> 
> conn = MySQLdb.connect (host = "localhost",
>                         user = "prestashop",
>                         passwd = "prestashop",
>                         db = "prestashop",
>                         use_unicode = True,
>                         charset = "utf8")

   You didn't use 'use_unicode' and 'charset' in the SQLObject's DB
URI - my be this is the cause? Try

connection = 
connectionForURI("mysql://prestashop:prestas...@127.0.0.1:3306/prestashop?use_unicode=1&charset=utf8")

Oleg.
-- 
     Oleg Broytman            http://phd.pp.ru/            p...@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to