Read from MySQL
From XdmfWeb
Jump to navigationJump to search
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>