[mapserver-users] OGR connection failure

Juni Adi skiper at infojawa.org
Sat Mar 7 09:58:29 EST 2009


My mistake, there is   --enable-debug option. Please ignore my last post..

Junek


Juni Adi wrote:
> Hello,
> Are there any way to set DEBUG within GDAL/OGR? maybe during GDAL 
> building proccess?  I've only set --with-mysql and --with-xerces 
> option. I've done ./configure -h but I think none of the options has 
> anything to do with debugging.   I'd like to have more detail error 
> messsages from inside GDAL/OGR in addition to error message from 
> mapserver/mapfile (DEBUG 5).
>
> Thanks
> Junek
>
> Juni Adi wrote:
>> Thanks for the prompt reply, Frank. Yes, apache has access to mysql:
>>
>> [root at xxxxxxx.org maps]# su -fm apache
>> bash: /root/.bashrc: Permission denied
>> [apache at xxxxx.org maps]$ mysql mapserver -u xxxxx -p
>> Enter password:
>> Welcome to the MySQL monitor.  Commands end with ; or \g.
>> Your MySQL connection id is 7914
>> Server version: 5.0.45 Source distribution
>>
>> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
>>
>> mysql>
>>
>> Many thanks
>> Junek
>>
>> Frank Warmerdam wrote:
>>> Juni Adi wrote:
>>>> Hi all,
>>>>
>>>> I've just installed mapserver with php_mapscript enabled on my 
>>>> centos5 :
>>>> mapserver-5.2.1
>>>
>>> Judi,
>>>
>>> I don't know how mysql permissions work, but I'd suggest reviewing 
>>> whether
>>> the apache account has permissions to access mysql.  I don't see any 
>>> other
>>> obvious reason things wouldn't work assuming the same libraries are 
>>> being
>>> used in both configurations.
>>>
>>> Best regards,
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>



More information about the mapserver-users mailing list