Postgresql

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Obsolete Page)
(PostgreSQL Support)
Line 5: Line 5:
 
=PostgreSQL Support=
 
=PostgreSQL Support=
 
{{obsolete}}
 
{{obsolete}}
PostgreSQL is now supported under NHibernate and is part of the standard OpenSim build.  All that is needed is to select the proper entries in OpenSim.ini. This page should probably be deleted.
+
{{archive}}
 +
 
 +
 
 +
'''NOTE!!! PostgreSQL is now supported under NHibernate and is part of the standard OpenSim build.  All that is needed is to select the proper entries in OpenSim.ini.'''
 +
 
 +
 
 
----
 
----
 
This page is dedicated to supply postgreSQL support within opensim. It describes all steps in the process, and what problems may arise. We will use linux as a startingpoint, but windoze-users should have no problems adapting it to their OS.
 
This page is dedicated to supply postgreSQL support within opensim. It describes all steps in the process, and what problems may arise. We will use linux as a startingpoint, but windoze-users should have no problems adapting it to their OS.
Line 32: Line 37:
  
 
[[Category:Development]]
 
[[Category:Development]]
 +
[[Category:Database]]

Revision as of 07:58, 19 November 2010


PostgreSQL Support


NOTE!!! PostgreSQL is now supported under NHibernate and is part of the standard OpenSim build. All that is needed is to select the proper entries in OpenSim.ini.



This page is dedicated to supply postgreSQL support within opensim. It describes all steps in the process, and what problems may arise. We will use linux as a startingpoint, but windoze-users should have no problems adapting it to their OS. First let's get ourselves a workspace... - Get monodevelop (your distro probably has a package for it, otherwise follow building instructions)

- Download the opensim-source into your monodevelop workspace-directory svn co http://opensimulator.org/svn/opensim/trunk opensim

- Modify the opensim/prebuild.sh file, so it creates a monodevelop-project, instead of a visual studio 2005 project Make sure that the last line reads: mono bin/Prebuild.exe /target monodev

- Prepare the project... sh prebuild.sh

- Build it... nant

- Do a test-run to see everything is working: mono workspace/opensim/bin/Opensim.exe

- Fire up monodevelop, and open OpenSim.mds

Now we have a working development environment to test, and write new code. Notice the opensim/OpenSim/Framework directory. It contains alot of important files. What we want to do is to copy as much code as possible from the working mysql-connector(which sucks under linux by the way, but that's a mysql-connector issue, and not a code-problem).

Personal tools
General
About This Wiki