<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Can you run multiple databases with single network server? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/can-you-run-multiple-databases-with-single-network-server/qaa-p/13815144#M4845987</link>
    <description>&lt;P&gt;You can run up to 254 databases on the same network database server.&lt;/P&gt;
&lt;P&gt;To connect to a specific database you need to specify the database name in the client &lt;A href="http://dcx.sybase.com/index.html#sa160/en/dbadmin/how-introduction-connect.html"&gt;connection string&lt;/A&gt;.  For example, using your database server command line,&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;to connect to the first database (dbdatabase1.db with alias name 'database1') as user 'dba' with a password of 'sql' you would use a connection string like: "servername=server;dbn=database1;uid=dba;pwd=sql"&lt;/LI&gt;
&lt;LI&gt;to connect to the second database you would use a connection string similar to "servername=server;dbn=database1;uid=dba;pwd=sql"&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Other connection examples can be found in the &lt;A href="http://dcx.sybase.com/index.html#sa160/en/dbadmin/sa4c950951-aac4-4f5a-9685-a43ab8945194.html"&gt;documentation&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The complete list of connection parameters can be found &lt;A href="http://dcx.sybase.com/index.html#sa160/en/dbadmin/da-conparm.html"&gt;here&lt;/A&gt;.  I would recommend that you read through these pages and become familiar with them.&lt;/P&gt;
&lt;P&gt;Note the reason that you were able to connect to the first database is that the first database started on the server is the default database if no databasename (dbn) is specified in the connection string.&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;</description>
    <pubDate>Thu, 25 Apr 2013 19:27:48 GMT</pubDate>
    <dc:creator>MarkCulp</dc:creator>
    <dc:date>2013-04-25T19:27:48Z</dc:date>
    <item>
      <title>Can you run multiple databases with single network server?</title>
      <link>https://community.sap.com/t5/technology-q-a/can-you-run-multiple-databases-with-single-network-server/qaq-p/13815142</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I created one database running as a network server, but after I created another database running on the same network server, I could only connect the previous one.&lt;/P&gt;
&lt;P&gt;I want to know if this is possible and how to do it, but couldn't find any example online. I have tried this but the service wouldn't start.&lt;/P&gt;
&lt;P&gt;dbsrv12 -n server "c:dbdatabase1.db" -n database1 "c:dbdatabase2.db" -n database2&lt;/P&gt;
&lt;P&gt;Any idea?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2013 18:21:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/can-you-run-multiple-databases-with-single-network-server/qaq-p/13815142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-25T18:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can you run multiple databases with single network server?</title>
      <link>https://community.sap.com/t5/technology-q-a/can-you-run-multiple-databases-with-single-network-server/qaa-p/13815143#M4845986</link>
      <description>&lt;P&gt;Yes, multiple databases can be run on one instance of the SQL Anywhere server.&lt;/P&gt;
&lt;P&gt;If that service is starting, add a console log output to the start command using the -o parameter (and optionally -on or -os to limit size) like so:&lt;/P&gt;
&lt;P&gt;dbsrv12 -n myserver -o server_log.out mydb1.db -n mydb mydb2.db -n mydb2&lt;/P&gt;
&lt;P&gt;The output log (server_log.out above) may identify why the server is unable to start.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2013 19:21:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/can-you-run-multiple-databases-with-single-network-server/qaa-p/13815143#M4845986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-25T19:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can you run multiple databases with single network server?</title>
      <link>https://community.sap.com/t5/technology-q-a/can-you-run-multiple-databases-with-single-network-server/qaa-p/13815144#M4845987</link>
      <description>&lt;P&gt;You can run up to 254 databases on the same network database server.&lt;/P&gt;
&lt;P&gt;To connect to a specific database you need to specify the database name in the client &lt;A href="http://dcx.sybase.com/index.html#sa160/en/dbadmin/how-introduction-connect.html"&gt;connection string&lt;/A&gt;.  For example, using your database server command line,&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;to connect to the first database (dbdatabase1.db with alias name 'database1') as user 'dba' with a password of 'sql' you would use a connection string like: "servername=server;dbn=database1;uid=dba;pwd=sql"&lt;/LI&gt;
&lt;LI&gt;to connect to the second database you would use a connection string similar to "servername=server;dbn=database1;uid=dba;pwd=sql"&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Other connection examples can be found in the &lt;A href="http://dcx.sybase.com/index.html#sa160/en/dbadmin/sa4c950951-aac4-4f5a-9685-a43ab8945194.html"&gt;documentation&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The complete list of connection parameters can be found &lt;A href="http://dcx.sybase.com/index.html#sa160/en/dbadmin/da-conparm.html"&gt;here&lt;/A&gt;.  I would recommend that you read through these pages and become familiar with them.&lt;/P&gt;
&lt;P&gt;Note the reason that you were able to connect to the first database is that the first database started on the server is the default database if no databasename (dbn) is specified in the connection string.&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2013 19:27:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/can-you-run-multiple-databases-with-single-network-server/qaa-p/13815144#M4845987</guid>
      <dc:creator>MarkCulp</dc:creator>
      <dc:date>2013-04-25T19:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can you run multiple databases with single network server?</title>
      <link>https://community.sap.com/t5/technology-q-a/can-you-run-multiple-databases-with-single-network-server/qaa-p/13815145#M4845988</link>
      <description>&lt;P&gt;Thanks for all the helps! The issue has been resolved. Actually I should enter the parameters as follows: &lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="o"&gt;-&lt;/SPAN&gt;&lt;SPAN class="n"&gt;n&lt;/SPAN&gt; &lt;SPAN class="n"&gt;server&lt;/SPAN&gt; &lt;SPAN class="s"&gt;"c:\\db\\database1.db"&lt;/SPAN&gt; &lt;SPAN class="o"&gt;-&lt;/SPAN&gt;&lt;SPAN class="n"&gt;n&lt;/SPAN&gt; &lt;SPAN class="n"&gt;database1&lt;/SPAN&gt; &lt;SPAN class="s"&gt;"c:\\db\\database2.db"&lt;/SPAN&gt; &lt;SPAN class="o"&gt;-&lt;/SPAN&gt;&lt;SPAN class="n"&gt;n&lt;/SPAN&gt; &lt;SPAN class="n"&gt;database2&lt;/SPAN&gt;&lt;SPAN class="err"&gt;"&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;not&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;dbsrv12&lt;/SPAN&gt; &lt;SPAN class="o"&gt;-&lt;/SPAN&gt;&lt;SPAN class="n"&gt;n&lt;/SPAN&gt; &lt;SPAN class="n"&gt;server&lt;/SPAN&gt; &lt;SPAN class="s"&gt;"c:\\db\\database1.db"&lt;/SPAN&gt; &lt;SPAN class="o"&gt;-&lt;/SPAN&gt;&lt;SPAN class="n"&gt;n&lt;/SPAN&gt; &lt;SPAN class="n"&gt;database1&lt;/SPAN&gt; &lt;SPAN class="s"&gt;"c:\\db\\database2.db"&lt;/SPAN&gt; &lt;SPAN class="o"&gt;-&lt;/SPAN&gt;&lt;SPAN class="n"&gt;n&lt;/SPAN&gt; &lt;SPAN class="n"&gt;database2&lt;/SPAN&gt;&lt;SPAN class="err"&gt;"&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;The extra "dbsrv12" caused the trouble(I was using GUI to set up the service).&lt;/P&gt;
&lt;P&gt;The server log option works great too.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2013 10:04:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/can-you-run-multiple-databases-with-single-network-server/qaa-p/13815145#M4845988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-26T10:04:33Z</dc:date>
    </item>
  </channel>
</rss>

