<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[OCS Database connection failed]]></title><description><![CDATA[<p dir="auto">Greetings everybody</p>
<p dir="auto">I've just installed a fresh I-DOIT 1.48 on Ubuntu 14.04 LTS and ran into some problems connecting to our OCS 2.1 RC1. Running on a seperate server, the OCS has been in use for some years now without any trouble. To connect the i-doit I created a user in MySQL on the OCS server and allowed external access. This configuration seems to be allright, because I can login and obtain data when I connect from the I-Doit Server Command Line:</p>
<p dir="auto">hr]</p>
<pre><code>root@xxxx:/var/www/html# mysql -u idoit -p -D ocsweb -h 192.168.0.5

Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 102
Server version: 5.0.22-Debian_0ubuntu6.06.15-log

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql&gt; show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| ocsweb             |
+--------------------+
2 rows in set (0.00 sec)

</code></pre>
<hr />
<p dir="auto">But when I configure these settings into i-doit GUI I get an error: "Could not connect to OCS database"</p>
<p dir="auto">Is there a detailed log file to figure out the reason causing this error? Are any special rights need for the MySQL connection?</p>
<p dir="auto">Thanks in advance - any help is much appreciated <img src="https://community.i-doit.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=e20d51f3df8" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://community.i-doit.com/topic/2742/ocs-database-connection-failed</link><generator>RSS for Node</generator><lastBuildDate>Sat, 12 Sep 2026 18:23:59 GMT</lastBuildDate><atom:link href="https://community.i-doit.com/topic/2742.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Aug 2015 12:46:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OCS Database connection failed on Fri, 04 Sep 2015 09:12:33 GMT]]></title><description><![CDATA[<p dir="auto">Unfortunately when I copy the Database from the OCS Server to the local Database on the i-doit installation it works like a charm. But thats not a practicable solution.</p>
<p dir="auto">Furthermore I can't figure out how to specify the connection OCS-Object&lt;-&gt; i-doit Object in the GUI. Some Information isn't passed at all like the User in OCS.</p>
]]></description><link>https://community.i-doit.com/post/11534</link><guid isPermaLink="true">https://community.i-doit.com/post/11534</guid><dc:creator><![CDATA[sebastian.henke]]></dc:creator><pubDate>Fri, 04 Sep 2015 09:12:33 GMT</pubDate></item><item><title><![CDATA[Reply to OCS Database connection failed on Fri, 04 Sep 2015 08:35:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I got the same error on multiple installations and couldn't figure out the problems causing it.</p>
<p dir="auto">Greetings,<br />
Ufi</p>
]]></description><link>https://community.i-doit.com/post/11533</link><guid isPermaLink="true">https://community.i-doit.com/post/11533</guid><dc:creator><![CDATA[Ufi]]></dc:creator><pubDate>Fri, 04 Sep 2015 08:35:12 GMT</pubDate></item></channel></rss>