Call a routine on mysqld startup

2009-06-15 Thread Gabriel Linder
Hi,

I must call a routine when mysqld start (to populate a heap table). I
did not find any related options in mysqld --help --verbose. Is there a
way to achieve this, without modifying the startup script ?

Thanks in advance.

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org



Re: Call a routine on mysqld startup

2009-06-15 Thread Jim Lyons
There's an option called init-file that will invoke an sql script on start
up.  That would probably work for you.

On Mon, Jun 15, 2009 at 5:17 AM, Gabriel Linder lin...@jeuxvideo.comwrote:

 Hi,

 I must call a routine when mysqld start (to populate a heap table). I
 did not find any related options in mysqld --help --verbose. Is there a
 way to achieve this, without modifying the startup script ?

 Thanks in advance.

 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:http://lists.mysql.com/mysql?unsub=jlyons4...@gmail.com




-- 
Jim Lyons
Web developer / Database administrator
http://www.weblyons.com


Re: Call a routine on mysqld startup

2009-06-15 Thread Gabriel Linder
On Mon, 15 Jun 2009 10:00:00 -0400
Jim Lyons jlyons4...@gmail.com wrote:

 There's an option called init-file that will invoke an sql script
 on start up.  That would probably work for you.

Thanks you, that is what I was searching for. I guess I should clean my
glasses :)

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org