瀏覽代碼

solve problem 'Access denied for user 'root'@'localhost' (using password: NO)'

pull/34/head
System Administrator 7 年之前
父節點
當前提交
8113b4efb3
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      galera/files/init_bootstrap.sh

+ 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…
取消
儲存