mysql puppi init doesn't run sql
gediminasgu opened this issue · 2 comments
gediminasgu commented
Hi,
I have created script:
puppi::project::mysql { "sql":
init_source => "http://domain/init.sql",
source => "http://domain/deploy.sql",
mysql_user => "user",
mysql_host => "localhost",
mysql_database => "db",
mysql_password => "pwd",
enable => "true",
}
I'm expecting after running "puppi init sql" puppi will download init.sql and run it on mysql. Unformatunately if have only downloaded it, but haven't executed. Just copying the same init.sql to "source" property have helped to init database running "puppi deploy sql" command.
gediminasgu commented
Hi,
Thanks, have tried on new machine and it worked like a charm :)
Geddis