[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: MySql DataBase





>is anybody knew why i can see all the records in
>sever when i run a normal c program, and receive
>EOF = True (NO Records) when i run this program from the
>client as a cgi program on rh6 with apache and mysql.

Because when you run as a CGI under Apache both the user/group and the
enviorment are different then when you run it from the console?
(probably the user/group premission is what fscks you - Apache run CGIs
by defauklt as user nobody, group nobody and I'm guessing you didn't
give this user access to the required database).


-- 
Gilad Ben-Yossef <gby@gtek.co.il>
G.Tek Technologies ltd http://www.gtekil.com

- Tis better to have loved and lost than just to have lost.

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il