Mysql launches stored procedure after server restart

How to start a stored procedure at server startup? Is it possible? I just want to run an SQL query.

+4
source share
1 answer

You can use the init-file variable in your configuration file to run a text file containing SQL statements.

+1
source

Source: https://habr.com/ru/post/1435798/


All Articles