Make sure that you have `python-mysqldb` installed on the server. traductor Google:
Asegúrese de que tiene `python-MySQLdb` instalado en el servidor. -Thadeus On Fri, Mar 19, 2010 at 4:05 PM, kike <[email protected]> wrote: > te refieres a uno del apache en especifico, porque la aplicacion me > funcionaba de maravillas antes de ponerla en el apache, y para > realmente no se que invertarle para que funcione > > On 19 mar, 15:48, Wes James <[email protected]> wrote: >> talvez no tienes un driver para mysql >> >> On Fri, Mar 19, 2010 at 2:31 PM, kike <[email protected]> wrote: >> > tengo una aplicacion terminada pero cuando la monto en el apache me >> > lanza el siguiente tiket: Cual es el problema???? >> >> > Traceback (most recent call last): >> > File "/home/kike/sbdv/web2py/gluon/restricted.py", line 173, in >> > restricted >> > File "/home/www-data/web2py/applications/SBDV/models/db.py", line 3, >> > in <module> >> > vulnerabilidades=DAL('mysql://root:r...@localhost/ >> > sbdv',pool_size=20) >> > File "/home/kike/sbdv/web2py/gluon/sql.py", line 3783, in DAL >> > File "/home/kike/sbdv/web2py/gluon/sql.py", line 919, in __init__ >> > File "/home/kike/sbdv/web2py/gluon/sql.py", line 840, in >> > _pool_connection >> > File "/home/kike/sbdv/web2py/gluon/sql.py", line 919, in <lambda> >> > NameError: global name 'MySQLdb' is not defined >> >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "web2py-users" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group >> > athttp://groups.google.com/group/web2py?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

