# Running rake test:units when MSsql root has a password

**URL:** <https://www.ruby-forum.com/t/running-rake-test-units-when-mssql-root-has-a-password/123808>\
**Category:** Rails\
**Created:** [December 20, 2007, 8:58pm UTC](https://www.ruby-forum.com/t/running-rake-test-units-when-mssql-root-has-a-password/123808 "2007-12-20T20:58:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raghus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/958977/32.png) [@raghus](https://www.ruby-forum.com/u/raghus)\
**Post date:** [December 20, 2007, 8:58pm UTC](https://www.ruby-forum.com/t/running-rake-test-units-when-mssql-root-has-a-password/123808/1 "2007-12-20T20:58:22Z")

</div>

Is there a way to pass the root password for my local mysql  
installation to rake test:units. It seems to want to connect with root  
by default. Can I change that or pass the root pwd on the CL?

c:\ror2\learn\>rake test:units  
(in c:/ror2/learn)  
rake aborted!  
Access denied for user ‘root’@‘localhost’ (using password: NO)

(See full trace by running task with --trace)

c:\ror2\learn\>
