[chef] Re: Changing MySQL user Password at Time of installation of Mysql


Chronological Thread 
  • From: Sean OMeara < >
  • To:
  • Subject: [chef] Re: Changing MySQL user Password at Time of installation of Mysql
  • Date: Tue, 8 Jul 2014 10:35:54 -0400

mysql_resource 'default' do
  server_root_password 'something_else'
end

On Tue, Jul 8, 2014 at 9:59 AM, Sean OMeara 
< >
 wrote:
> It should be picking it up if you set the attribute... however,
>
> The best thing to do would be to use the mysql_service resource
> directly in your recipe.
>
> On Tue, Jul 8, 2014 at 2:21 AM, Bhanot, Jyoti 
> < >
>  wrote:
>> Hi All,
>>
>>
>>
>> I am trying to install MySQL on a Linux server using the Cookbook
>https://github.com/opscode-cookbooks/mysql
>>
>>
>>
>> I have encountered a problem, I changed the password of the root in
>> Attributes file, and still it is picking up the old password. I don’t know
>> why?
>>
>>
>>
>> Is there any other file that requires modification? How can I change the
>> root password instead of “ilikerandompassword”
>>
>>
>>
>> Please help me how to resolve the issue.
>>
>>
>>
>>
>>
>>
>>
>> Thanks & Regards,
>>
>> Jyoti Bhanot
>>
>>



Archive powered by MHonArc 2.6.16.

§