Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Grant with load initial data not work #53

@emimarz

Description

@emimarz

when vagrant load the first time I try to create a new user and import a mysql dump then I excecute this on default.pp
If I change the path of the file vagrant give me an error but I am in a position where no error are showed but neither the script are runing

here are my source code

thanks in advance

class { "mysql":
    root_password => '****', # my root password
}

mysql::grant { 'db1':
    mysql_privileges => 'ALL',
    mysql_password => 'admin',
    mysql_db => 'mydatabase', # my database
    mysql_user => 'admin', # a new user
    mysql_host => 'localhost',
    mysql_db_init_query_file => '/vagrant/files/mysql/schema.sql',
    mysql_create_db => true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions