<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: unable to setup ambari-server using mysql server in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-setup-ambari-server-using-mysql-server/m-p/222126#M84490</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/74233/mishrak14amit.html" nodeid="74233"&gt;@Amit Mishra&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you using MySQL 8.x? &lt;/P&gt;&lt;P&gt;In MySQL 8.0.4, the&lt;CODE&gt;validate_password&lt;/CODE&gt; plugin was re-implemented as the&lt;CODE&gt; validate_password&lt;/CODE&gt; component. &lt;/P&gt;&lt;P&gt;&lt;A href="https://dev.mysql.com/doc/refman/8.0/en/validate-password.html" target="_blank"&gt;https://dev.mysql.com/doc/refman/8.0/en/validate-password.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So please try using the password something like  &lt;STRONG&gt; "Bigdata@123456"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It depends on what kind of policy is added to your MySQL:&lt;/P&gt;&lt;P&gt;The policies implement increasingly strict password tests. The following descriptions refer to default parameter values, which can be modified by changing the appropriate system variables.&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;LOW&lt;/CODE&gt;policy tests password length only. Passwords must be at least 8 characters long. To change this length, modify&lt;A href="https://dev.mysql.com/doc/refman/8.0/en/validate-password-options-variables.html#sysvar_validate_password.length"&gt;&lt;CODE&gt;validate_password.length&lt;/CODE&gt;&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;MEDIUM&lt;/CODE&gt;policy adds the conditions that passwords must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character. To change these values, modify&lt;A href="https://dev.mysql.com/doc/refman/8.0/en/validate-password-options-variables.html#sysvar_validate_password.number_count"&gt;&lt;CODE&gt;validate_password.number_count&lt;/CODE&gt;&lt;/A&gt;,&lt;A href="https://dev.mysql.com/doc/refman/8.0/en/validate-password-options-variables.html#sysvar_validate_password.mixed_case_count"&gt;&lt;CODE&gt;validate_password.mixed_case_count&lt;/CODE&gt;&lt;/A&gt;, and&lt;A href="https://dev.mysql.com/doc/refman/8.0/en/validate-password-options-variables.html#sysvar_validate_password.special_char_count"&gt;&lt;CODE&gt;validate_password.special_char_count&lt;/CODE&gt;&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;STRONG&lt;/CODE&gt;policy adds the condition that password substrings of length 4 or longer must not match words in the dictionary file, if one has been specified. To specify the dictionary file, modify&lt;A href="https://dev.mysql.com/doc/refman/8.0/en/validate-password-options-variables.html#sysvar_validate_password.dictionary_file"&gt;&lt;CODE&gt;validate_password.dictionary_file&lt;/CODE&gt;&lt;/A&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Oct 2018 12:35:05 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2018-10-22T12:35:05Z</dc:date>
    <item>
      <title>unable to setup ambari-server using mysql server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-setup-ambari-server-using-mysql-server/m-p/222125#M84489</link>
      <description>&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;using MySql server to setup ambari server, followed below link to create a username, password, and database for ambari &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.1.0/administering-ambari/content/amb_using_ambari_with_mysql_or_mariadb.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.1.0/administering-ambari/content/amb_using_ambari_with_mysql_or_mariadb.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;while ambari-setup, i got below issue: Enter Database Password (bigdata): Invalid characters in password. Use only alphanumeric or _ or - characters&lt;/P&gt;&lt;P&gt;  i tried to change the password of mysql database, but got below issue: CREATE USER 'ambari'@'%' IDENTIFIED BY 'bigdata123456'; ERROR 1819 (HY000): Your password does not satisfy the current policy requirements&lt;/P&gt;&lt;P&gt; I find that there is conflict in accepting the password. &lt;/P&gt;&lt;P&gt;Please suggest. &lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 12:29:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-setup-ambari-server-using-mysql-server/m-p/222125#M84489</guid>
      <dc:creator>amit_mishra</dc:creator>
      <dc:date>2018-10-22T12:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: unable to setup ambari-server using mysql server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-setup-ambari-server-using-mysql-server/m-p/222126#M84490</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/74233/mishrak14amit.html" nodeid="74233"&gt;@Amit Mishra&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you using MySQL 8.x? &lt;/P&gt;&lt;P&gt;In MySQL 8.0.4, the&lt;CODE&gt;validate_password&lt;/CODE&gt; plugin was re-implemented as the&lt;CODE&gt; validate_password&lt;/CODE&gt; component. &lt;/P&gt;&lt;P&gt;&lt;A href="https://dev.mysql.com/doc/refman/8.0/en/validate-password.html" target="_blank"&gt;https://dev.mysql.com/doc/refman/8.0/en/validate-password.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So please try using the password something like  &lt;STRONG&gt; "Bigdata@123456"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It depends on what kind of policy is added to your MySQL:&lt;/P&gt;&lt;P&gt;The policies implement increasingly strict password tests. The following descriptions refer to default parameter values, which can be modified by changing the appropriate system variables.&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;LOW&lt;/CODE&gt;policy tests password length only. Passwords must be at least 8 characters long. To change this length, modify&lt;A href="https://dev.mysql.com/doc/refman/8.0/en/validate-password-options-variables.html#sysvar_validate_password.length"&gt;&lt;CODE&gt;validate_password.length&lt;/CODE&gt;&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;MEDIUM&lt;/CODE&gt;policy adds the conditions that passwords must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character. To change these values, modify&lt;A href="https://dev.mysql.com/doc/refman/8.0/en/validate-password-options-variables.html#sysvar_validate_password.number_count"&gt;&lt;CODE&gt;validate_password.number_count&lt;/CODE&gt;&lt;/A&gt;,&lt;A href="https://dev.mysql.com/doc/refman/8.0/en/validate-password-options-variables.html#sysvar_validate_password.mixed_case_count"&gt;&lt;CODE&gt;validate_password.mixed_case_count&lt;/CODE&gt;&lt;/A&gt;, and&lt;A href="https://dev.mysql.com/doc/refman/8.0/en/validate-password-options-variables.html#sysvar_validate_password.special_char_count"&gt;&lt;CODE&gt;validate_password.special_char_count&lt;/CODE&gt;&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;STRONG&lt;/CODE&gt;policy adds the condition that password substrings of length 4 or longer must not match words in the dictionary file, if one has been specified. To specify the dictionary file, modify&lt;A href="https://dev.mysql.com/doc/refman/8.0/en/validate-password-options-variables.html#sysvar_validate_password.dictionary_file"&gt;&lt;CODE&gt;validate_password.dictionary_file&lt;/CODE&gt;&lt;/A&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 12:35:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-setup-ambari-server-using-mysql-server/m-p/222126#M84490</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-10-22T12:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: unable to setup ambari-server using mysql server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-setup-ambari-server-using-mysql-server/m-p/222127#M84491</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/74233/mishrak14amit.html" nodeid="74233"&gt;@Amit Mishra&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Additionally the following blog will give some idea in setting the password restriction policies:&lt;/P&gt;&lt;P&gt;&lt;A href="https://gsuartana.wordpress.com/2016/08/18/mysql-error-1819-hy000-your-password-does-not-satisfy-the-current-policy-requirements/" target="_blank"&gt;https://gsuartana.wordpress.com/2016/08/18/mysql-error-1819-hy000-your-password-does-not-satisfy-the-current-policy-requirements/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please check what is the policy set on your DB:&lt;/P&gt;&lt;PRE&gt;# mysql -u root -p
Enter Password: &amp;lt;DB_ROOT_PASSWORD&amp;gt;&amp;lt;br&amp;gt;

mysql&amp;gt; use mysql;
mysql&amp;gt; SHOW VARIABLES LIKE 'validate_password%';
+--------------------------------------+--------+
| Variable_name                        | Value  |
+--------------------------------------+--------+
| validate_password_check_user_name    | OFF    |
| validate_password_dictionary_file    |        |
| validate_password_length             | 8      |
| validate_password_mixed_case_count   | 1      |
| validate_password_number_count       | 1      |
| validate_password_policy             | MEDIUM |
| validate_password_special_char_count | 1      |
+--------------------------------------+--------+&amp;lt;br&amp;gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;You can release the restrictions on passwords by setting some global varialbles like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;# SET GLOBAL validate_password_length = 5;
# SET GLOBAL validate_password_number_count = 0;
# SET GLOBAL validate_password_mixed_case_count = 0;
# SET GLOBAL validate_password_special_char_count = 0;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/74233/mishrak14amit.html" nodeid="74233"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 12:39:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-setup-ambari-server-using-mysql-server/m-p/222127#M84491</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-10-22T12:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: unable to setup ambari-server using mysql server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-setup-ambari-server-using-mysql-server/m-p/222128#M84492</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/74233/mishrak14amit.html" nodeid="74233"&gt;@Amit Mishra&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you able to login to the DB now?&lt;/P&gt;&lt;P&gt;I see your new thread: &lt;A href="https://community.hortonworks.com/questions/225768/issue-while-executing-sql-script-ambari-ddl-mysql.html" target="_blank"&gt;https://community.hortonworks.com/questions/225768/issue-while-executing-sql-script-ambari-ddl-mysql.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So if this issue is resolved then please mark it as Closed by clicking on "Accept" button.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/74233/mishrak14amit.html" nodeid="74233"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 14:11:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-setup-ambari-server-using-mysql-server/m-p/222128#M84492</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-10-22T14:11:50Z</dc:date>
    </item>
  </channel>
</rss>

