# Create db statement not working

**URL:** <https://community.stardog.com/t/create-db-statement-not-working/324>\
**Category:** Bug\
**Created:** [May 16, 2017, 7:27pm UTC](https://community.stardog.com/t/create-db-statement-not-working/324 "2017-05-16T19:27:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yashpal](https://avatars.discourse-cdn.com/v4/letter/y/8491ac/32.png) [@Yashpal](https://community.stardog.com/u/Yashpal)\
**Post date:** [May 16, 2017, 7:27pm UTC](https://community.stardog.com/t/create-db-statement-not-working/324/1 "2017-05-16T19:27:19Z")

</div>

Hi ,

I am using the latest Stardog 5.0-beta and I try to run the following command.

stardog-admin db create -n survey

it says succesfully created database ‘survey’

but when I go localhost:5820 no database is created there.

Kindly provide your valuable feedback and help.

Kind Regards,  
Yashpal Singh

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [May 16, 2017, 7:40pm UTC](https://community.stardog.com/t/create-db-statement-not-working/324/2 "2017-05-16T19:40:20Z")

</div>

Is there anything noteworthy in stardog.log? What is the result of running the following

```
> stardog-admin db list
```

---

<div class="post-metadata">

**Author:** ![Yashpal](https://avatars.discourse-cdn.com/v4/letter/y/8491ac/32.png) [@Yashpal](https://community.stardog.com/u/Yashpal)\
**Post date:** [May 16, 2017, 7:42pm UTC](https://community.stardog.com/t/create-db-statement-not-working/324/3 "2017-05-16T19:42:31Z")

</div>

it shows database survey as below in log, but still not on GUI

Databases  
survey

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [May 16, 2017, 8:43pm UTC](https://community.stardog.com/t/create-db-statement-not-working/324/4 "2017-05-16T20:43:09Z")

</div>

Can you load and query data from the CLI?

`> stardog data add survey myData.ttl`

`> stardog data export survey`

I just wanted to confirm that it’s only the webconsole that is the problem. What browser and OS are you running?

---

<div class="post-metadata">

**Author:** ![stephen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/stephen/32/27_2.png) [@stephen](https://community.stardog.com/u/stephen)\
**Post date:** [May 16, 2017, 9:09pm UTC](https://community.stardog.com/t/create-db-statement-not-working/324/5 "2017-05-16T21:09:39Z")

</div>

If you are using Chrome, try clearing your cache. We’ve found that Chrome caches things very aggressively. Also if you pull up the javascript console, do you see any errors displayed?

---

<div class="post-metadata">

**Author:** ![Yashpal](https://avatars.discourse-cdn.com/v4/letter/y/8491ac/32.png) [@Yashpal](https://community.stardog.com/u/Yashpal)\
**Post date:** [May 17, 2017, 10:14am UTC](https://community.stardog.com/t/create-db-statement-not-working/324/6 "2017-05-17T10:14:55Z")

</div>

> [@zachary.whitley](#):
>
> stardog data add survey

thanks a million it resolved the Issue.🙂

---

<div class="post-metadata">

**Author:** ![Yashpal](https://avatars.discourse-cdn.com/v4/letter/y/8491ac/32.png) [@Yashpal](https://community.stardog.com/u/Yashpal)\
**Post date:** [May 17, 2017, 11:28am UTC](https://community.stardog.com/t/create-db-statement-not-working/324/7 "2017-05-17T11:28:58Z")

</div>

Hi,

Now I am facing another issue after adding namespaces and data to databases, when I click on GUI for query tab I get a page which following value. which are data that I inserted not the query tab.

@prefix : . @prefix owl: . @prefix pii: . @prefix rdf: . @prefix rdfs: . @prefix stardog: . @prefix survey: . @prefix xsd: . a owl:Ontology . survey:assessment a owl:ObjectProperty ; rdfs:range survey:AssessmentRule ; rdfs:domain survey:QuestionGroup . survey:AssessmentRule a owl:Class . survey:QuestionGroup a owl:Class .

Kind Regards,  
Yashpal Singh

---

<div class="post-metadata">

**Author:** ![mike](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/mike/32/14_2.png) [@mike](https://community.stardog.com/u/mike)\
**Post date:** [May 17, 2017, 11:33am UTC](https://community.stardog.com/t/create-db-statement-not-working/324/8 "2017-05-17T11:33:54Z")

</div>

This is the same issue reported in [Stardog 5 beta issue - #9 by stephen](https://community.stardog.com/t/stardog-5-beta-issue/320/9)
