MySQL Forums
Forum List  »  Connector/Python

Connection Arguments - host
Posted by: Mariusz Zięcina
Date: March 27, 2023 04:45AM

Hi

How to configure host argument correctly when I have SQL DB on server instance?
I have configured user only for this instance.

When im trying put:
host='server_name\instance_name'
I have an error:
2005 (HY000): Unknown MySQL server host 'server_name\instance_name' (11001)

When im trying put only:
host='server_name'
I have only the information:
2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0

Regards
Mariusz

Options: ReplyQuote


Subject
Written By
Posted
Connection Arguments - host
March 27, 2023 04:45AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.