注:若是有時候select * from test說找不到test,那麼就用select * from ha2.testspa
cd %DERBY_HOME%\binserver
ijtable
connect 'jdbc:derby://127.0.0.1:1527/firstdb;user=ha2;password=peidian';test
show tables;cli
這裏強調一點:在驅動包的使用上,驅動包一共有3個:select
1.derby.jarjdbc
2.derbyclient.jarim
3.derbytools.jartools
若是是嵌入式的鏈接derby那麼就用1和3,若是是client-server模式的鏈接derby那麼就用2和3db