You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Ignacio Yuste Lopez <iy...@gmail.com> on 2015/02/07 11:46:57 UTC

error 08001 local database

Hi,

I just install derby on my laptop and I'm trying to create a new database.
The first time I try to write the command in ij but error 08001 has appear.
The second time I just copy and paste the command from the tutorial page
and I had have the same result.

 ij> connect 'jdbc:derby:MyDbTest;create=true';
ERROR 08001: No suitable driver found for jdbc:derby:MyDbTest;create=true

After the installation I've add this to .bashrc

export PATH=$PATH:/usr/share/javadb/bin/
export DERBY_HOME=/usr/share/javadb


I copy the exit of sysinfo if somebody could show me the problem

----------------- Información de Java ----------------
Versión de Java:     1.8.0_25
Proveedor de Java:   Oracle Corporation
Inicio Java:         /opt/jdk/jdk1.8.0_25/jre
Classpath de Java:
/usr/share/javadb/lib/derby.jar:/usr/share/javadb/lib/derbynet.jar:/usr/share/javadb/lib/derbytools.jar:/usr/share/javadb/lib/derbyclient.jar
Nombre del SO:       Linux
Arquitectura del SO: amd64
Versión del SO:      3.13.0-45-generic
Nombre usuario Java: portatil
Dir. inicial usuario:/home/portatil
Dir. usuario:        /home/portatil/Documentos/Desarrollo/DB
java.specification.name: Java Platform API Specification
java.specification.version: 1.8
--------- Información de Derby --------
JRE - JDBC: Java SE 6 - JDBC 4.0
[/usr/share/javadb/lib/derby.jar] 10.3.2.1 - (599110)
[/usr/share/javadb/lib/derbytools.jar] 10.3.2.1 - (599110)
[/usr/share/javadb/lib/derbynet.jar] 10.3.2.1 - (599110)
[/usr/share/javadb/lib/derbyclient.jar] 10.3.2.1 - (599110)
------------------------------------------------------
-------------- Información de entorno local ----------
Entorno local actual:  [español/España [es_ES]]
Se encontró soporte para el entorno local: [cs]
 versión: 10.3.2.1 - (599110)
Se encontró soporte para el entorno local: [de_DE]
 versión: 10.3.2.1 - (599110)
Se encontró soporte para el entorno local: [es]
 versión: 10.3.2.1 - (599110)
Se encontró soporte para el entorno local: [fr]
 versión: 10.3.2.1 - (599110)
Se encontró soporte para el entorno local: [hu]
 versión: 10.3.2.1 - (599110)
Se encontró soporte para el entorno local: [it]
 versión: 10.3.2.1 - (599110)
Se encontró soporte para el entorno local: [ja_JP]
 versión: 10.3.2.1 - (599110)
Se encontró soporte para el entorno local: [ko_KR]
 versión: 10.3.2.1 - (599110)
Se encontró soporte para el entorno local: [pl]
 versión: 10.3.2.1 - (599110)
Se encontró soporte para el entorno local: [pt_BR]
 versión: 10.3.2.1 - (599110)
Se encontró soporte para el entorno local: [ru]
 versión: 10.3.2.1 - (599110)
Se encontró soporte para el entorno local: [zh_CN]
 versión: 10.3.2.1 - (599110)
Se encontró soporte para el entorno local: [zh_TW]
 versión: 10.3.2.1 - (599110)
------------------------------------------------------

Re: error 08001 local database

Posted by Bryan Pendleton <bp...@gmail.com>.
On 2/8/2015 1:00 PM, Ignacio Yuste Lopez wrote:
> hi,
>
> I use the first way. I installed java using directly but derby with the repository of Ubuntu.

Did you try using a more recent version of Derby,
downloaded from the Apache website?

Alternatively, can you find more details about the
problem? Do you have a derby.log file?

thanks,

bryan


Re: error 08001 local database

Posted by Ignacio Yuste Lopez <iy...@gmail.com>.
hi,

I use the first way. I installed java using directly but derby with the
repository of Ubuntu.


Ignacio Yuste López

Camilo Jose Cela 8 Portal 2 3º puerta 6
Las Rozas de Madrid, 28232
Madrid

On Sun, Feb 8, 2015 at 5:36 PM, Bryan Pendleton <bp...@gmail.com>
wrote:

> On 2/7/2015 2:46 AM, Ignacio Yuste Lopez wrote:
>
>>   ij> connect 'jdbc:derby:MyDbTest;create=true';
>> ERROR 08001: No suitable driver found for jdbc:derby:MyDbTest;create=true
>>
>>
> Which of the 3 ways of running ij that are documented here
> http://db.apache.org/derby/docs/10.11/getstart/tgsrunningij.html
> did you use?
>
>  I copy the exit of sysinfo if somebody could show me the problem
>>
>> Versión de Java:     1.8.0_25
>>
>
> This is very new.
>
>  [/usr/share/javadb/lib/derby.jar] 10.3.2.1 - (599110)
>>
>
> This is very old.
>
> Why did you select such an old version of Derby?
>
> Does your problem persist if you use Derby 10.11?
>
> thanks,
>
> bryan
>
>

Re: error 08001 local database

Posted by Bryan Pendleton <bp...@gmail.com>.
On 2/7/2015 2:46 AM, Ignacio Yuste Lopez wrote:
>   ij> connect 'jdbc:derby:MyDbTest;create=true';
> ERROR 08001: No suitable driver found for jdbc:derby:MyDbTest;create=true
>

Which of the 3 ways of running ij that are documented here
http://db.apache.org/derby/docs/10.11/getstart/tgsrunningij.html
did you use?

> I copy the exit of sysinfo if somebody could show me the problem
>
> Versión de Java:     1.8.0_25

This is very new.

> [/usr/share/javadb/lib/derby.jar] 10.3.2.1 - (599110)

This is very old.

Why did you select such an old version of Derby?

Does your problem persist if you use Derby 10.11?

thanks,

bryan