<?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>topic Re: Error Viewing Database Information in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110299#M183566</link>
    <description>&lt;P&gt;I had the same problem but i also didnt realize it was the name of the connecting (Free text) when you create the connection in /manager/dbx/dbx/databases&lt;/P&gt;

&lt;P&gt;This needs to be marked as an answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Nov 2014 13:38:45 GMT</pubDate>
    <dc:creator>bravon</dc:creator>
    <dc:date>2014-11-19T13:38:45Z</dc:date>
    <item>
      <title>Error Viewing Database Information</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110292#M183559</link>
      <description>&lt;P&gt;I am testing DB Connect for the first time and receiving an error when I try to use Database Info (/en-US/app/dbx/dbinfo). I can select the database but receive this error:&lt;/P&gt;

&lt;P&gt;External search command 'dbinfo' returned error code 1. Script output = "There is no such database [database] available for this user! "&lt;/P&gt;

&lt;P&gt;I granted the user all permissions to the database and can successfully run queries from the query tab (/en-US/app/dbx/dbquery). If it makes a difference, this is a MySQL database.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 21:49:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110292#M183559</guid>
      <dc:creator>kaylormd</dc:creator>
      <dc:date>2014-03-27T21:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error Viewing Database Information</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110293#M183560</link>
      <description>&lt;P&gt;I am getting this same error when using a MySQL database. I've been using DBX without problem with PostgreSQL databases for months, but attempting to use MySQL database give me this error.&lt;/P&gt;</description>
      <pubDate>Sun, 25 May 2014 23:06:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110293#M183560</guid>
      <dc:creator>joebensimo</dc:creator>
      <dc:date>2014-05-25T23:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error Viewing Database Information</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110294#M183561</link>
      <description>&lt;P&gt;It appears that this occurs when databases are added the the UI. The UI appears to add them to local/database.conf for whatever application was active before selecting Settings &amp;gt; External Data bases. To make the error go away, I moved the contents of database.conf into the dbx/local/database.conf file.&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2014 07:23:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110294#M183561</guid>
      <dc:creator>joebensimo</dc:creator>
      <dc:date>2014-05-29T07:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error Viewing Database Information</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110295#M183562</link>
      <description>&lt;P&gt;do you have any fix for that ? I have the same problem!!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2014 14:59:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110295#M183562</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2014-06-13T14:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error Viewing Database Information</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110296#M183563</link>
      <description>&lt;P&gt;I had the same problem as you and I finally fixed it, first start off by going into your user settings and adding the "dbx_capable" capability.&lt;/P&gt;

&lt;P&gt;Once that is done, make sure you have the right permissions for the database. To do so go to Settings-&amp;gt; External Databases, start off by setting permissions read/write for everyone in all apps just to make sure that this does the trick then go back and reduce permissions as suitable for your needs.&lt;/P&gt;

&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2014 15:47:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110296#M183563</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2014-06-13T15:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error Viewing Database Information</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110297#M183564</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I had the same problem because there was a space character in the database name I chose.&lt;BR /&gt;
I chose "RT Database" as name and the error message was:&lt;/P&gt;

&lt;P&gt;"External search command 'dbinfo' returned error code 1. Script output = "There is no such database [RT] available for this user! "&lt;/P&gt;

&lt;P&gt;I cloned it so I was able to change the name with "RTDB" then the error disappeared.&lt;BR /&gt;
Of course, you can also simply delete and create again with the good name.&lt;/P&gt;

&lt;P&gt;Hope this help.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2014 08:50:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110297#M183564</guid>
      <dc:creator>SupportCSC</dc:creator>
      <dc:date>2014-06-20T08:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error Viewing Database Information</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110298#M183565</link>
      <description>&lt;P&gt;I also found this worked for me too... i had originally thought you were referring to the database's actual name, but realised you meant the name of the connection. No spaces instantly fixed it for me.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2014 04:39:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110298#M183565</guid>
      <dc:creator>danielsimpkins</dc:creator>
      <dc:date>2014-07-16T04:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error Viewing Database Information</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110299#M183566</link>
      <description>&lt;P&gt;I had the same problem but i also didnt realize it was the name of the connecting (Free text) when you create the connection in /manager/dbx/dbx/databases&lt;/P&gt;

&lt;P&gt;This needs to be marked as an answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2014 13:38:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110299#M183566</guid>
      <dc:creator>bravon</dc:creator>
      <dc:date>2014-11-19T13:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error Viewing Database Information</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110300#M183567</link>
      <description>&lt;P&gt;This solved the problem in my case. Seems like by just using UI it does not sometimes write the conf file as it should. Hence, I modified the database.conf file manually, and restarted splunk. Now it is all OK. (btw using  dbx 1.1.7 here)&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 14:25:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-Viewing-Database-Information/m-p/110300#M183567</guid>
      <dc:creator>ilirb</dc:creator>
      <dc:date>2015-09-22T14:25:59Z</dc:date>
    </item>
  </channel>
</rss>

