[root@MGR-node3 ~]# mysql -uroot -p"Eb>wk?r+*8!<"
-bash: !: event not found
需要吧!转义不能用!
[root@MGR-node2 ~]# mysql -uroot -p"Eb>wk?r+*8\!<"
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.7.30-log
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> set password=password("Mahaohao@123");
Query OK, 0 rows affected, 1 warning (0.00 sec)
本文地址:https://blog.csdn.net/estarhao/article/details/107576543
如对本文有疑问, 点击进行留言回复!!
MySQL-关系代数-并、交、差、等值连接、自然连接、左连接。。。
【MySQL牛客】10.获取所有非manager的员工emp_no
网友评论