List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:March 3 2000 2:48pm
Subject:Re: load_defaults, mysql_options and my_init
View as plain text  
At 1:22 AM -0500 03-03-2000, Alec wrote:
>I am using Paul Dubois' book on MySql and attempting to load the
>configuration from ".my.cnf".
>I called load_defaults as illustrated in the book but the argv array is
>empty except for argv[0]. I'm mystified. Also just prior to the call to
>load_defaults, there was a call to my_init. Both funcs are not
>documented in the manuals either. What do they do?
>Also what's does mysql_options do? I tried to use it thinking that it
>would use the .my.cnf file to populate the MYSQL struct. The struct was
>empty after the call and in any case, I think I shouln't be going behind
>the abstraction.
>Please help. I'm using Redhat 6.0 and mysql v3.22.

Which example are you attempting to use? Which page(s)
in the book are you referring to?

Paul DuBois, paul@stripped
load_defaults, mysql_options and my_initAlec3 Mar
  • Re: load_defaults, mysql_options and my_initsinisa3 Mar
  • Re: load_defaults, mysql_options and my_initPaul DuBois3 Mar
  • Re: load_defaults, mysql_options and my_initcurt4 Mar