centrofermi / e3pipe

Analysis pipeline for the EEE expriment
http://eee.centrofermi.it/
GNU General Public License v3.0
4 stars 1 forks source link

Handle db errors #76

Open lucabaldini opened 9 years ago

lucabaldini commented 9 years ago

Connecting to eee_rundb2 on 131.154.96.193 (as eee) Traceback (most recent call last): File "/opt/eee/e3pipe/apps/e3process.py", line 62, in registerRun(runInfo, exitCode) File "/opt/eee/e3pipe/db/e3registerRun.py", line 100, in registerRun registerSuccess(runInfo, db) File "/opt/eee/e3pipe/db/e3registerRun.py", line 86, in registerSuccess _register(runInfo, db, kwargs) File "/opt/eee/e3pipe/db/e3registerRun.py", line 54, in _register db = E3RunDbInterface() File "/opt/eee/e3pipe/db/E3RunDbInterface.py", line 55, in init MySQLdb.connections.Connection.init(self, host, user, pwd, dbname) File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 187, in init super(Connection, self).init*(_args, _kwargs2) _mysql_exceptions.OperationalError: (2003, "Can't connect to MySQL server on '131.154.96.193' (110)")