Title: Connection with Database
Last modified: May 8, 2018

---

# Connection with Database

 *  Resolved [nathdbest](https://wordpress.org/support/users/nathdbest/)
 * (@nathdbest)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/connection-with-database/)
 * I am trying to link the json importer with a database I have running but for 
   some reason, I cannot seem to get any data from the database.
 * The code I am using is this:
    [jsoncontentimporter url=”[http://localhost/items/read.php&#8221](http://localhost/items/read.php&#8221);
   basenode=”data”]
    - Name:{Name}
    - Description: {Description}
    - Team Leader: {Team_Leader}
    - Has Images: {Has_Images}
    - Has Documents: {Has_Documents}
    - Date of Submission {Date_of_Submission}
 *  [/jsoncontentimporter]
 * in which the read file is reading from the database that I have. For some reason,
   it is not retrieving any data
 * Any idea what it can be?
 * I can offer any other information that is needed to help me out with this matter

Viewing 1 replies (of 1 total)

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/connection-with-database/#post-10266500)
 * Hi,
 * add debugmode=10 to see if the retrieving of the JSON is successful.
    Or a http-
   Errormessages comes up…
 * [jsoncontentimporter url=”http://localhost/items/read.php” debugmode=10 basenode
   =”data”]
 *  Name:{Name}
 *  Description: {Description}
    Team Leader: {Team_Leader} Has Images: {Has_Images}
   Has Documents: {Has_Documents} Date of Submission {Date_of_Submission}
 * [/jsoncontentimporter]

Viewing 1 replies (of 1 total)

The topic ‘Connection with Database’ is closed to new replies.

 * ![](https://ps.w.org/json-content-importer/assets/icon-256x256.png?rev=3464653)
 * [Get Use APIs - JSON Content Importer](https://wordpress.org/plugins/json-content-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-content-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-content-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/json-content-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-content-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-content-importer/reviews/)

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)

 * 1 reply
 * 2 participants
 * Last reply from: [berkux](https://wordpress.org/support/users/berkux/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/connection-with-database/#post-10266500)
 * Status: resolved