answered on stackoverflow in 2012 http://stackoverflow.com/questions/10181344/mysql-exceptions-operationalerror-1045-access-denied-for-user-rootlocalh
On Monday, September 15, 2014 9:39:42 AM UTC-7, José Manuel Bordallo wrote: > > Hi all, yesterday just actualized my Ubuntu 14.04 and i get this > connection errors on my web2py apps. > > <type 'exceptions.RuntimeError'> Failure to connect, tried 5 times: > Traceback (most recent call last): File "/home/jose/web2py/gluon/dal.py", > line 8038, in __init__ self._adapter = ADAPTERS[self._dbname](**kwargs) > File "/home/jose/web2py/gluon/dal.py", line 700, in __call__ obj = > super(AdapterMeta, cls).__call__(*args, **kwargs) File > "/home/jose/web2py/gluon/dal.py", line 2749, in __init__ if do_connect: > self.reconnect() File "/home/jose/web2py/gluon/dal.py", line 680, in > reconnect self.connection = f() File "/home/jose/web2py/gluon/dal.py", line > 2747, in connector return self.driver.connect(**driver_args) File > "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect > return Connection(*args, **kwargs) File > "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 187, in > __init__ super(Connection, self).__init__(*args, **kwargs2) > OperationalError: (1045, "Access denied for user 'root'@'localhost' (using > password: YES)") > > Checked conection on MySql Workbench and all fine. > > Any suggestions??? Thanks in advance!! > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

