We have done what you have suggested and uploaded the diff and files on github. Link: https://github.com/coldheartpks/DrizzleJDBC/commit/4eb265e884fd76344c26ff8ebb879499f272f3dc We can test now by using -Ddrizzle.test.address=8.8.8.8<http://8.8.8.8:3306/>-Dmysql.test.address= 8.8.8.8 <http://8.8.8.8:3306/> (do not specify port, then it will use the default port set in code) OR -Ddrizzle.test.address=8.8.8.8:4427 <http://8.8.8.8:3306/>-Dmysql.test.address= 8.8.8.8:3306
On Thu, Apr 5, 2012 at 1:38 AM, Waqas Iftikhar <coldheart...@gmail.com>wrote: > For this we will need to have a user which has the privilege to access > database "unit_test_jdbc" over the network remotely as root user cannot > connect to drizzle remotely. > > So what do you suggest should the tester give the whole connection string > in argument to maven like : > -Ddrizzle.test.string=waqas@8.8.8.8:3306 > OR > give address and user name in separate parameters > -Ddrizzle.test.address=8.8.8.8:3306 -Ddrizzle.test.user=waqas > > > On Wed, Apr 4, 2012 at 11:01 PM, Marcus Eriksson <krum...@gmail.com>wrote: > >> >> >> On Wed, Apr 4, 2012 at 7:08 PM, Waqas Iftikhar <coldheart...@gmail.com>wrote: >> >>> Hello Mr. Eriksson, >>> >>> We've been working on the code of the JDBC testing suite to incorporate >>> the changes you suggested. We've succeeded in passing the address of the >>> Drizzle server to connect to the testing code from the command line. While >>> running the code, we have noticed that the connection is established on 3 >>> ports 3306, 3307 and 4427. The tests on port 3306 and 4427 are a success >>> after amending the source code. However, the testing suite is unable to >>> establish connection to the server on port 3307 since there's Drizzle >>> server is not listening on that port. >>> >>> We have a suggestion here. Why don't we also take the port number to >>> connect to as a parameter as well along with the addresses as well. >>> Something like this, -Ddrizzle.test.address=8.8.8.8:3306. What are >>> your thoughts on this? >> >> >> yes, of course, include the port >> >> /Marcus >> > > > > -- > Regards Waqas > -- Regards Waqas
_______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : drizzle-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp