Details
- 
    Type:
Bug
 - 
    Status: Done/Fixed
 - 
    Priority:
Blocker
 - 
    Resolution: Fixed/Completed
 - 
    Affects Version/s: 1.6
 - 
    Fix Version/s: 1.7
 - 
    Component/s: None
 - 
    Labels:None
 
Description
When running a setup on a server which required hostname and port, I ran into several problems. Upon looking at setup.sg.txt (why isn't it just called setup.sh?), I noticed that the DBARGS variable has 2 issues:
1. using -z in the if statement will return true for something like "-hmyhost -P1111". Anything in quotes get a zero length return. Since DB args almost always have spaces in them, quotes are needed. After that some lines which should be using $DBARGS are not even using it, causing mysql failures.