Hi <br>I am trying to display few points on the browser using Mapserver. I have created MySQL database and created connection with mapserver by the help of .ovf xml file.<br>-------------------------------------------------<br>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cphapal%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C05%5Cclip_filelist.xml"><style>
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:&quot;&quot;;
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:&quot;Times New Roman&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
--&gt;
</style>

<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">&lt;OGRVRTDataSource&gt;</span></p>

<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp;&nbsp; </span>&lt;OGRVRTLayer name=&quot;nsdb&quot;&gt; </span></p>

<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>&lt;SrcDataSource&gt;MYSQL:dispro,user=uuuuuu,password=pppp,host=192.170.1.100,port=3306,tables=STATION&lt;/SrcDataSource&gt;
</span></p>

<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&lt;SrcSQL&gt;SELECT absnum, stlat,
stlon, stflag FROM STATION&lt;/SrcSQL&gt; </span></p>

<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&lt;GeometryType&gt;wkbPoint&lt;/GeometryType&gt;</span></p>

<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&lt;GeometryField
encoding=&quot;PointFromColumns&quot; x=&quot;stlon&quot;
y=&quot;stlat&quot;/&gt; </span></p>

<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp;&nbsp; </span>&lt;/OGRVRTLayer&gt;</span></p>

<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">&lt;/OGRVRTDataSource&gt;</span></p>

--------------------------------------------------<br><br><br><br><br>When I run the command :<br><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cphapal%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"><style>
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:&quot;&quot;;
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:&quot;Times New Roman&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
--&gt;
</style>ogrinfo&nbsp;
/mnt/fritjof/wms/nsdb/con.ovf <br><br>ogrinfo returns :<br><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cphapal%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C03%5Cclip_filelist.xml"><style>
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:&quot;&quot;;
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:&quot;Times New Roman&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
--&gt;
</style>

<br><p class="MsoNormal" style="border: medium none ; padding: 0cm;"><span style="font-family: &quot;Courier New&quot;;">ERROR 4: Update access not supported for VRT datasources.</span></p>

<p class="MsoNormal" style="border: medium none ; padding: 0cm;"><span style="font-family: &quot;Courier New&quot;;">Had to open data source read-only.</span></p>

<p class="MsoNormal" style="border: medium none ; padding: 0cm;"><span style="font-family: &quot;Courier New&quot;;">INFO: Open of `/mnt/fritjof/wms/nsdb/con.ovf&#39;</span></p>

<p class="MsoNormal" style="border: medium none ; padding: 0cm;"><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>using driver `VRT&#39;
successful.</span></p>

<span style="font-family: &quot;Courier New&quot;;">1: nsdb (Point)</span><br>.....................................................................................................................................<br><br>I have a map file con.map as follows:<br>
-------------------------------------------------------------<br>MAP<br>&nbsp; NAME &quot;MYSQL-TEST&quot;<br>&nbsp; EXTENT&nbsp; -180 -90 180 90&nbsp; <br>&nbsp; UNITS dd<br>&nbsp; CONFIG &quot;CPL_DEBUG&quot; &quot;ON&quot;<br><br>&nbsp; PROJECTION<br>&nbsp; &quot;init=epsg:4326&quot;<br>
&nbsp; END<br><br>&nbsp; SHAPEPATH &quot;/mnt/fritjof/wms/nsdb&quot;<br><br>&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; DEBUG ON<br>&nbsp;&nbsp;&nbsp; METADATA<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_title&quot; &quot;nsdb&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_srs&quot; &quot;EPSG:4326&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_extent&quot; &quot;-57.768 64.1842 -51.6283 64.3645&quot;<br>
&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; NAME &quot;stations&quot; <br>&nbsp;&nbsp;&nbsp; STATUS DEFAULT <br>&nbsp;&nbsp;&nbsp; TYPE POINT<br>&nbsp;&nbsp;&nbsp; CONNECTIONTYPE OGR<br>&nbsp;&nbsp;&nbsp; CONNECTION &quot;con.ovf&quot;<br>&nbsp;&nbsp;&nbsp; DATA &quot;nsdb&quot;<br>&nbsp;&nbsp;&nbsp; PROJECTION<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;init=epsg:4326&quot;<br>
&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; EXTENT -57.768 64.1842 -51.6283 64.3645<br>&nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME &quot;MyClass&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 15<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;END<br><br>
END<br>........................................<br>And I have another html form: <br><br>========================================================<br><br>MAPFILE&nbsp;&nbsp; <input name="MAP" value="/Data/wms/test/test1.map" size="40" type="text">
<br>REQUEST&nbsp; <input name="REQUEST" value="GetMap" size="40" type="text">
<br>SERVICE<input name="SERVICE" value="WMS" size="40" type="text">
<br>VERSION<input name="VERSION" value="1.1.1" size="40" type="text">
<br>LAYERS<input name="LAYERS" value="coastline" size="40" type="text">
<br>STYLES<input name="STYLES" value="default" size="40" type="text">
<br>SRS<input name="SRS" value="EPSG:4326" size="40" type="text">
<br>BBOX<input name="bbox" value="-4,51,14,64" size="40" type="text">
<br>WIDTH<input name="WIDTH" value="800" size="40" type="text">
<br>HEIGHT<input name="HEIGHT" value="600" size="40" type="text">
<br>FORMAT<input name="FORMAT" value="image/png" size="40" type="text">
<br><br><br><br>