| EN
Currency :
Choose your country/region & currency
  • Americas
    • Europe
      • Asia Pacific
        • Africa & Middle East
          |

          ERROR

          Traceback (most recent call last): File "/usr/local/python3/lib/python3.4/site-packages/mysql/connector/network.py", line 515, in open_connection self.sock.connect(sockaddr) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/engine/base.py", line 2158, in _wrap_pool_connect return fn() File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/pool.py", line 403, in connect return _ConnectionFairy._checkout(self) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/pool.py", line 791, in _checkout fairy = _ConnectionRecord.checkout(pool) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/pool.py", line 537, in checkout rec._checkin_failed(err) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__ compat.reraise(exc_type, exc_value, exc_tb) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/util/compat.py", line 187, in reraise raise value File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/pool.py", line 534, in checkout dbapi_connection = rec.get_connection() File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/pool.py", line 656, in get_connection self.__connect() File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/pool.py", line 674, in __connect connection = pool._invoke_creator(self) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/engine/strategies.py", line 106, in connect return dialect.connect(*cargs, **cparams) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/engine/default.py", line 411, in connect return self.dbapi.connect(*cargs, **cparams) File "/usr/local/python3/lib/python3.4/site-packages/mysql/connector/__init__.py", line 183, in connect return MySQLConnection(*args, **kwargs) File "/usr/local/python3/lib/python3.4/site-packages/mysql/connector/connection.py", line 100, in __init__ self.connect(**kwargs) File "/usr/local/python3/lib/python3.4/site-packages/mysql/connector/abstracts.py", line 736, in connect self._open_connection() File "/usr/local/python3/lib/python3.4/site-packages/mysql/connector/connection.py", line 242, in _open_connection self._socket.open_connection() File "/usr/local/python3/lib/python3.4/site-packages/mysql/connector/network.py", line 518, in open_connection errno=2003, values=(self.get_address(), _strioerror(err))) mysql.connector.errors.InterfaceError: 2003: Can't connect to MySQL server on 'localhost:3306' (111 Connection refused) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/mnt/website/bldpharm.git/views/SiteVC.py", line 164, in go_products if DB.chk_white_ip({"ip":ip,"type":0}):#在ip白名单内不需要记录ip访问次数 File "/mnt/website/bldpharm.git/controllers/general/DataBaseGeneralHandler.py", line 3518, in chk_white_ip .first() File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/orm/query.py", line 2835, in first ret = list(self[0:1]) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/orm/query.py", line 2627, in __getitem__ return list(res) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/orm/query.py", line 2935, in __iter__ return self._execute_and_instances(context) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/orm/query.py", line 2956, in _execute_and_instances close_with_result=True) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/orm/query.py", line 2965, in _get_bind_args **kw File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/orm/query.py", line 2947, in _connection_from_session conn = self.session.connection(**kw) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/orm/session.py", line 1035, in connection execution_options=execution_options) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/orm/session.py", line 1040, in _connection_for_bind engine, execution_options) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/orm/session.py", line 409, in _connection_for_bind conn = bind.contextual_connect() File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/engine/base.py", line 2123, in contextual_connect self._wrap_pool_connect(self.pool.connect, None), File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/engine/base.py", line 2162, in _wrap_pool_connect e, dialect, self) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/engine/base.py", line 1476, in _handle_dbapi_exception_noconnection exc_info File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause reraise(type(exception), exception, tb=exc_tb, cause=cause) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/util/compat.py", line 186, in reraise raise value.with_traceback(tb) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/engine/base.py", line 2158, in _wrap_pool_connect return fn() File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/pool.py", line 403, in connect return _ConnectionFairy._checkout(self) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/pool.py", line 791, in _checkout fairy = _ConnectionRecord.checkout(pool) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/pool.py", line 537, in checkout rec._checkin_failed(err) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__ compat.reraise(exc_type, exc_value, exc_tb) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/util/compat.py", line 187, in reraise raise value File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/pool.py", line 534, in checkout dbapi_connection = rec.get_connection() File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/pool.py", line 656, in get_connection self.__connect() File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/pool.py", line 674, in __connect connection = pool._invoke_creator(self) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/engine/strategies.py", line 106, in connect return dialect.connect(*cargs, **cparams) File "/usr/local/python3/lib/python3.4/site-packages/sqlalchemy/engine/default.py", line 411, in connect return self.dbapi.connect(*cargs, **cparams) File "/usr/local/python3/lib/python3.4/site-packages/mysql/connector/__init__.py", line 183, in connect return MySQLConnection(*args, **kwargs) File "/usr/local/python3/lib/python3.4/site-packages/mysql/connector/connection.py", line 100, in __init__ self.connect(**kwargs) File "/usr/local/python3/lib/python3.4/site-packages/mysql/connector/abstracts.py", line 736, in connect self._open_connection() File "/usr/local/python3/lib/python3.4/site-packages/mysql/connector/connection.py", line 242, in _open_connection self._socket.open_connection() File "/usr/local/python3/lib/python3.4/site-packages/mysql/connector/network.py", line 518, in open_connection errno=2003, values=(self.get_address(), _strioerror(err))) sqlalchemy.exc.InterfaceError: (mysql.connector.errors.InterfaceError) 2003: Can't connect to MySQL server on 'localhost:3306' (111 Connection refused) (Background on this error at: http://sqlalche.me/e/rvf5)

          Back to Homepage
          Copyright © 2013-2024 BLDpharm. All Rights Reserved. Research Use Only!

          Privacy Preference

          We use cookies on our website. Some of them are essential, while others help us to improve this website and your experience.

          | Privacy Policy

          Privacy Preference

          We use cookies on our website. Some of them are essential, while others help us to improve this website and your experience.

          Essential (1)

          Essential cookies enable basic functions and are necessary for the proper function of the website.

          Name Borlabs Cookie
          ProviderOwner of this website
          PurposeSaves the visitors preferences selected in the Cookie Box of Borlabs Cookie.
          Cookie Namecart_key, historicalRecords, bld_country, bld_unit, access_token
          Cookie Expiry7 Days

          Statistics (1)

          Statistics cookies collect information anonymously. This information helps us to understand how our visitors use our website.

          Name
          ProviderGoogle LLC
          PurposeCookie by Google used for website analytics. Generates statistical data on how the visitor uses the website.
          Privacy Policyhttps://policies.google.com/privacy?hl=en
          Cookie Name_ga, _gat, _gid
          Cookie Expiry2 Years

          External Media (1)

          Content from video platforms and social media platforms is blocked by default. If External Media cookies are accepted, access to those contents no longer requires manual consent.

          Provider Smartsupp
          PurposeCustomer Service
          Cookie Namessupp.vid, ssupp.visits
          Cookie Expiry1 Year

          Privacy Policy