"Hassan Shaikh" <hassan@stripped> wrote:
>
> Hi,
>
> I want "--ansi" option for MySQL setting to ensure ANSI compatibility. Most shared
> hosting providers don't allow access to my.cnf. Is there anyway to do this on the fly in
> my script, PHP/Perl sample would be appreciated.
You can do it only from version 4.1 with SET statement:
http://www.mysql.com/doc/en/ANSI_mode.html
http://www.mysql.com/doc/en/Server_SQL_mode.html
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ Egor.Egorov@stripped
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com