Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 01-15-2012, 02:26 PM   #1
Bluez
Junior Member
Bluez began at the beginning.
 
Bluez's Avatar
 
Posts: 7
Karma: 10
Join Date: Jan 2012
Device: Windows 10 Tablet
Question Kindle for PC Database

Hi,

This is a cry for help from someone who knows SQLite.

I've been playing around with the database for Kindle for PC, since it would be much quicker to import my books' database than to manually add them all to collections and got quite stuck .

The database is in SQLite, so I've been using SQLite Database Browser.
I can see the tables and manipulate them in SQLite, save them but when I open up the Kindle for PC app, the edited files are removed from the collection, but it does not show up in the other collection.

Since I'm new to databases, I'm not quite sure if I'm doing something wrong.
Also, I just have the Kindle Apps, not an actual Kindle (I use my HTC Flyer to read).

Anby help would be greatly appreciated.
Bluez is offline   Reply With Quote
Old 01-16-2012, 08:22 AM   #2
nynaevelan
eBook Junkie
nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.
 
nynaevelan's Avatar
 
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
Where did you find the k4pc database? What is it named?
nynaevelan is offline   Reply With Quote
Old 01-16-2012, 12:41 PM   #3
Mike L
Wizard
Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.
 
Mike L's Avatar
 
Posts: 1,479
Karma: 3846231
Join Date: Apr 2009
Location: Edinburgh, Scotland
Device: Kindle 3, Samsung Galaxy
Yes, I'd like to know that as well.
Mike L is offline   Reply With Quote
Old 01-16-2012, 01:06 PM   #4
Bluez
Junior Member
Bluez began at the beginning.
 
Bluez's Avatar
 
Posts: 7
Karma: 10
Join Date: Jan 2012
Device: Windows 10 Tablet
The database is located under:
C:\Users\UserName\AppData\Local\Amazon\Kindle\Cach e\db
There are two databases:
- sockeye.dat
- steelhead.dat
I've been using the sockeye.dat to try and manipulate the database.
It only seems to contain the collection databases.
Bluez is offline   Reply With Quote
Old 01-16-2012, 07:53 PM   #5
nynaevelan
eBook Junkie
nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.
 
nynaevelan's Avatar
 
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
I am a newbie at this but I am very good at following instructions, have you figured out a way to re-order the way the collections show up? I see the ordinal number but I do not see a way to edit these numbers to change them to what you wish them to be.

Nyn
nynaevelan is offline   Reply With Quote
Old 01-17-2012, 09:56 AM   #6
Mike L
Wizard
Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.
 
Mike L's Avatar
 
Posts: 1,479
Karma: 3846231
Join Date: Apr 2009
Location: Edinburgh, Scotland
Device: Kindle 3, Samsung Galaxy
Quote:
Originally Posted by Bluez View Post
The database is located under: ....
Got it. Thanks.

For the benefit of XP users, the equivalent path seems to be:

Code:
C:\Documents and Settings\<user name>\Local Settings\Application Data\Amazon\Kindle For PC\Cache\db
I can see lots of files in SQLLite format, but haven't got any further yet.
Mike L is offline   Reply With Quote
Old 01-20-2012, 01:03 PM   #7
Rebecca_06
Member
Rebecca_06 began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2012
Device: Kindle PW
Anybody making any progress with this? I'm on OS X, and for me, the database appears to be in:

Quote:
User\Library\Application Support\Kindle\Cache\Db
The sockeye.dat certainly seems to be the one that updates after I modify my collections (I've been fiddling around with it, after backing it up, of course). I'm particularly interested in finding away to import the content from the json file generated by the Kindle Collections plugin (which is discussed a bit here) but I haven't been able to make it work yet, probably because I don't know what I'm doing.
Rebecca_06 is offline   Reply With Quote
Old 01-20-2012, 02:09 PM   #8
nynaevelan
eBook Junkie
nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.
 
nynaevelan's Avatar
 
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
Quote:
Originally Posted by Rebecca_06 View Post
Anybody making any progress with this? I'm on OS X, and for me, the database appears to be in:



The sockeye.dat certainly seems to be the one that updates after I modify my collections (I've been fiddling around with it, after backing it up, of course). I'm particularly interested in finding away to import the content from the json file generated by the Kindle Collections plugin (which is discussed a bit here) but I haven't been able to make it work yet, probably because I don't know what I'm doing.
Same here and so far all I wanted to do was to put my collections in alpha order. I changed the ordinal number on them but when I open k4pc they are in the same order although they do show as changed in the db.
nynaevelan is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle Touch Collections Database Fizzblizz Kindle Developer's Corner 22 02-28-2012 07:56 AM
Calibre Database cp Kindle Database mitch13 Library Management 1 05-22-2011 07:33 PM
Database problem when resending books to Kindle on 0.7.48 mitch13 Devices 2 03-06-2011 04:10 AM
What Database? LadyLou Calibre 8 02-12-2010 06:32 AM
new database format alexxxm Calibre 10 11-19-2008 03:45 AM


All times are GMT -4. The time now is 11:20 PM.


MobileRead.com is a privately owned, operated and funded community.