Changeset 3811


Ignore:
Timestamp:
Mar 3, 2017, 12:21:19 PM (2 years ago)
Author:
Juanma
Message:

Fixed update_passwd in lliurex-sgdb mysql version<5.7

Location:
lliurex-sgdb/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-sgdb/trunk/fuentes/debian/changelog

    r3810 r3811  
     1lliurex-sgbd (0.74-lliurex1) xenial; urgency=medium
     2
     3  * Fixed update_passwd in lliurex-sgdb mysql version<5.7
     4
     5 -- Juanma Navarro Mañez <juanma1980@gmail.com>  Fri, 03 Mar 2017 12:20:05 +0100
     6
    17lliurex-sgbd (0.74) xenial; urgency=medium
    28
  • lliurex-sgdb/trunk/fuentes/install/usr/sbin/lliurex-sgbd

    r3810 r3811  
    116116            sqlQuery="UPDATE mysql.user SET authentication_string=PASSWORD('$DB_USER_PASS'),plugin='mysql_native_password',password_expired='N' WHERE User='$DB_USER'; "
    117117        else
    118             sqlQuery="UPDATE mysql.user SET Password=PASSWORD('$passwd') WHERE User='root'; "
     118#            sqlQuery="UPDATE mysql.user SET Password=PASSWORD('$passwd') WHERE User='root'; "
     119            sqlQuery="UPDATE mysql.user SET Password=PASSWORD('$DB_USER_PASS') WHERE User='$DB_USER'; "
    119120        fi
    120121        sqlQuery=$sqlQuery"FLUSH PRIVILEGES;"
Note: See TracChangeset for help on using the changeset viewer.