# Problem adding MySQL virtual graph

**URL:** <https://community.stardog.com/t/problem-adding-mysql-virtual-graph/925>\
**Category:** Support\
**Created:** [April 14, 2018, 6:50pm UTC](https://community.stardog.com/t/problem-adding-mysql-virtual-graph/925 "2018-04-14T18:50:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cburleson](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/cburleson/32/86_2.png) [@cburleson](https://community.stardog.com/u/cburleson)\
**Post date:** [April 14, 2018, 6:50pm UTC](https://community.stardog.com/t/problem-adding-mysql-virtual-graph/925/1 "2018-04-14T18:50:36Z")

</div>

I am having trouble testing the virtual graph feature against a sample MySQL employees database. I’ve created the file emp.properties similar to what is shown in the documentation:

**emp.properties**

```
jdbc.url=jdbc\:mysql\://localhost/employees
jdbc.username=root
jdbc.password=rootpass
jdbc.driver=com.mysql.jdbc.Driver

```

Then, I use the following command:

`stardog-admin virtual add /Users/me/stardog-5.2.3/bin/emp.properties`

I get the response:

`Not Found!`

I’ve also tried with port :3306 after localhost in the file, but I get the same result, Not Found!

I have not included a mapping file since the documentations says, “If there are no mappings provided to the add commands then the R2RML direct mapping is used.” So, I’ve assumed you can omit mapping file to end up with R2RML direct.

Can anybody help me understand what I might be doing wrong?

---

<div class="post-metadata">

**Author:** ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)\
**Post date:** [April 14, 2018, 6:54pm UTC](https://community.stardog.com/t/problem-adding-mysql-virtual-graph/925/2 "2018-04-14T18:54:16Z")

</div>

Hi Cody,

The virtual graphs feature is not part of Stardog community. Are you using Stardog community?

Jess

---

<div class="post-metadata">

**Author:** ![cburleson](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/cburleson/32/86_2.png) [@cburleson](https://community.stardog.com/u/cburleson)\
**Post date:** [April 14, 2018, 6:56pm UTC](https://community.stardog.com/t/problem-adding-mysql-virtual-graph/925/3 "2018-04-14T18:56:37Z")

</div>

Yep. I’m currently using community. I just actually noticed that in another note:

“virtual graphs are an enterprise feature so you’ll need either a developer, enterprise or 30-day trial license.”

Thanks!

---

<div class="post-metadata">

**Author:** ![cburleson](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/cburleson/32/86_2.png) [@cburleson](https://community.stardog.com/u/cburleson)\
**Post date:** [April 14, 2018, 7:03pm UTC](https://community.stardog.com/t/problem-adding-mysql-virtual-graph/925/4 "2018-04-14T19:03:12Z")

</div>

Just to confirm, I replaced with 30 enterprise trial license key and sure enough, now I got the response:

`Successfully added virtual graph emp`

Thanks, again for quick response.

---

<div class="post-metadata">

**Author:** ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)\
**Post date:** [April 14, 2018, 7:33pm UTC](https://community.stardog.com/t/problem-adding-mysql-virtual-graph/925/5 "2018-04-14T19:33:31Z")

</div>

Glad it’s working! Let us know if you have any other questions/comments.

Jess

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [April 28, 2018, 7:33pm UTC](https://community.stardog.com/t/problem-adding-mysql-virtual-graph/925/6 "2018-04-28T19:33:47Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
