Commit bd1f6ddc authored by Matt Tucker's avatar Matt Tucker Committed by matt

Updated info for SQL Server 2005.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1772 b35dd754-fafc-0310-a699-88a17e54d16e
parent aef8e211
...@@ -36,7 +36,7 @@ Choose your database from the list below for setup details: ...@@ -36,7 +36,7 @@ Choose your database from the list below for setup details:
<ul> <ul>
<li> <a href="#mysql">MySQL</a> <li> <a href="#mysql">MySQL</a>
<li> <a href="#oracle">Oracle</a> <li> <a href="#oracle">Oracle</a>
<li> <a href="#sqlserver2000">Microsoft SQLServer</a> <li> <a href="#sqlserver">Microsoft SQLServer</a>
<li> <a href="#postgres">PostgreSQL</a> <li> <a href="#postgres">PostgreSQL</a>
<li> <a href="#db2">IBM DB2</a> <li> <a href="#db2">IBM DB2</a>
<li> <a href="#hsql">HSQL db (Hypersonic)</a> <li> <a href="#hsql">HSQL db (Hypersonic)</a>
...@@ -135,11 +135,13 @@ Choose your database from the list below for setup details: ...@@ -135,11 +135,13 @@ Choose your database from the list below for setup details:
That will import the schema file. Your database is now setup. That will import the schema file. Your database is now setup.
</ul> </ul>
<p><h2><a name="sqlserver2000">SQL Server 2000</a></h2><p> <p><h2><a name="sqlserver">SQL Server</a></h2><p>
<ul> <ul>
<p><b>SQL Server 2000</b></p>
<b>JDBC Drivers</b><p> <b>JDBC Drivers</b><p>
Microsoft provides a <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=07287b11-0502-461a-b138-2aa54bfdc03a&DisplayLang=en">free JDBC driver</a> that works with Jive Messenger. Microsoft provides a <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=07287b11-0502-461a-b138-2aa54bfdc03a&DisplayLang=en">free JDBC driver</a> that works with Jive Messenger.
After downloading and extracting the drivers, place <tt>msbase.jar</tt>, After downloading and extracting the drivers, place <tt>msbase.jar</tt>,
<tt>mssqlserver.jar</tt>, and <tt>msutil.jar</tt> in the <tt>lib/</tt> <tt>mssqlserver.jar</tt>, and <tt>msutil.jar</tt> in the <tt>lib/</tt>
...@@ -173,6 +175,25 @@ Choose your database from the list below for setup details: ...@@ -173,6 +175,25 @@ Choose your database from the list below for setup details:
when prompted. when prompted.
</ol> </ol>
<p><b>SQL Server 2005</b></p>
A JDBC driver for SQL Server 2005 is <a href="http://www.microsoft.com/sql/downloads/2005/jdbc.mspx">available
from Microsoft</a>. After downloading and extracting the drivers, place <tt>sqljdbc.jar</tt>
in the <tt>lib/</tt> directory of your Jive Messenger installation. Use the following values
in the Jive Messenger web-based setup tool:<p>
<ul>
<li>driver -- <tt>com.microsoft.sqlserver.jdbc.SQLServerDriver</tt>
<li>server -- <tt>jdbc:sqlserver://[HOST_NAME]:[PORT_NUMBER]/database=[DB_NAME]</tt>
</ul>
<p>
where [HOST_NAME] is the host name or IP address of your database server,
and [PORT_NUMBER] is the port that SQLServer is listening on (normally 1433)
and [DB_NAME] is the name of the database (this parameter is optional).
<p><b>SQL Server 7</b></p>
<p>Note: if you are using SQL Server 7, the Open Source jTDS drivers should <p>Note: if you are using SQL Server 7, the Open Source jTDS drivers should
be used instead of the Microsoft JDBC drivers. Download the jTDS driver from be used instead of the Microsoft JDBC drivers. Download the jTDS driver from
<a href="http://jtds.sourceforge.net/">http://jtds.sourceforge.net/</a> <a href="http://jtds.sourceforge.net/">http://jtds.sourceforge.net/</a>
......
...@@ -180,7 +180,8 @@ ...@@ -180,7 +180,8 @@
List presets = new ArrayList(); List presets = new ArrayList();
presets.add(new String[]{"MySQL","com.mysql.jdbc.Driver","jdbc:mysql://[host-name]:3306/[database-name]"}); presets.add(new String[]{"MySQL","com.mysql.jdbc.Driver","jdbc:mysql://[host-name]:3306/[database-name]"});
presets.add(new String[]{"Oracle","oracle.jdbc.driver.OracleDriver","jdbc:oracle:thin:@[host-name]:1521:[SID]"}); presets.add(new String[]{"Oracle","oracle.jdbc.driver.OracleDriver","jdbc:oracle:thin:@[host-name]:1521:[SID]"});
presets.add(new String[]{"MSSQL","com.microsoft.jdbc.sqlserver.SQLServerDriver","jdbc:microsoft:sqlserver://[host-name]:1433;databasename=[database-name]"}); presets.add(new String[]{"MS SQLServer 2000","com.microsoft.jdbc.sqlserver.SQLServerDriver","jdbc:microsoft:sqlserver://[host-name]:1433;databasename=[database-name]"});
presets.add(new String[]{"MS SQLServer 2005","com.microsoft.sqlserver.jdbc.SQLServerDriver","jdbc:sqlserver://[host-name]:1433/database=[database-name]"});
presets.add(new String[]{"PostgreSQL","org.postgresql.Driver","jdbc:postgresql://[host-name]:5432/[database-name]"}); presets.add(new String[]{"PostgreSQL","org.postgresql.Driver","jdbc:postgresql://[host-name]:5432/[database-name]"});
presets.add(new String[]{"IBM DB2","COM.ibm.db2.jdbc.app.DB2Driver","jdbc:db2:[database-name]"}); presets.add(new String[]{"IBM DB2","COM.ibm.db2.jdbc.app.DB2Driver","jdbc:db2:[database-name]"});
%> %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment