When I make those changes I see this new error, indicating that sqlite3 
can't be loaded. Not sure exactly what the issue would be there.

<https://lh3.googleusercontent.com/-fw_yWGmY5YI/WaCSwI5odLI/AAAAAAAAAAo/1B4CiwMD37M8f_2Yiw1ggwA5dIFYg7CewCLcBGAs/s1600/Screen%2BShot%2B2017-08-25%2Bat%2B2.10.35%2BPM.png>


On Friday, August 25, 2017 at 1:49:48 PM UTC-7, Jeremy Evans wrote:
>
> On Friday, August 25, 2017 at 1:29:50 PM UTC-7, [email protected] 
> <javascript:> wrote:
>>
>> This is the file where I set up my database:
>> require 'sinatra/sequel'
>> require 'jdbc/mysql'
>>
>> Sequel.connect(adapter: 'jdbc/mysql', host: 'localhost', user: 
>> 'dscheider', database: 'pelicans', username: 'root')
>>
>
> adapter: 'jdbc/mysql' is incorrect.  JDBC connections should always use 
> the JDBC URL (see 
> http://sequel.jeremyevans.net/rdoc/files/doc/opening_databases_rdoc.html#label-jdbc+).
>  
> You should also be assigning the connection to a constant (or something):
>
>   DB = Sequel.connect('jdbc:mysql://dscheider@localhost/pelicans')
>
> Thanks,
> Jeremy
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to