Bug #48424 Forward Engineer does not escape usernames
Submitted: 30 Oct 2:59 Modified: 30 Oct 13:29
Reporter: Edvin Seferovic
Status: Verified
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.1.18a OS:Any
Assigned to: Target Version:WB60
Tags: forward engineer, create user, escaping
Triage: Needs Triage: D4 (Minor)

[30 Oct 2:59] Edvin Seferovic
Description:
Forward engineer does not escape usernames. Creating a username with "-" will fail due
the missing ' ' !

How to repeat:
1. Create new empty file!
2. Create user with username "test-test" ( without the quotes! )
3. Start forward engineer, export user objects
4. SQL part will show 
-- 
CREATE USER test-test IDENTIFIED BY 'test';
--

Suggested fix:
Every username should be "escaped".
[30 Oct 13:29] Miguel Solorzano
Thank you for the bug report.