<div dir="ltr">Hi Jose and list,<br><br>The recommended approach to using additional database tables is not using the OpenCms database but creating a different dabatase for your application/module. That other database can be then accessed two ways:<br>
<br>1.- Granting permissions to the database user that controls OpenCms (by default called "opencms") on the new database you created and using OpenCms API to get a connection for the standard OpenCms database pool.<br>
2.- Defining a separate database pool with the right data (that database can be even by a different vendor, for instance an Oracle database different to the MySQL where you may have installed OpenCms) and once again getting connections through OpenCms API but this time from that other pool. For this approach I suggest you read this nice wiki article: <a href="http://opencms-wiki.org/Using_OpenCms%27s_Database_connection_pool">http://opencms-wiki.org/Using_OpenCms%27s_Database_connection_pool</a> . By the way, the last part of the article shows you how to get data from a database pool in OpenCms and that should be useful to you even if you choose the first approach.<br>
<br>I hope it helps. Greetings,<br><br>Nacho.<br></div>