srhcpa
2009-06-22 21:32:03 UTC
I am using the tutorial about Netbeans and MySQL at http://www.netbeans.org/kb/60/ide/mysql.html.
When I try to connect to the MySQL server using the database url as :/// I get an error message.
When I try from scratch I have the following to complete:
jdbc:mysql://<HOST>:<PORT>/<DB>
This is where I am getting hung up. I have tried a number of variants such as:
jdbc:mysql://localhost:3306/test
but I keep getting an error message.
Can someone tell me how to set up the database URL and find the needed components?
Thanks,
Steve
When I try to connect to the MySQL server using the database url as :/// I get an error message.
When I try from scratch I have the following to complete:
jdbc:mysql://<HOST>:<PORT>/<DB>
This is where I am getting hung up. I have tried a number of variants such as:
jdbc:mysql://localhost:3306/test
but I keep getting an error message.
Can someone tell me how to set up the database URL and find the needed components?
Thanks,
Steve