Thanks.
在 2013年11月18日星期一UTC+8下午1时56分48秒,Anand写道: > > On Mon, Nov 18, 2013 at 10:53 AM, you yang <[email protected]<javascript:> > > wrote: > >> the example: >> >> [yorks@web-db]$ python >> Python 2.6.6 (r266:84292, May 1 2012, 13:52:17) >> [GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] on linux2 >> Type "help", "copyright", "credits" or "license" for more information. >> >>> import web >> >>> db=web.database(dbn='mysql', host='127.0.0.1', port=3306, >> user='db_user', passwd='!mySql$', db='mysql') >> >>> res = db.query("select * from host;") >> *0.0 (1): select * from host;* # ----------------> this stderr msg. >> > > You can set: > > db.printing = False > > or set: > > web.config.debug = False > > before creating the database. > > Anand > -- You received this message because you are subscribed to the Google Groups "web.py" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/webpy. For more options, visit https://groups.google.com/groups/opt_out.
