Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How do you resolve it ? Traceback (most recent call last): File /home/ubuntu/.local/lib/python3.8/site-packages/mysql/connectoretwork.py, line 606, in open_connection self.sock.connect(sockaddr) ConnectionrefusedError: [Errno 111] Connection refused During handling

How do you resolve it ?

image text in transcribed

Traceback (most recent call last): File "/home/ubuntu/.local/lib/python3.8/site-packages/mysql/connectoretwork.py", line 606, 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 "tiktok.py", line 178, in video = Compilation() File "tiktok.py", line 12, in __init_ self.db = connect() File "/home/ubuntu/Desktop/TikTok CompilationMaker-main/CompilationMaker/connect.py", line 10, in __init__ self.connectDB( ) File "/home/ubuntu/Desktop/Tiktok CompilationMaker-main/CompilationMaker/connect.py", line 13, in connectDB self.mydb = mysql.connector.connect File "/home/ubuntu/.local/lib/python3.8/site-packages/mysql/connector/__init__.py", line 219, in connect return MySQL Connection(*args, **kwargs) File "/home/ubuntu/.local/lib/python3.8/site-packages/mysql/connector/connection.py", line 104, in __init__ self.connect(**kwargs) File "/home/ubuntu/.local/lib/python3.8/site-packages/mysql/connector/abstracts.py", line 960, in connect self._open_connection() File "/home/ubuntu/.local/lib/python3.8/site-packages/mysql/connector/connection.py", line 288, in _open_connection self._socket.open_connection() File "/home/ubuntu/local/lib/python3.8/site-packages/mysql/connectoretwork.py", line 608, in open_connection raise errors. InterfaceError( ubuntu@ubuntu-VirtualBox:-/Desktop/TikTokCompilationMaker-main/CompilationMakers

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual C# .NET

Authors: Ying Bai

1st Edition

0470467274, 978-0470467275

More Books

Students also viewed these Databases questions

Question

=+(2.9) PUAK =EP(A) - EP(ANA,) k=1 i

Answered: 1 week ago