Initial import
This commit is contained in:
45
DOC/Readme.PASSWORD_EXPIRED
Normal file
45
DOC/Readme.PASSWORD_EXPIRED
Normal file
@ -0,0 +1,45 @@
|
||||
|
||||
Fehrelmeldung:
|
||||
|
||||
mysqladmin: connect to server at 'localhost' failed
|
||||
error: 'Your password has expired. To log in you must change it using a client that supports expired passwords.'
|
||||
|
||||
|
||||
Password Expiration Policy
|
||||
==========================
|
||||
|
||||
# default_password_lifetime
|
||||
#
|
||||
# This variable defines the global automatic password expiration policy. It applies
|
||||
# to accounts that use MySQL built-in authentication methods (accounts that use an
|
||||
# authentication plugin of mysql_native_password, mysql_old_password, or sha256_password).
|
||||
#
|
||||
# The default default_password_lifetime value is 0, which disables automatic password
|
||||
# expiration. If the value of default_password_lifetime is a positive integer N, it
|
||||
# indicates the permitted password lifetime; passwords must be changed every N days.
|
||||
|
||||
# The global password expiration policy can be overridden as desired for individual
|
||||
# accounts using the ALTER USER statement. See Section 7.3.6, “Password Expiration Policy”.
|
||||
#
|
||||
# ! Note !
|
||||
#
|
||||
# From MySQL 5.7.4 to 5.7.10, the default default_password_lifetime value is 360 (passwords
|
||||
# must be changed approximately once per year). For those versions, be aware that, if you
|
||||
# make no changes to the default_password_lifetime variable or to individual user accounts,
|
||||
# all user passwords will expire after 360 days, and all user accounts will start running
|
||||
# in restricted mode when this happens. Clients (which are effectively users) connecting to
|
||||
# the server will then get an error indicating that the password must be changed:
|
||||
# ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing
|
||||
# this statement.
|
||||
|
||||
# However, this is easy to miss for clients that automatically connect to the server, such
|
||||
# as connections made from scripts. To avoid having such clients suddenly stop working due
|
||||
# to a password expiring, make sure to change the password expiration settings for those clients,
|
||||
# like this:
|
||||
#
|
||||
# ALTER USER 'script'@'localhost' PASSWORD EXPIRE NEVER
|
||||
#
|
||||
# Alternatively, set the default_password_lifetime variable to 0, thus disabling automatic
|
||||
# password expiration for all users.
|
||||
#
|
||||
default_password_lifetime = 0
|
Reference in New Issue
Block a user