[mapserver-users] OGR connection failure

Juni Adi skiper at infojawa.org
Fri Mar 6 11:17:46 PST 2009


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,




More information about the MapServer-users mailing list