system-config/modules/etherpad_lite/templates/create_user.sh.erb

4 lines
180 B
Plaintext

#!/bin/bash
mysql --defaults-file=/etc/mysql/debian.cnf -e 'grant all on `<%= database_name %>`.* to "<%= database_user %>"@"localhost" identified by "<%= database_password %>";'