Not logged in : Login

About: VirtMySQLLinkingObjects     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : atom:Entry, within Data Space : ods.openlinksw.com associated with source document(s)

AttributesValues
type
Date Created
Date Modified
label
  • VirtMySQLLinkingObjects
maker
Title
  • VirtMySQLLinkingObjects
isDescribedUsing
has creator
attachment
content
  • %VOSWARNING% %META:TOPICPARENT{name="VirtLinkRemoteTables"}% ---+ Linking <nop>MySQL Database Objects into Virtuoso ---++ Steps 1 Start the Virtuoso Web User Interface. %BR%%BR%<img src="%ATTACHURLPATH%/VirtWebHome.png" style="wikiautogen"/>%BR%%BR% 1 Select the *Conductor* link in the left frame and login as the *dba* user. %BR%%BR%<img src="%ATTACHURLPATH%/VirtConductor.png" style="wikiautogen"/>%BR%%BR% 1 Select the *Databases* -> *External Data Source* -> *Data Sources* tab menu items. %BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkMYS0.png" style="wikiautogen"/>%BR%%BR% 1 Select the *Connect* button for the *mysqlma* <nop>MySQL DSN. %BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkMYS1.png" style="wikiautogen"/>%BR%%BR% 1 On succesful connection, select the *Link Objects* button to obtain a list of available tables. %BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkMYS2.png" style="wikiautogen"/>%BR%%BR% 1 Select all the tables that are part of the *mysql* catalog. %BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkMYS3.png" style="wikiautogen"/>%BR%%BR% 1 Ensure a primary key is assigned to all tables that are to be used in the EDM generation phase. %BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkMYS4.png" style="wikiautogen"/>%BR%%BR% 1 Change the Catalog for each table to be *mysql* using the *Set All* button.%BR%%BR% 1 Select the *Link* button to link the selected tables into Virtuoso. %BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkMYS5.png" style="wikiautogen"/>%BR%%BR% 1 On completion of the Link process, the tables will be displayed in the *External Linked Objects* tab. %BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkMYS6.png" style="wikiautogen"/>%BR% 1 The linked tables can be queried by clicking on the hyperlink in the *Local Name* column of the *External Linked Objects* tab above. This loads the Virtuoso *Interactive SQL* interface with the required SQL *Select* for retrieving the remote table data. We shall use the *mysql.mysqlma.artist* table to demonstrate this. %BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkMYS9.png" style="wikiautogen"/>%BR%%BR% 1 Click the *Execute* button to run the query and retrieve the results from the remote table. %BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkMYS10.png" style="wikiautogen"/>%BR%%BR% 1 The tables can also be viewed as part of the Virtuoso *SQL Schema Objects* under the *mysql* catalog name. %BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkMYS7.png" style="wikiautogen"/>%BR% .%BR% .%BR% . %BR%<img src="%ATTACHURLPATH%/VirtLinkMYS8.png" style="wikiautogen"/>%BR%%BR% The link process is now complete enabling the tables to be queried as if part of the Virtuoso Schema. ---++ Related * [[VOSSQL2RDF][Mapping SQL Data to Linked Data Views]] * [[VirtMySQLEntityFrameworkUsage][Using Microsoft Entity Frameworks to Access MySQL Schema Objects with Virtuoso]] CategoryDocumentation CategoryVirtuoso CategoryDotNET CategoryEntityFrameworks CategoryWebSite
id
  • 4c311948d7ad52fadbdde20bc3fab18e
link
has container
http://rdfs.org/si...ices#has_services
atom:title
  • VirtMySQLLinkingObjects
links to
atom:source
atom:author
atom:published
  • 2017-06-13T05:39:22Z
atom:updated
  • 2017-06-13T05:39:22Z
topic
is made of
is container of of
is link of
is http://rdfs.org/si...vices#services_of of
is links to of
is creator of of
is atom:entry of
is atom:contains of
Faceted Search & Find service v1.17_git132 as of May 12 2023


Alternative Linked Data Documents: iSPARQL | ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3332 as of Sep 11 2024, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (15 GB total memory, 2 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software