List:General Discussion« Previous MessageNext Message »
From:Egor Egorov Date:January 28 2004 12:50pm
Subject:Re: my.cnf on Shared Hosting
View as plain text  
"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



Thread
my.cnf on Shared HostingHassan Shaikh27 Jan
  • Re: my.cnf on Shared HostingEgor Egorov28 Jan