Read from MySQL

From XdmfWeb
Revision as of 10:37, 23 May 2008 by Jerry (talk | contribs) (New page: == '''Accessing a MySQL DataBase''' == Partial support for reading data from a MySQL database is available. MySQL is treated as another HeavyData format like HDF5. Currently database acce...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Accessing a MySQL DataBase

Partial support for reading data from a MySQL database is available. MySQL is treated as another HeavyData format like HDF5. Currently database access is ReadOnly and is accessed by setting the Format of the DataItem in XML equal to MySQL

           <Attribute Name="Cell Centered Values" Center="Cell">
               <DataItem Format="MySQL"
                   Server="localhost"
                   User="root"
                   DataBase="MnmiFromout"
                   Dimensions="3"
                   NumberType="Float">
                   <![CDATA[SELECT X FROM Locations WHERE Time < 0.21]]>
               </DataItem>
           </Attribute>