Call a routine on mysqld startup
am 15.06.2009 11:17:57 von 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=gcdmg-mysql-2@m.gmane.org
Re: Call a routine on mysqld startup
am 15.06.2009 16:00:00 von Jim Lyons
--0016e64761105856ec046c637985
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
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 wrote:
> 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=jlyons4435@gmail.com
>
>
--
Jim Lyons
Web developer / Database administrator
http://www.weblyons.com
--0016e64761105856ec046c637985--
Re: Call a routine on mysqld startup
am 15.06.2009 17:45:40 von Gabriel Linder
On Mon, 15 Jun 2009 10:00:00 -0400
Jim Lyons 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=gcdmg-mysql-2@m.gmane.org