On Friday 12 October 2007 14:31:35 Antony Joseph wrote:
> Hi all
>
> i have an userMananger database in MySQL,
> I want to import all the users from the existing userManger database into
> Turbogears SqlObject database.
>
> How can i do this/
>
> is it possible?
>
> is there any other options to upload the database in my turbogears
> application.

There is no automatism for that - how could it possibly be? Nobody knows what 
your existing usermodel looks like.

There are several options you can chose from. You can import the data into 
your TG database, and create DMLs to create rows for the SO identity objects.

Or you use e.g. the tg-admin shell command + a little script to connect to 
your extisting DB and fetch data from there using MySQLdb, and create 
SO-User-Objects.

And I certain there are some more ways, but these are IMHO the easiest.

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to