Warning during restart mysqld service Using unique option prefix pass instead of password is deprecated

If you getting
Warning: Using unique option prefix pass instead of password is deprecated and will be removed in a future release. Please use the full name instead.
during mysqld service restart you should fix your custom ~/.my.cnf configuration files syntax.

# more ~/.my.cnf
[client]
user=”root”
pass=”YourSecureMySQLPassword”
#

short “pass” should be removed by “password”:

password=”YourSecureMySQLPassword”