Change font size
It is currently Sat May 18, 2013 12:29 am

Forum rules


Image



Post a new topicPost a reply Page 1 of 1   [ 5 posts ]
Author Message
 Post subject: Any recommendations on a problem I have?
PostPosted: Fri Apr 11, 2008 9:17 am 
Furious Typer
User avatar

Joined: Sat Feb 02, 2008 10:02 pm
Posts: 104
Location: Romania, Bucharest
I am currently running my sims on sqlite storage, my prims and all settings being stored in opensim.db. I want to convert to mysql storage, and keep both of the sims I currently have with all their prims, terrain, and all the scripts on them (subdivisions and parcel settings can easily be remade if its the case).

I tried the apparently only option; save-xml and load-xml. Sadly, I already have a high number of prims which causes save-xml to fail and not save all of them. When load-xml-ing, only a part of my prims get loaded, causing incomplete buildings and the like. Can anyone please tell me how I can change my sims from sqlite to mysql without loosing all my prims, their scripts and terrain?


Top
 Profile  
 
 Post subject: Re: Any recommendations on a problem I have?
PostPosted: Thu Jun 19, 2008 9:28 am 

Joined: Tue Mar 25, 2008 12:45 pm
Posts: 3
Hi Mercea.
Ok i know virtually nothing about all this but i have read on Nebaden that when you save xmls use the new xml2 extension, and additionally create neww uuid''s for the prim set to avoid clashing with duplicate uuid's.
I'll hunt around for a database/sql method i'm sure it is a common situation.
hope that helps :)


Top
 Profile  
 
 Post subject: Re: Any recommendations on a problem I have?
PostPosted: Thu Jun 19, 2008 9:37 am 

Joined: Tue Mar 25, 2008 12:45 pm
Posts: 3
hi again Mercea
I found this :
SQLite ----> MySql

Download sqlite3.exe on http://www.sqlite.org
Export the SQLite database with sqlite3.exe and command parameter ".dump" (Nate, ".export" doesn't exist!), an example :
sqlite3 mySQLiteDataBase .dump .quit >> myDumpSQLite
Adapt the dump to get it compatible for MySQL
- Replace " (double-quotes) with ` (grave accent)
- Remove "BEGIN TRANSACTION;" "COMMIT;", and lines related to "sqlite_sequence"
- Replace "autoincrement" with "auto_increment"
The dump is ready to get imported in a MySQL server
MySql ----> SQLite

Export the database in an ASCII compatible format. (functionnality available in phpMyAdmin 2.6.1)
Import to SQLite with command line : sqlite3 mySQLiteDataBase < dumpMySQL
on this website....
http://sqlite.phxsoftware.com/

mabby helpful ;)


Top
 Profile  
 
 Post subject: Re: Any recommendations on a problem I have?
PostPosted: Thu Jun 19, 2008 9:41 am 

Joined: Tue Mar 25, 2008 12:45 pm
Posts: 3
And finally,
this is a manager for sqlite
http://sourceforge.net/project/showfile ... _id=201528


Top
 Profile  
 
 Post subject: Re: Any recommendations on a problem I have?
PostPosted: Fri Jun 20, 2008 4:43 am 

Joined: Thu Jun 19, 2008 1:49 pm
Posts: 5
Isn't it possible just to copy and paste all the data in the tables? :-P

Or do that with an automated script, that is...

I was just about to paste a link, but realised zoon beat me to it. :D
Nice one.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 5 posts ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net