瀏覽代碼

Merge pull request #34 from cyplenochek/master

solve problem "Access denied for user 'root'@'localhost' "
revert-bumpto57-2
Petr Michalec 7 年之前
父節點
當前提交
e950ac4545
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      .kitchen.travis.yml
  2. +1
    -1
      galera/files/init_bootstrap.sh

+ 1
- 1
.kitchen.travis.yml 查看文件

@@ -3,4 +3,4 @@ suites:
- name: <%= ENV['SUITE'] %>
provisioner:
pillars-from-files:
neutron.sls: tests/pillar/<%= ENV['SUITE'] %>.sls
galera.sls: tests/pillar/<%= ENV['SUITE'] %>.sls

+ 1
- 1
galera/files/init_bootstrap.sh 查看文件

@@ -7,7 +7,7 @@ retries=0

while [ $counter -gt 0 ]
do
mysql -u root -e"quit"
mysql -u root -e"quit" || mysql -u {{ service.admin.user }} -p{{ service.admin.password }} -e"quit"
if [[ $? -eq 0 ]]; then
echo "Sucessfully connected to the MySQL service ($retries retries)."
exit 0

Loading…
取消
儲存