Commit ac3a5bf
committed
BUG#37410052: Wrong exception message being shown when
ConnectionRefusedError is raised by the client
This patch fixes the incorrect error message which is being shown by
the client when ConnectionRefusedError is being raised while connecting
with a MySQL server.
Change-Id: I6d99a0ee68e66105c17c975fa9e30717574fea5a1 parent a611aee commit ac3a5bf
File tree
3 files changed
+34
-8
lines changed- mysql-connector-python
- lib/mysql/connector
- tests
3 files changed
+34
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
788 | 788 | | |
789 | 789 | | |
790 | 790 | | |
791 | | - | |
| 791 | + | |
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
807 | | - | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | | - | |
812 | | - | |
| 807 | + | |
| 808 | + | |
813 | 809 | | |
814 | 810 | | |
815 | | - | |
| 811 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8973 | 8973 | | |
8974 | 8974 | | |
8975 | 8975 | | |
| 8976 | + | |
| 8977 | + | |
| 8978 | + | |
| 8979 | + | |
| 8980 | + | |
| 8981 | + | |
| 8982 | + | |
| 8983 | + | |
| 8984 | + | |
| 8985 | + | |
| 8986 | + | |
| 8987 | + | |
| 8988 | + | |
| 8989 | + | |
| 8990 | + | |
| 8991 | + | |
| 8992 | + | |
| 8993 | + | |
| 8994 | + | |
| 8995 | + | |
| 8996 | + | |
| 8997 | + | |
| 8998 | + | |
| 8999 | + | |
| 9000 | + | |
| 9001 | + | |
| 9002 | + | |
| 9003 | + | |
| 9004 | + | |
0 commit comments