[ https://issues.apache.org/jira/browse/SQOOP-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anna Szonyi updated SQOOP-3055: ------------------------------- Summary: SQOOP-3055 MYSQL tests are failing due to the tests ignoring specified username, password and dbname, trying to connect to specified db using "currentUser" (was: MYSQL tests are failing unless using localhost + root) > SQOOP-3055 MYSQL tests are failing due to the tests ignoring specified > username, password and dbname, trying to connect to specified db using > "currentUser" > ----------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: SQOOP-3055 > URL: https://issues.apache.org/jira/browse/SQOOP-3055 > Project: Sqoop > Issue Type: Sub-task > Reporter: Anna Szonyi > Fix For: 1.4.7 > > > MYSQL test are using option.setUser(MySQLTestUtils.getcurrentUser()), where > MySQLTestUtils.getCurrentUser() return > System.getenv("USER"); > or > .. > whoamiArgs[0] = "whoami"; > .. > p = Runtime.getRuntime().exec(whoamiArgs); > Whereas it should use the userName and userPass as specified if called with > -D parameters. -- This message was sent by Atlassian JIRA (v6.3.4#6332)