Hey Paolo,
I've noticed from your logs that you are using orientdb 2.0-M2. I'm using
1.7.1, not sure if that is the reason why it works for me and not for you...
Cheers,
Dário
On Tuesday, 4 November 2014 21:58:40 UTC, Paolo Di Pietro wrote:
>
> I tried your suggestion, now it starts but returns the following error:
>
> Possibly unhandled OrientDB.RequestError: Database named 'bGsn' already
> exists: /home/pdipietro/orientdb-community-2.0-M2/databases//bGsn
> at Operation.parseError
> (/home/pdipietro/ogsn/node_modules/sails-orientdb/node_modules/oriento/lib/transport/binary/protocol/operation.js:779:13)
> at Operation.consume
> (/home/pdipietro/ogsn/node_modules/sails-orientdb/node_modules/oriento/lib/transport/binary/protocol/operation.js:369:35)
> at Connection.process
> (/home/pdipietro/ogsn/node_modules/sails-orientdb/node_modules/oriento/lib/transport/binary/connection.js:324:17)
> at Connection.handleSocketData
> (/home/pdipietro/ogsn/node_modules/sails-orientdb/node_modules/oriento/lib/transport/binary/connection.js:250:17)
> at Socket.emit (events.js:95:17)
> at Socket.<anonymous> (_stream_readable.js:764:14)
> at Socket.emit (events.js:92:17)
> at emitReadable_ (_stream_readable.js:426:10)
> at emitReadable (_stream_readable.js:422:5)
> at readableAddChunk (_stream_readable.js:165:9)
>
> Any further idea?
>
> Paolo
>
> Il giorno lunedì 3 novembre 2014 19:01:54 UTC+1, Dário Marcelino ha
> scritto:
>>
>> Hi,
>>
>> I don't use sails but I do use waterline + sails-orientdb with success.
>> My config looks like this:
>>
>> var orientAdapter = require('sails-orientdb');
>> ...
>> var config = {
>> adapters: {
>> 'default': orientAdapter,
>> orient: orientAdapter
>> },
>>
>> connections: {
>> myLocalOrient: {
>> adapter: 'orient',
>> host: 'localhost',
>> port: 2424,
>> user: 'root',
>> password: 'root',
>> database: 'gda'
>> }
>> },
>>
>> defaults: {
>> migrate: 'safe'
>> }
>> }
>>
>
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.