Changeset 1313 for trunk/locker


Ignore:
Timestamp:
Sep 4, 2009, 2:42:30 PM (15 years ago)
Author:
geofft
Message:
Make the [mysql] to [client] change everywhere that writes .my.cnf
File:
1 edited

Legend:

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

    r1049 r1313  
    4848        case 1:
    4949                $myPassword = `/usr/bin/sql-signup`;
    50         file_put_contents($cnfPath, "[mysql]\nhost=$host\nuser=$env_user\npassword=$myPassword\n");
     50        file_put_contents($cnfPath, "[client]\nhost=$host\nuser=$env_user\npassword=$myPassword\n");
    5151        $cnfinfo = getMyCnfInfo($cnfPath);
    5252        if (is_array($cnfinfo)) {
Note: See TracChangeset for help on using the changeset viewer.