# Not able to create Virtual graph

**URL:** <https://community.stardog.com/t/not-able-to-create-virtual-graph/2295>\
**Category:** Support\
**Created:** [March 11, 2020, 6:43pm UTC](https://community.stardog.com/t/not-able-to-create-virtual-graph/2295 "2020-03-11T18:43:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eshita](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/eshita/32/611_2.png) [@Eshita](https://community.stardog.com/u/Eshita)\
**Post date:** [March 11, 2020, 6:43pm UTC](https://community.stardog.com/t/not-able-to-create-virtual-graph/2295/1 "2020-03-11T18:43:53Z")

</div>

Hi,

I am trying to create a virtual graph in Stardog for my local Mysql Server. I have used the [data](https://github.com/stardog-union/stardog-tutorials/blob/master/using-virtual-graphs/beatles.sql) and [schema](https://github.com/stardog-union/stardog-tutorials/blob/master/using-virtual-graphs/music_schema.sql) files used in StarDog's virtual graph tutorial. Whenever I am trying to create Virtual graph using [mapping](https://github.com/stardog-union/stardog-tutorials/blob/master/mappings/music_mappings.sms) file or without mapping file getting the same error,  
"com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server."  
I have added the jar file under "/opt/stardog/server/dbms".  
Attached the error from stardog.log file below,  
[error.log](https://community.stardog.com/uploads/short-url/f1v1zbCKIFi05jKEiONK8HfN9Zq.log) (14.8 KB)

Thanks,  
Eshita

---

<div class="post-metadata">

**Author:** ![PaulJackson](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/pauljackson/32/243_2.png) [@PaulJackson](https://community.stardog.com/u/PaulJackson)\
**Post date:** [March 11, 2020, 7:07pm UTC](https://community.stardog.com/t/not-able-to-create-virtual-graph/2295/2 "2020-03-11T19:07:55Z")

</div>

There are a number of possible causes mentioned here:  
[https://serverfault.com/questions/89955/unable-to-connect-to-mysql-through-jdbc-connector-through-tomcat-or-externally](https://serverfault.com/questions/89955/unable-to-connect-to-mysql-through-jdbc-connector-through-tomcat-or-externally)

Is mysql running on a different machine (or container) than Stardog? If so this may be a good first thing to check:

- Linux: /etc/my.cnf

- Windows: D:\Program Files\mysql\bin\my.ini

# Uncomment "bind-address" attribute or change it to:

bind-address="0.0.0.0"

---

<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:** [March 25, 2020, 7:07pm UTC](https://community.stardog.com/t/not-able-to-create-virtual-graph/2295/3 "2020-03-25T19:07:56Z")

</div>

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