Ticket #1256 (closed bug: fixed)

Opened 20 months ago

Last modified 17 months ago

Cannot connect to mysql when password has a "@".

Reported by: linkerlin Owned by: vighneshbirodkar
Milestone: 2.6 Component: library
Severity: major Keywords: SQLReader
Cc: Blocking:
Blocked By:

Description

from Orange.data.sql import * r = SQLReader() r.connect('mysql://user:xxx@yyyy@192.168.8.44:3306/DianPing?characterEncoding=UTF8')

The SQLReader cannot parse uri to get a right password . _mysql_exceptions.OperationalError: (2005, "Unknown MySQL server host '78()-=@192.168.8. 44' (2)")

Attachments

1256.patch Download (401 bytes) - added by vighneshbirodkar 17 months ago.
Looking for @ from the right

Change History

comment:1 Changed 17 months ago by vighneshbirodkar

  • Status changed from new to accepted
  • Owner set to vighneshbirodkar

Changed 17 months ago by vighneshbirodkar

Looking for @ from the right

comment:2 Changed 17 months ago by vighneshbirodkar

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.