Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Change handling for default username in MySQL Adapter

#1347

Attached patch slightly alters the username handling in the MySQL Adapter: if the default username of 'root' is used because no username was supplied in database.yml, that default username is written back to the local config hash in the adapter.

Without this change, MysqlAdapter#reset! fails in the case where no username is specified in database.yml.

No test supplied - I do not immediately see a good way to test this.

Reported by CancelProfileIsBroken · November 8th, 2008 @ 05:43 PM

State: wontfix
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Pratik
    Pratik
    • Tag changed from adapters, mysql, patch to adapters, mysql, patch
    • State changed from new to wontfix

    Just supply the username explicitly :)

    March 6th, 2009 @ 07:17 PM