Thanks for the prompt reply, Frank. Yes, apache has access to mysql:

[[email protected] maps]# su -fm apache
bash: /root/.bashrc: Permission denied
[[email protected] 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
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to