i use apache 
<type 'exceptions.RuntimeError'> Failure to connect, tried 5 times: 
Traceback (most recent call last): File "C:\web2py-m\gluon\dal.py", line 
7848, in __init__ self._adapter = ADAPTERS[self._dbname](**kwargs) File 
"C:\web2py-m\gluon\dal.py", line 688, in __call__ obj = super(AdapterMeta, 
cls).__call__(*args, **kwargs) File "C:\web2py-m\gluon\dal.py", line 2731, 
in __init__ if do_connect: self.reconnect() File 
"C:\web2py-m\gluon\dal.py", line 669, in reconnect self.connection = f() 
File "C:\web2py-m\gluon\dal.py", line 2729, in connector return 
self.driver.connect(**driver_args) File 
"C:\web2py-m\gluon\contrib\pymysql\__init__.py", line 93, in Connect return 
Connection(*args, **kwargs) File 
"C:\web2py-m\gluon\contrib\pymysql\connections.py", line 575, in __init__ 
self._connect() File "C:\web2py-m\gluon\contrib\pymysql\connections.py", 
line 743, in _connect raise OperationalError(2003, "Can't connect to MySQL 
server on %r (%s)" % (self.host, e.args[0])) OperationalError: (2003, 
"Can't connect to MySQL server on 'localhost' (10053)")Versionweb2py™Version 
2.9.5-trunk+timestamp.2014.03.29.21.54.41Traceback

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.

Traceback (most recent call last):
  File "C:\web2py-m\gluon\restricted.py", line 220, in restricted
    exec ccode in environment
  File "C:/web2py-m/applications/ipay\compiled\models.db.py", line 28, in 
<module>
  File "C:\web2py-m\gluon\dal.py", line 7870, in __init__
    raise RuntimeError("Failure to connect, tried %d times:\n%s" % (attempts, 
tb))
RuntimeError: Failure to connect, tried 5 times:
Traceback (most recent call last):
  File "C:\web2py-m\gluon\dal.py", line 7848, in __init__
    self._adapter = ADAPTERS[self._dbname](**kwargs)
  File "C:\web2py-m\gluon\dal.py", line 688, in __call__
    obj = super(AdapterMeta, cls).__call__(*args, **kwargs)
  File "C:\web2py-m\gluon\dal.py", line 2731, in __init__
    if do_connect: self.reconnect()
  File "C:\web2py-m\gluon\dal.py", line 669, in reconnect
    self.connection = f()
  File "C:\web2py-m\gluon\dal.py", line 2729, in connector
    return self.driver.connect(**driver_args)
  File "C:\web2py-m\gluon\contrib\pymysql\__init__.py", line 93, in Connect
    return Connection(*args, **kwargs)
  File "C:\web2py-m\gluon\contrib\pymysql\connections.py", line 575, in __init__
    self._connect()
  File "C:\web2py-m\gluon\contrib\pymysql\connections.py", line 743, in _connect
    raise OperationalError(2003, "Can't connect to MySQL server on %r (%s)" % 
(self.host, e.args[0]))
OperationalError: (2003, "Can't connect to MySQL server on 'localhost' (10053)")

In file: C:\web2py-m\applications\ipay\compiled\models.db.pyc

1.

<code object <module> at 1AFB2188, file 
"C:/web2py-m/applications/ipay\compiled\models.db.py", line 17>

Powered by web2py <http://www.web2py.com/>™ created by Massimo Di Pierro 
©2007-2014 - Admin language

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to