John,

Related to your issue - the server was not accessible - I added Jira 
https://issues.apache.org/jira/browse/DRILL-3958 last week. It goes in the same 
direction, when the server is there but the JDBC driver is not.

Regards,

Uwe 


-----Original Message-----
From: John Omernik [mailto:[email protected]] 
Sent: Montag, 26. Oktober 2015 16:22
To: user
Subject: Re: configuring the jdbc storage plugin

Kristine -

After beating my head against the wall on this issue, the result you are 
getting appears to be related when your mysql server isn't actually accessible. 
(Mine wasn't) Once I fixed that issue, then it worked. *Note we could REALLY 
use some better error messages on the storage plugin configurations.  I am not 
sure if this error is the same one that would be returned if your user/pass is 
incorrect though.  In my case, I hadn't started my MySQL server (bollocks)



On Sun, Oct 18, 2015 at 10:46 AM, Kristine Hahn <[email protected]> wrote:

> What's wrong with this command?
>
> curl -X POST -H "Content-Tpe: application/json" -d 
> '{"name":"myplugin",
> "config": {"type": "jdbc", "enabled": false, 
> "driver":"com.mysql.jdbc.Driver", "url":"jdbc:mysql://localhost:3306;"}}'
> http://localhost:8047/storage/myplugin.json
>
> {
>
>   "result" : "error (unable to create/ update storage)"
>
> }
>
>
> Kristine Hahn
> Sr. Technical Writer
> 415-497-8107 @krishahn skype:krishahn
>

Reply via email to