Changing MySQL user
This commit is contained in:
parent
388d25652f
commit
8f95f8f8b8
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ end
|
|||
|
||||
execute 'mysql_change_user' do
|
||||
user 'root'
|
||||
command: '/bin/sed -i 's/^\(user\s*=\s*\).*$/\1vagrant/' /etc/mysql/my.cnf'
|
||||
command: "/bin/sed -i 's/^\(user\s*=\s*\).*$/\1vagrant/' /etc/mysql/my.cnf"
|
||||
end
|
||||
|
||||
directory '/var/run/mysqld' do
|
||||
|
|
Reference in a new issue