List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:November 24 2001 7:08pm
Subject:Re: connecting to mysql
View as plain text  
At 3:23 PM -0500 11/24/01, Ricardo Striquer Soares wrote:
>i'd like to connect to mysql sgdb but not by a specific database, only
>the sgdb, using java to send the command "show database" and them afther
>that select a database listed and connect to that database.
>
>i tried "jdbc:mysql://localhost:3306"
>i tried "jdbc:mysql://localhost:3306/"
>
>but those have not worked.
>
>thanks.

What didn't work?  You couldn't connect?  Or you connected and then
"show database" didn't work?  If the latter, you should try "show databbases"
rather than "show database", which is invalid.

Thread
connecting to mysqlRicardo Striquer Soares24 Nov
  • Re: connecting to mysqlPaul DuBois24 Nov