CUBRID - Open Source Database Management System Optimized for Web 2013-02-05T14:37:20-08:00 www.cubrid.org/?module=rss&act=atom XpressEngine Presentations www.cubrid.org/547529 2013-01-08T07:28:05-08:00 2013-02-05T09:01:40-08:00 junoyoon <div class="xe_content"><ul> <li><a class="www.slideshare.net/junhoyoon3994/ngrinder-30-load-test-even-kids-can-do" target="_self">nGrinder 3.0 : Load Test even kids can do</a>&nbsp; written by JunHo Yoon</li> <ul> <li><a class="www.slideshare.net/junhoyoon3994/ngrinder3" target="_self">nGrinder_だれもが簡単にできる性能テスト</a>(Japanese)</li> </ul> <li><a class="mavlarn.github.com/ngrinder-presentation/#/bored" target="_self">Performance Test with nGrinder</a>&nbsp;written by Mavlarn</li> <li>[nGrinder Real Deployment in the large organization] written by JunHo Yoon</li> <li><a class="?module=file&amp;act=procFileDownload&amp;file_srl=553884&amp;sid=86d183ed4abc4968835b67c9ff7469c5">nGrinder 사용자지원 프로세스</a>&nbsp;written by&nbsp;Jo,&nbsp;JiWon (Korean)</li> <li>[nGrinder: Why we should have developed our own load test tool?]</li> </ul></div> Professional Service www.cubrid.org/570269 2013-01-30T08:28:20-08:00 2013-02-05T08:05:25-08:00 junoyoon <div class="xe_content"><p>nGrinder is the open source project which is free to use now and forever. We're developing nGrinder to make the web more stable and reliable. However there might be some organizations who want to deploy nGrinder as their base development infrastructure. For these guys, we can provide some&nbsp;professional&nbsp;services to facilitate the performance centric culture in your organization. This may include followings.</p> <p></p> <ul> <li>Training&nbsp;</li> <ul> <li>How to use nGrinder system&nbsp;</li> <li>How to write the scripts</li> </ul> <li>Deployment</li> <ul> <li>Construct the nGrinder clustering instance across multiple IDCs</li> <li>Provide a plugin which can make the network safe from heavy loads.</li> <li>Provide a SSO plugin for your organization</li> </ul> <li>Tools</li> <ul> <li>You can still use open source <a class="grinder.sourceforge.net/g3/tcpproxy.html" target="_self">TCPProxy</a>&nbsp;to record scripts. However we can provide the better script recorder.&nbsp;</li> </ul> <li>Monitoring</li> <ul> <li>Monitor test execution patterns and help developers to write correct scripts.&nbsp;<br />(We really have good effects from this support. Everyone started to write valid tests just after 2~3 failures)</li> </ul> </ul> <p>Price? It's depends on how big your requests are. If you're a big&nbsp;committer&nbsp;for nGrinder, we're willing to do without charge. <br />If not, we might charge the amount of the time we put on to solve your requests. Please contact to ngrinderglobal at gmail.com if you're interested in.</p> <p></p></div> Philosophy www.cubrid.org/552748 2013-01-14T00:30:37-08:00 2013-02-05T08:04:28-08:00 junoyoon <div class="xe_content"><ul> <li>Reliability over Accuracy</li> <li>TPS over VUser</li> <li>Code is always better than GUI Editor</li> <li>Do not limit!!</li> <li>File System is faster than DB if we use it correctly. </li> <li>Convention over Configuration </li> <li>Open Closed code by Plugin Model </li> <li>One shot Installation </li> <li>Need to add code? Remove same amount of code first. </li> </ul></div> Official Django backend for CUBRID Database www.cubrid.org/575276 2013-02-04T23:46:42-08:00 2013-02-05T01:20:02-08:00 CUBRID www.cubrid.org <div class="xe_content"><p style="text-align: center;"><img src="/img/spacer.gif"> [Solved] CUBRID Python: ImportError: libcascci.so.8: cannot open shared object file: No such file or directory www.cubrid.org/575444 2013-02-05T01:04:59-08:00 2013-02-05T01:10:40-08:00 Esen Sagynov <div class="xe_content"><p>I have encountered this error "<strong>ImportError: libcascci.so.8: cannot open shared object file: No such file or directory</strong>" when running my <a class="/wiki_apis/entry/executing-a-select-query-with-cubrid-python-driver">sample Python program</a> on Ubuntu 12.04.2 using the <a class="/wiki_apis/entry/cubrid-python-driver">CUBRID Python driver</a>.</p> <h2>Solution</h2> <p>The problem was quite trivial: <strong>the environment variables haven't been set after CUBRID and the Python driver have been installed</strong>.</p> <p>So, what I did is simply export the necessary environment variables.</p> <p>In my case, CUBRID is installed using <a class="/wiki_tutorials/entry/create-a-cubrid-database-vm-with-vagrant-and-chef-cookbook-under-5-minutes">Chef Cookbook</a> to <em>/opt/cubrid</em>. Considering this path, I set the necessary CUBRID environment variables as follows:</p> <pre class="brush:bash" title="">export CUBRID=/opt/cubrid export LD_LIBRARY_PATH=$CUBRID/lib:$LD_LIBRARY_PATH export CUBRID_DATABASES=$CUBRID/databases export CUBRID_LANG=en_US export PATH=$CUBRID/bin:$PATH</pre> <p>Done! And the problem is gone!</p> <p>In your case if CUBRID is installed in another location, simply change the first command and set your path. If you still have problems, leave your comment below.</p></div> CUBRID Python Tutorials www.cubrid.org/251163 2012-01-03T22:35:15-08:00 2013-02-05T01:07:38-08:00 Esen Sagynov <div class="xe_content"><h3>Installation Instructions</h3> <ul> <li>[CUBRID Python Driver Installation Instructions]</li> </ul> <h3>Latest News</h3> <ul> <li><a class="/blog/cubrid-appstools/official-django-backend-for-cubrid-database/">Official Django backend for CUBRID Database</a>&nbsp;- blog</li> <li><a class="/blog/cubrid-appstools/romanian-developers-work-on-cubrid-database-support-in-django/">Romanian developers work on CUBRID database support in Django</a>&nbsp;- blog</li> </ul> <h3>Guides and Tutorials</h3> <ul> <li>[Executing a SELECT query with CUBRID Python driver]</li> <li>[CUBRID Python Module Constants]</li> <li>[Install Python Development Package]</li> <li><a class="/python_tutorial" target="_self">CUBRID Python Examples</a></li> <li>[How to use Django with CUBRID]</li> <li><a class="/wiki_apis/entry/solved-python-importerror-no-module-named-cubriddb">[!Solved] Python: ImportError: No module named CUBRIDdb</a></li> <li><a class="/wiki_apis/entry/solved-cubrid-python-importerror-libcascci-so-8-cannot-open-shared-object-file-no-such-file-or-directory">[!Solved] CUBRID Python: ImportError: libcascci.so.8: cannot open shared object file: No such file or directory</a></li> </ul> <h3>Questions and Answers</h3> <ul> <li><a class="/questions" target="_self">Questions and Answers</a></li> </ul></div> CUBRID Perl Driver Build Guide www.cubrid.org/243249 2011-12-01T00:12:48-08:00 2013-02-04T22:34:10-08:00 Esen Sagynov <div class="xe_content"><h2>Description</h2> <p>This document describes the installation and configuration of DBD::cubrid, a Perl DBI driver for CUBRID database. Before reading on, make sure that you have the prerequisites installed: Perl, CUBRID and DBI. For details see the&nbsp;<b>Prerequisites</b>&nbsp;section below.</p> <p>Depending on the version of your Perl, it may be possible to use a binary distribution of DBD::CUBRID. If possible, this is recommended. Otherwise you need to install it from the sources. If so, you will definitely need a C compiler. Installation from sources is described in separate&nbsp;<b>Installation from Source&nbsp;</b>section below.</p> <h2>Prerequisites</h2> <ul> <li><b>Perl</b><br /><br />Preferrably a version of Perl, that comes preconfigured with your system. For example, all Linux and FreeBSD distributions come with Perl. For Windows, ActivePerl is recommended, see <a class="www.activestate.com">www.activestate.com</a> for details.<br /><br /></li> <li><b>CUBRID</b><br /><br />You need install the actual CUBRID database management system. You can download <a class="/downloads">CUBRID</a> here. If you want to install from source code an build it, see <a class="/download_source_and_build">How to Download CUBRID Source Code and Build it</a> for details.<br /><br /></li> <li><b>DBI<br /></b><br />DBD::cubrid is a DBI driver, hence you need DBI. The DBI home page is <a class="dbi.perl.org/">dbi.perl.org/</a>. <br /><span style="color: #ff0000;">The DBI 1.61 or higher version is needed in Cubrid Perl driver. </span><br /><br /><b>DBI Installation from source:</b><br /><br /> 1. Download the DBI-1.x.x.tar.gz from <a class="search.cpan.org/~timb/DBI/">search.cpan.org/~timb/DBI/</a><br /> 2. Unpack the source code.<br /> <blockquote> <pre> tar -zxf DBI-1.x.x.tar.gz</pre> </blockquote> 3. Build and install.<br /> <blockquote> <pre> perl Makefile.PL make make install</pre> </blockquote> <br /> <b>Register Cubrid driver into DBI.pm</b><br /> Edit the DBI.pm file installed in the above step, and add the red line below. For example: perl-5.16.1/lib/site_perl/5.16.1/x86_64-linux/DBI.pm <blockquote> <pre> my $dbd_prefix_registry = { &hellip;&hellip; sys_ =&gt; { class =&gt; 'DBD::Sys', }, tdat_ =&gt; { class =&gt; 'DBD::Teradata', }, tmpl_ =&gt; { class =&gt; 'DBD::Template', }, tmplss_ =&gt; { class =&gt; 'DBD::TemplateSS', }, tree_ =&gt; { class =&gt; 'DBD::TreeData', }, tuber_ =&gt; { class =&gt; 'DBD::Tuber', }, uni_ =&gt; { class =&gt; 'DBD::Unify', }, vt_ =&gt; { class =&gt; 'DBD::Vt', }, wmi_ =&gt; { class =&gt; 'DBD::WMI', }, x_ =&gt; { }, # for private use xbase_ =&gt; { class =&gt; 'DBD::XBase', }, xl_ =&gt; { class =&gt; 'DBD::Excel', }, yaswi_ =&gt; { class =&gt; 'DBD::Yaswi', }, <span style="color: #ff0000;">cubrid_ =&gt; { class =&gt; 'DBD::cubrid', },</span> };</pre> </blockquote> </li> <li><b>C compiler</b><br /><br />A C compiler is only required, if you install from source. In most cases there are binary distributions of DBD::cubrid available. However, if you need a C compiler, make sure, that it is the same C compiler that was used for compiling Perl and CUBRID. Otherwise you will almost definitely encounter problems because of differences in the underlying C runtime libraries.<br /><br />In the worst case, this might mean to compile Perl and CUBRID yourself. But believe me, experience shows that a lot of problems are fixed this way.</li> </ul> <h2>Installation from Source</h2> <p>So you need to install from sources. If you are lucky, the Perl module CPAN will do all for you. Otherwise you will need to do a manual installation. Some of you, in particular system administrators of multiple sites, will choose automatic installation. All of these installation types have an own section.</p> <h3>CPAN installation</h3> <h4>Install the latest version of DBD::cubrid</h4> <p>Installation of DBD::cubrid can be incredibly easy:</p> <blockquote> <pre>$ cpan cpan&gt; install DBD::cubrid</pre> </blockquote> <p>If you are using the CPAN module for the first time, just answer the questions by accepting the defaults which are fine in most cases. If you are using an older version of Perl, you might instead need a</p> <blockquote> <pre>$ perl -MCPAN -e shell cpan&gt; install DBD::cubrid</pre> </blockquote> <p>If you cannot get the CPAN module working, you might try to manual installation.</p> <h4>Install a givern version of DBD::cubrid</h4> <p>By default, CPAN will install the latest release of a module. If you want to install a given release, you can follow the below steps:</p> <p>1. List releases.</p> <p>you can use the ls command to get this path listed.</p> <blockquote> <pre>cpan&gt; ls CUBRID</pre> </blockquote> <p>The result maybe like the below. It shows which versions are available.</p> <blockquote> <pre> 638 2011-10-21 CUBRID/DBD-cubrid-8.4.0.0001.meta 25043 2011-12-02 CUBRID/DBD-cubrid-8.4.0.0001.tar.gz 643 2012-01-20 CUBRID/DBD-cubrid-8.4.0.0002.meta 71812 2012-01-20 CUBRID/DBD-cubrid-8.4.0.0002.tar.gz 643 2012-03-26 CUBRID/DBD-cubrid-8.4.1.0001.meta 71956 2012-03-26 CUBRID/DBD-cubrid-8.4.1.0001.tar.gz 643 2012-05-23 CUBRID/DBD-cubrid-8.4.3.0001.meta 71926 2012-11-16 CUBRID/DBD-cubrid-8.4.3.0001.tar.gz 643 2012-09-21 CUBRID/DBD-cubrid-9.0.0.0001.meta 73257 2012-10-15 CUBRID/DBD-cubrid-9.0.0.0001.tar.gz</pre> </blockquote> <p>2. Install the given version.</p> <p>You have to specify the partial path starting with the author id(uppercased) to the tarball you wish to install. The author id of DBD-cubrid is <b>cubrid</b>. The tarball file name is DBD-cubrid-&lt;version&gt;.tar.gz. For example, you want to install version 8.4.3.0001.</p> <blockquote> <pre>cpan&gt; install CUBRID/DBD-cubrid-8.4.3.0001.tar.gz</pre> </blockquote> <p>If you cannot get the CPAN module working, you might try to manual installation.</p> <h3>Manual installation</h3> <p>For a manual installation you need to fetch the DBD::cubrid source distribution. The latest version is always available from</p> <pre> <a class="https://sourceforge.net/projects/cubrid/files/CUBRID-Drivers/Perl_Driver">https://sourceforge.net/projects/cubrid/files/CUBRID-Drivers/Perl_Driver/</a></pre> <p>The name is typically something like</p> <pre> DBD-cubrid-X.X.X.tar.gz</pre> <p>The archive needs to be extracted. On Windows you may use a tool like WinZip, on Unix you type</p> <pre> tar zxvf DBD-cubrid-X.X.X.tar.gz</pre> <p>This will create a subdirectory RB-X.X.X. Enter this subdirectory and type</p> <blockquote> <pre> perl Makefile.PL make make test</pre> </blockquote> <p>(On Windows you may need to replace ``make'' with ``nmake'' or ``dmake''.)If the tests seem to look fine, you may continue with</p> <blockquote> <pre> make install</pre> </blockquote> <h2>Support</h2> <p>Finally, if everything else fails, you are not alone. Post a question on our <a target="_self" class="/questions">Q&amp;A</a> site and we will help you out.</p> <div class="vimiumHUD" style="right: 150px; display: none; opacity: 0;"></div> <div class="vimiumHUD" style="right: 150px; display: none; opacity: 0;"></div></div> How to run the multiple tests with different weight www.cubrid.org/546775 2013-01-07T21:44:51-08:00 2013-02-04T20:45:02-08:00 junoyoon <div class="xe_content"><p>The real user is not simple. There might have multiple usage scenarios for the target system. If you want to simulate this on The Grinder script, you may need to run multiple tests with different weight.</p> <p>With following The Grinder script technique, it’s possible to simulate this case. You can upload the each scenarios in the <b>lib </b>folder(refer [How to use library]) and create the test script which control each test scenario like following.</p> <pre class="brush: py;"># Run test scripts in parallel # Run TestScript1 in 50% of threads, TestScript2 in 30% of threads, # and TestScript3 in 20% of threads. from net.grinder.script.Grinder import grinder # You can locate Scenario1,2,3.py files in the lib folder. scripts = 〔"Scenario1", "Scenario2", "Scenario2"〕 # Ensure modules are initialised in the process thread. for script in scripts: exec("import %s" % script) def createTestRunner(script): exec("x = %s.TestRunner()" % script) return x class TestRunner: def __init__(self): tid = grinder.threadNumber s = tid % 10 if s in range(1,5): self.testRunner = createTestRunner(scripts〔0〕) elif s in range(6,8): self.testRunner = createTestRunner(scripts〔1〕) else: self.testRunner = createTestRunner(scripts〔2〕) # This method is called for every run. def __call__(self): self.testRunner()</pre></div> CUBRID ADO.NET Schema Provider www.cubrid.org/535723 2012-12-24T22:40:09-08:00 2013-02-04T18:28:18-08:00 kevinyang <div class="xe_content"><p><span style="font-family: Arial;">The CUBRIDSchemaProvider class provides support for database schema, provides the following functions: query user tables, indexes, views, database users, etc.&nbsp;</span></p> <p><span style="font-family: Arial;"> </span></p> <p><b><span style="font-family: Arial;">Need to add the following code:</span></b></p> <p><span style="font-family: Arial;"> </span></p> <pre class="brush:csharp" title="">using System.Data; using System.Data.Common; using CUBRID.Data.CUBRIDClient;</pre> <p><span style="font-family: Arial;"> </span></p> <p><b><span style="font-family: Arial;">Define the connection string:</span></b></p> <p><span style="font-family: Arial;"> </span></p> <pre class="brush:csharp" title="">/* conection string, please modify before using. */ string _connString = "server=localhost;database=demodb;port=33000;user=public;password=";</pre> <p><span style="font-family: Arial;"> </span></p> <p><span style="font-family: Arial;"><b>Use CUBRIDConnectionStringBuilder class generated connection string:</b></span></p> <pre class="brush:csharp" title="">string server = "localhost"; int port = 33000; string database = "demodb"; string user = "public"; string password = ""; string encoding = "utf-8"; CUBRIDConnectionStringBuilder sb = new CUBRIDConnectionStringBuilder(server, port, database, user, password, encoding); string _connString = sb.GetConnectionString();</pre> <p><b><span style="font-family: Arial;">Get All User Tables:</span></b></p> <p><span style="font-family: Arial;"> </span></p> <pre class="brush:csharp" title="">/* create a new CUBRIDConnection instance */ using (CUBRIDConnection conn = new CUBRIDConnection()) { try { /* set the connection string */ conn.ConnectionString = _connString; /* connect to db server */ conn.Open(); /* create a new CUBRIDSchemaProvider instance */ CUBRIDSchemaProvider schema = new CUBRIDSchemaProvider(conn); /* get all tables */ DataTable dt = schema.GetTables(new string[] { "%" }); /* print all tables */ for (int i = 0; i &lt; dt.Rows.Count; i++) Console.WriteLine(dt.Rows[i][2].ToString()); } catch (Exception exp) { Console.WriteLine(exp.Message); } }</pre> <p><span style="font-family: Arial;"> </span></p> <p><b><span style="font-family: Arial;">Get all users:</span></b></p> <p><span style="font-family: Arial;"> </span></p> <pre class="brush:csharp" title="">/* create a new CUBRIDConnection instance */ using (CUBRIDConnection conn = new CUBRIDConnection()) { try { /* set the connection string */ conn.ConnectionString = _connString; /* connect to db server */ conn.Open(); /* create a new CUBRIDSchemaProvider instance */ CUBRIDSchemaProvider schema = new CUBRIDSchemaProvider(conn); /* get all users */ DataTable dt = schema.GetUsers(null); /* print all users */ for (int i = 0; i &lt; dt.Rows.Count; i++) Console.WriteLine(dt.Rows[i][0].ToString().ToUpper()); } catch (Exception exp) { Console.WriteLine(exp.Message); } }</pre> <p><span style="font-family: Arial;"> </span></p> <p><b><span style="font-family: Arial;">Get all views:</span></b><b>&nbsp;</b></p> <p><span style="font-family: Arial;"> </span></p> <pre class="brush:csharp" title="">/* create a new CUBRIDConnection instance */ using (CUBRIDConnection conn = new CUBRIDConnection()) { try { /* set the connection string */ conn.ConnectionString = _connString; /* connect to db server */ conn.Open(); /* create a new CUBRIDSchemaProvider instance */ CUBRIDSchemaProvider schema = new CUBRIDSchemaProvider(conn); /* get all tables */ DataTable dt = schema.GetViews(new string[] { "%" }); /* print all tables */ for (int i = 0; i &lt; dt.Rows.Count; i++) Console.WriteLine(dt.Rows[i][2].ToString()); } catch (Exception exp) { Console.WriteLine(exp.Message); } }</pre> <p><span style="font-family: Arial;"> </span><b>&nbsp;</b><b>Sample Code:&nbsp;</b><b><a class="/?module=file&amp;act=procFileDownload&amp;file_srl=535782&amp;sid=68ea70555d750ba948231dd2a02027de">SchemaProviderTest.cs</a></b></p></div> How to using the CUBRID ADO.NET Data Provider? www.cubrid.org/575034 2013-02-04T18:15:29-08:00 2013-02-04T18:21:45-08:00 kevinyang <div class="xe_content"><h2>Create a new project</h2> <p>Open Microsoft VS.net 2008, select [File]-&gt;[New]-&gt;[Project&hellip;]. In the new project dialog, select [Other Languages]-&gt; Visual C# and project type is [Console Application]. Input project name: Sample, press OK.</p> <p><img src="/img/spacer.gif"> CUBRID Python Driver Installation Instructions www.cubrid.org/251152 2012-01-03T22:24:09-08:00 2013-02-04T18:20:55-08:00 Esen Sagynov <div class="xe_content"><h3>Requirements</h3> <ul> <li><b>CUBRID</b>: 8.4.0+</li> <li><b>OS:</b> <ul> <li>Windows x32/x64</li> <li>Linux x32/x64</li> <li>Other UNIX and UNIX-like OS</li> </ul> </li> <li><b>Python:</b>&nbsp;2.4+</li> </ul> <h3>Installation</h3> <p>There are several ways to install CUBRID Python Driver. Below you will see instructions for each of them.</p> <ul> <li>[Installing CUBRID Python Driver using yum (Fedora, CentOS)]</li> <li>[Installing CUBRID Python Driver using apt-get (Ubuntu)]</li> <li>[Install CUBRID Python Driver from Source (Linux)]</li> <li>[CUBRID Python easy_install (Linux)]</li> <li>[Install CUBRID Python Driver using pip (Linux)]</li> <li>[Downloading and Installing Precompiled CUBRID Python Driver (windows)]</li> <li><a class="/wiki_tutorials/entry/create-a-cubrid-database-vm-with-vagrant-and-chef-cookbook-under-5-minutes">Create a CUBRID Database VM with Vagrant and Chef Cookbook under 5 minutes</a>&nbsp;(Linux)</li> <li><a class="/wiki_apis/entry/how-to-use-django-with-cubrid">Official Django backend for CUBRID Database</a></li> </ul></div> How to use Django with CUBRID www.cubrid.org/552405 2013-01-13T20:58:00-08:00 2013-02-04T18:19:47-08:00 Esen Sagynov <div class="xe_content"><h2><b>Overview</b></h2> <p><strong>Django_cubrid</strong> is the official <a class="https://www.djangoproject.com/">Django</a> backend for CUBRID Database which is distributed together with the <a class="/wiki_apis/entry/cubrid-python-driver">CUBRID Python driver</a> (<strong>CUBRIDdb</strong>).&nbsp;When using Django web framework with CUBRID database, the <strong>django_cubrid</strong> backend should be used.</p> <p>For more information about CUBRID Database, refer to&nbsp;<a class="/wiki_tutorials/entry/important-facts-to-know-about-cubrid">Important Facts to Know about CUBRID</a>.</p> <h2><b>Prerequisites</b></h2> <ol> <li><a class="www.python.org/">Python</a><strong> 2.5 - 2.7<br /><span style="font-weight: normal;">Being a Python Web framework, Django requires&nbsp;</span><a style="font-weight: normal;" class="www.python.org/">Python</a>&nbsp;<span style="font-weight: normal;">version from 2.5 to 2.7 (due to backwards incompatibilities in Python 3.0, Django does not currently work with Python 3.0).<br />So, when using&nbsp;<strong>django_cubrid</strong>, the Python version should also be from 2.5 to 2.7.&nbsp;</span></strong></li> <li><a class="/wiki_apis/entry/cubrid-python-driver">CUBRIDdb</a> (the CUBRID Python driver)<br />The <strong>django_cubrid</strong> backend will call the Python interface to access CUBRID DB.&nbsp;</li> <li><a class="https://www.djangoproject.com/">Django</a>&nbsp;Web Framework<br />The <strong>django_cubrid</strong> backend requires Django 1.4 (tested with Django-1.4.2).</li> </ol> <p>Relevant links:</p> <ul> <li><a class="www.python.org/getit/">www.python.org/getit/</a></li> <li><a class="/wiki_apis/entry/cubrid-python-driver-installation-instructions">www.cubrid.org/wiki_apis/entry/cubrid-python-driver-installation-instructions</a></li> <li><a class="https://docs.djangoproject.com/en/1.4/intro/install/">https://docs.djangoproject.com/en/1.4/intro/install/</a></li> </ul> <h2><b>Build and Install</b></h2> <p>Since <strong>django_cubrid</strong> backend is distributed together with the CUBRID Python driver, all you need to do is <a class="/wiki_apis/entry/cubrid-python-driver-installation-instructions">install the CUBRID driver</a>.</p> <h2><b>Configure django_cubrid</b></h2> <p>Configure the <code>DATABASES</code> part in your <strong>setting.py</strong>&nbsp;as shown below:</p> <pre class="brush:bash" title="">DATABASES = { 'default': { 'ENGINE': 'django_cubrid', # The backend name: django_cubrid 'NAME': 'demodb', # CUBRID database name: eg. demodb 'USER': 'public', # a database user: eg. public 'PASSWORD': '', # a database user password: eg. an empty password 'HOST': '', # Set to empty string for localhost. 'PORT': '33000', # Set to empty string for default 33000. } }</pre> <h2><b>Known issues</b></h2> <ul> <li>The Django <code>sqlflush</code> command may fail because of the foreign constraints between database tables.</li> <li>After using the Django <code>loaddata</code> command, the insert SQL manipulation in the application may fail, becuse of the unique constraint violations.</li> <li>You may also encounter the below warning:<br /><code>RuntimeWarning: DateTimeField received a naive datetime (2013-01-15 06:38:37.463000) while time zone support is active.</code><br />The reason is that <a class="/questions/241022">CUBRID doesn't support timezone</a>. You can set "USE_TZ" to <code>False</code> in <strong>settings.py</strong> to avoid this warning.</li> </ul> <h2><b>License</b></h2> <p>CUBRID is distributed under two licenses:</p> <ul> <li>The CUBRID Database Engine is distributed under <strong>GPL v2 or later</strong>.</li> <li>The drivers including the <strong>django_cubrid</strong>&nbsp;backend are distributed under <strong>BSD license</strong>.</li> </ul> <p>For more information about the licensing policy, visit <a class="/license">www.cubrid.org/license</a>.</p></div> CUBRID ADO.NET Tutorials www.cubrid.org/251323 2012-01-04T00:01:41-08:00 2013-02-04T18:18:04-08:00 kevinyang <div class="xe_content"><h3>Latest Announcements</h3> <ul> <li><a class="/blog/cubrid-appstools/cubrid-ado-net-driver-stable-1-0-version/" target="_self">CUBRID ADO.NET Driver Stable 1.0 version has been released</a></li> <li><a class="/blog/cubrid-appstools/official-ado-dot-net-driver-for-cubrid/" target="_self">Official ADO.NET Driver for CUBRID is now available</a></li> </ul> <h3>Installation Instructions</h3> <ul> <li>[CUBRID ADO.NET Driver Installation Guide]</li> </ul> <h3>CUBRID ADO.NET TestCases</h3> <ul> <li>[ADO.NET TestCases] - Find Out How To Use ADO.NET Driver with CUBRID</li> </ul> <h3>Guides and Tutorials</h3> <ul> <li>[A Simple Query/Retrieve Code] </li> <li>[Batch Commands]</li> <li>[Connection Options]</li> <li>[Connection String]</li> <li>[CUBRID Collections]</li> <li>[CUBRID LOBs]</li> <li>[CUBRID Metadata support]</li> <li>[CUBRID NHibernate Tutorial]</li> <li>[CUBRID OIDs]</li> <li>[DataTable Support] </li> <li>[Transactions]</li> <li>[Working With Parameters]</li> <li>[CUBRID ADO.NET Error Codes and Messages]</li> <li>Sample<br /> <ul> <li>[How to using the CUBRID ADO.NET Data Provider?]</li> <li>[Connect to CUBRID Database]</li> <li>[Manage Table] </li> <li>[CUBRID ADO.NET Schema Provider]</li> <li>[How to add multiple rows of data?]</li> <li>[How to calling Java Stored Function/Procedure(C#)?]</li> <li>[Using ENUM data type]</li> </ul> </li> <li><a class="msdn.microsoft.com/en-us/library/e80y5yhx%28v=vs.80%29.aspx" target="_self">ADO.NET MSDN Documentation</a></li> </ul> <ul> <li><a class="/questions" target="_self">Questions and Answers</a></li> </ul> <h3>Questions and Answers</h3></div> Installation Guide www.cubrid.org/380552 2012-06-22T03:15:50-07:00 2013-02-04T07:06:23-08:00 junoyoon <div class="xe_content"><h2>Prerequisite</h2> <p>nGrinder is a combination of a web application(Controller) and a Java application(Agent).</p> <ul> <li>To install nGrinder controller, you need to first have Oracle JDK 1.6 and Tomcat 6.X or later. <ul> <li>We don't support OpenJDK yet. </li> <li>We don't support IP6 </li> </ul> </li> <li>To install nGrinder agent, all you need is Oracle JDK 1.6 <ul> <li>We don't support OpenJDK yet. </li> <li>We don't support IP6 </li> </ul> </li> </ul> <p>If you installed 32bit JVM on your 64bit OS. nGrinder won't work.</p> <p>If you don’t know what a controller and agent are, please refer to [Architecture].</p> <p>If you like to in
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.