Bug #78471 Space in hostname is not trimmed while creating connection
Submitted: 17 Sep 2015 13:01 Modified: 9 Dec 2015 0:02
Reporter: Liju PM Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S3 (Non-critical)
Version:6.2, 6.3.4 OS:Any
Assigned to: CPU Architecture:Any

[17 Sep 2015 13:01] Liju PM
Description:
While creating new connection in MySQL Workbench, A 'space' has been added in the hostname, and it is not being trimmed while 'Testing Connection' or 'Connecting' to the server. I got error message saying "Failed to connect to MySQL at <hostname>"

How to repeat:
1. Open MySQL Workbench
2. Go to HomePage
3. Click on 'Setup New Connection' icon
4. Under 'Parameters' tab, fill 'Hostname' field with a 'space'.
5. Fill other details(username, password, schema etc)
6. Click on 'Test Connection' button.
[18 Sep 2015 11:47] Chiranjeevi Battula
Hello Liju PM,

Thank you for the bug report.
Verified this behavior on MySQL Workbench in 6.3.4 version

Thanks,
Chiranjeevi
[18 Sep 2015 11:48] Chiranjeevi Battula
screenshot

Attachment: 78471.zip (multipart/x-zip, text), 111.74 KiB.

[9 Dec 2015 0:02] Philip Olson
Posted by developer:
 
Fixed as of the upcoming MySQL Workbench 6.3.6 release, and here's the changelog entry:

Whitespace is now trimmed from the MySQL Connection fields.

Thank you for the bug report.