mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
fix debian/ubuntu startup scripts
This commit is contained in:
2
debian/dist/Debian/control
vendored
2
debian/dist/Debian/control
vendored
@@ -98,7 +98,7 @@ Architecture: any
|
||||
Depends: mariadb-common, libmariadbclient18 (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
|
||||
Provides: mysql-client-core, mysql-client-core-5.1, mysql-client-core-10.0
|
||||
Conflicts: mysql-client (<< 5.0.51), mysql-client-5.0,
|
||||
mysql-client-5.1, mysql-client-5.5,
|
||||
mysql-client-5.1 (<< ${source:Version}), mysql-client-5.5 (<< ${source:Version}),
|
||||
mysql-client-core-5.1, mysql-client-core-5.5,
|
||||
mariadb-client-5.1, mariadb-client-core-5.1,
|
||||
mariadb-client-5.2, mariadb-client-core-5.2,
|
||||
|
||||
@@ -191,10 +191,10 @@ EOF
|
||||
|
||||
# update privilege tables
|
||||
password_column_fix_query=`/bin/echo -e \
|
||||
"USE mysql\n" \
|
||||
"ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '' NOT NULL"`;
|
||||
"USE mysql;\n" \
|
||||
"ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '' NOT NULL;"`
|
||||
replace_query=`/bin/echo -e \
|
||||
"USE mysql\n" \
|
||||
"USE mysql;\n" \
|
||||
"SET sql_mode='';\n" \
|
||||
"REPLACE INTO user SET " \
|
||||
" host='localhost', user='debian-sys-maint', password=password('$pass'), " \
|
||||
|
||||
@@ -192,10 +192,10 @@ EOF
|
||||
|
||||
# update privilege tables
|
||||
password_column_fix_query=`/bin/echo -e \
|
||||
"USE mysql\n" \
|
||||
"ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '' NOT NULL"`;
|
||||
"USE mysql;\n" \
|
||||
"ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '' NOT NULL;"`
|
||||
replace_query=`/bin/echo -e \
|
||||
"USE mysql\n" \
|
||||
"USE mysql;\n" \
|
||||
"SET sql_mode='';\n" \
|
||||
"REPLACE INTO user SET " \
|
||||
" host='localhost', user='debian-sys-maint', password=password('$pass'), " \
|
||||
|
||||
Reference in New Issue
Block a user