Changeset 234


Ignore:
Timestamp:
Mar 14, 2007, 8:29:23 PM (15 years ago)
Author:
presbrey
Message:
LF terminate MySQL password in .my.cnf
File:
1 edited

Legend:

Unmodified
Added
Removed
  • locker/sql/bin/get-password

    r131 r234  
    3636        case 1:
    3737                $myPassword = `/usr/bin/sql-signup`;
    38         file_put_contents($cnfPath, "[mysql]\nhost=$host\nuser=$env_user\npassword=$myPassword");
     38        file_put_contents($cnfPath, "[mysql]\nhost=$host\nuser=$env_user\npassword=$myPassword\n");
    3939        $cnfinfo = getMyCnfInfo($cnfPath);
    4040        if (is_array($cnfinfo)) {
Note: See TracChangeset for help on using the changeset viewer.