> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-detect-table-modification.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# خطأ ODBC Authentication failed عند استخدام موصل ClickHouse لـ Power BI

> خطأ ODBC Authentication failed عند استخدام موصل ClickHouse لـ Power BI

export const Image = ({img, alt, size = "lg"}) => {
  const normalizedSize = ["sm", "md", "lg"].includes(size) ? size : "lg";
  return <div className={`ch-image-${normalizedSize}`}>
      <Frame>
        <img src={img} alt={alt} />
      </Frame>
    </div>;
};

{frontMatter.description}

<div id="question">
  ## السؤال
</div>

عند محاولة الاتصال من PowerBI بـ ClickHouse باستخدام الموصل، يظهر لك خطأ في المصادقة.

يكون هذا الخطأ عادةً على النحو التالي:

```
We encountered an error while trying to connect.
Details: "ODBC: ERROR [HY000] HTTP status code: 403
Received error:
Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name.
If you have installed ClickHouse and forgot password you can reset it in the configuration file.
The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password.
See also /etc/clickhouse-server/users.ml on the server where
ClickHouse is installed.
```

<Image img="https://mintcdn.com/private-7c7dfe99-detect-table-modification/khTo4jdOlx_yU9ob/images/knowledgebase/powerbi_odbc_authentication_error.webp?fit=max&auto=format&n=khTo4jdOlx_yU9ob&q=85&s=a5987c84b0aacad5b6aba197dad30af2" size="md" alt="مربع حوار خطأ مصادقة ODBC في Power BI" border width="1152" height="718" data-path="images/knowledgebase/powerbi_odbc_authentication_error.webp" />

<div id="answer">
  ## الإجابة
</div>

حدّث ClickHouse ODBC Driver إلى الإصدار [1.4.1](https://github.com/ClickHouse/clickhouse-odbc/releases/tag/1.4.1.20250523).

إذا لم يكن التحديث ممكنًا، فتحقق مما إذا كانت كلمة المرور تحتوي على الرمز (\~)، إذ قد يتسبب ذلك في حدوث مشكلات في الإصدارات الأقدم من [1.4.1](https://github.com/ClickHouse/clickhouse-odbc/releases/tag/1.4.1.20250523).

نوصي باستخدام مستخدم مخصص للاتصال وتعيين كلمة المرور يدويًا.  إذا كنت تستخدم ClickHouse Cloud وتحتاج إلى صلاحيات على مستوى المسؤول تعادل صلاحيات المستخدم `default`، فأنشئ مستخدمًا جديدًا وأسنِد إليه `default_role`.

لمزيد من المعلومات:
[https://clickhouse.com/docs/operations/access-rights#user-account-management](https://clickhouse.com/docs/operations/access-rights#user-account-management)
[https://clickhouse.com/docs/cloud/security/cloud-access-management#database-roles](https://clickhouse.com/docs/cloud/security/cloud-access-management#database-roles)
