[ 
https://issues.apache.org/jira/browse/DERBY-6746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14142980#comment-14142980
 ] 

Knut Anders Hatlen commented on DERBY-6746:
-------------------------------------------

{{jdbc:derby://localhost:1527/myDB;create=true}} only works if you have a 
network server running on localhost. The error message indicates that the 
network server has not been started. To start the network server, you could run 
this command: {{java -jar /path/to/derbynet.jar start}}

> behaviour "connect 'jdbs:derby:myDB;create=true';" and "connect 
> 'jdbc:derby://localhost:1527/myDB;create=true';" are different. first is OK 
> and second is not OK.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6746
>                 URL: https://issues.apache.org/jira/browse/DERBY-6746
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 10.11.1.1
>         Environment: CentOS 6.5
>            Reporter: Boan LIU
>            Priority: Critical
>
> ij> connect 'jdbc:derby://localhost:1527/myDB;create=true';
> ERROR 08001: java.net.ConnectException : Error connecting to server localhost 
> on port 1,527 with message Connection refused.
> ij> connect 'jdbc:derby:myDBtry;create=true';                                 
>                     
> ij(CONNECTION1)> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to