List:General Discussion« Previous MessageNext Message »
From:Alec Date:March 3 2000 6:22am
Subject:load_defaults, mysql_options and my_init
View as plain text  
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.


Alec
Thread
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