[Pkg-mysql-commits] r974 - branches/sid-5.0/debian
Norbert Tretkowski
nobse at alioth.debian.org
Thu Nov 8 18:39:40 UTC 2007
tags 435744 pending
thanks
Author: nobse
Date: 2007-11-08 18:39:40 +0000 (Thu, 08 Nov 2007)
New Revision: 974
Modified:
branches/sid-5.0/debian/changelog
branches/sid-5.0/debian/mysql-server-5.0.README.Debian
Log:
Suggest usage of an update statement on the user table to change the mysql
root user password instead using mysqladmin, to catch all root users from
all hosts. (closes: #435744)
Modified: branches/sid-5.0/debian/changelog
===================================================================
--- branches/sid-5.0/debian/changelog 2007-11-06 23:53:21 UTC (rev 973)
+++ branches/sid-5.0/debian/changelog 2007-11-08 18:39:40 UTC (rev 974)
@@ -1,16 +1,23 @@
mysql-dfsg-5.0 (5.0.45-2) UNRELEASED; urgency=low
* NOT RELEASED YET
+
+ [ Sean Finney ]
* New/updated debconf translations:
- Spanish, from Javier Fernández-Sanguino Peña (closes: #426442).
- German, from Alwin Meschede (closes: #426545).
- Danish, from Claus Hindsgaul (closes: #426783).
- French, from Christian Perrier (closes: #430944).
- * Add Recommends on libterm-readkey-perl for mysql-client-5.0 package, used
+ * Add Recommends on libterm-readkey-perl for mysql-client-5.0 package, used
by mysqlreport add-on to mask password entry (closes: #438375).
- -- sean finney <seanius at debian.org> Sat, 18 Aug 2007 10:33:36 -0700
+ [ Norbert Tretkowski ]
+ * Suggest usage of an update statement on the user table to change the mysql
+ root user password instead using mysqladmin, to catch all root users from
+ all hosts. (closes: #435744)
+ -- Norbert Tretkowski <nobse at debian.org> Thu, 08 Nov 2007 19:29:38 +0100
+
mysql-dfsg-5.0 (5.0.45-1) unstable; urgency=low
* New upstream release.
Modified: branches/sid-5.0/debian/mysql-server-5.0.README.Debian
===================================================================
--- branches/sid-5.0/debian/mysql-server-5.0.README.Debian 2007-11-06 23:53:21 UTC (rev 973)
+++ branches/sid-5.0/debian/mysql-server-5.0.README.Debian 2007-11-08 18:39:40 UTC (rev 974)
@@ -78,9 +78,10 @@
* PASSWORDS:
============
It is strongly recommended to set a password for the mysql root user (which
-is NOT the same as the "normal" root user) with the command:
- /usr/bin/mysqladmin -u root password 'enter-your-good-new-password-here'
-If you already had a password set add " -p " before "-u" to the line above.
+is NOT the same as the "normal" root user) with these commands:
+ /usr/bin/mysql -u root -D mysql -e "update user set password=password('new-password') where user='root'"
+ /usr/bin/mysql -u root -e "flush privileges"
+If you already had a password set add "-p" before "-u" to the lines above.
If you are tired to type the password in every time or want to automate your
scripts you can store it in the file $HOME/.my.cnf. It should be chmod 0600
More information about the Pkg-mysql-commits
mailing list