Changeset 1299


Ignore:
Timestamp:
Apr 28, 2016, 11:36:59 AM (3 years ago)
Author:
mabarracus
Message:

wip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-sgdb/trunk/fuentes/install/usr/sbin/mysql_root_passwd

    r1298 r1299  
    8989            sqlQuery="UPDATE mysql.user SET Password=PASSWORD('$passwd') WHERE User='root'; "
    9090        fi
    91         sqlQuery=$sqlQuery"FLUSH PRIVILEGES;"
    92 
    93         echo $sqlQuery
     91        SQLQUERY_UPDATE=$sqlQuery"FLUSH PRIVILEGES;"
    9492
    9593        return 0
     
    401399        if is_mysql_alive ; then
    402400                # Sql statement to set password created
    403                 sqlTemp=$(do_write_passSql)
     401                do_write_passSql
     402                sqlTemp=$SQLQUERY_UPDATE
    404403                # Password is assigned in mysql
    405404                if [ $debug -eq 1 ] ; then
Note: See TracChangeset for help on using the changeset viewer.