Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "D:\Downloads\Verka\venv\lib\site-packages\pymysql\connections.py", line 920, in connect
- **kwargs)
- File "C:\Python36\Lib\socket.py", line 724, in create_connection
- raise err
- File "C:\Python36\Lib\socket.py", line 713, in create_connection
- sock.connect(sa)
- socket.timeout: timed out
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "main.py", line 28, in <module>
- category_list = check_category()
- File "D:\Downloads\Verka\get_categories.py", line 8, in check_category
- category_list = get_categories_list()
- File "D:\Downloads\Verka\mysql.py", line 24, in get_categories_list
- connection = db_connect() # Подключаемся к БД
- File "D:\Downloads\Verka\mysql.py", line 19, in db_connect
- charset='utf8')
- File "D:\Downloads\Verka\venv\lib\site-packages\pymysql\__init__.py", line 90, in Connect
- return Connection(*args, **kwargs)
- File "D:\Downloads\Verka\venv\lib\site-packages\pymysql\connections.py", line 699, in __init__
- self.connect()
- File "D:\Downloads\Verka\venv\lib\site-packages\pymysql\connections.py", line 967, in connect
- raise exc
- pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'sally.timeweb.ru' (timed out)")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement