把mysqlsock文件放到指定目录[mysqld]port=3306socket=/data/mysql/mysql.sock设置权限为0700权限,可以解决:账号如果是弱密码或者空密码允许sock登录时的安全隐患使用mysql_config_editor设置login-path登录mysql_config_editorset-Gserver3-mysql-S/data/mysql/mysql.
分类:
数据库 时间:
2020-07-21 22:03:48
阅读次数:
70
这样在输入过一次密码之后,以后就不需要每次都输入密码了。touch ~/.git-credentials,git config --global credential.helper store ...
分类:
其他好文 时间:
2020-06-25 09:45:07
阅读次数:
71
mysql_config_editor 安全登录方式 # 管理员用户 [root@db143 bak]# /usr/local/mysql/bin/mysql_config_editor set --login-path=instance_3306_root --host=localhost --u ...
分类:
数据库 时间:
2019-12-30 11:42:03
阅读次数:
127
git命令 git帮助 常用操作 克隆原程仓库到本地仓库: git clone 仓库地址 当前文件夹下面 同步到服务器不用每次输入密码: git config global credential.helper cache 创建分支,切换分支: git branch testing , git che ...
分类:
其他好文 时间:
2019-09-06 22:39:50
阅读次数:
97
把三个文件放在config目录下(默认C:\ProgramFiles\Open×××\config)1、证书文件:ca.crt,从服务器生成2、配置文件:自定义命名o***结尾文件,存放服务器地址及相关配置文件3、密码文件:自定义命名,内容为第一行账号,第二行密码;这样可以不用每次输入密码附配置文件内容devtuntls-clientremote192.168.1.15556pullprotoud
分类:
其他好文 时间:
2018-11-17 23:20:20
阅读次数:
188
[root@node01 etc]# mysql_config_editor set -G mysql3307 -S /tmp/mysql3307.sock -uroot -pEnter password: [root@node01 etc]# mysqlmysql mysqld_multi mys ...
分类:
数据库 时间:
2018-09-20 13:51:26
阅读次数:
160
MySQL之mysql_config_editor使用
分类:
数据库 时间:
2018-07-21 14:28:05
阅读次数:
193
# mysql_config_eidtor is a tool to create a profile file $HOME/.mylogin.cnf, in which you can store login information (username, password, machine), s... ...
分类:
数据库 时间:
2018-05-20 14:12:10
阅读次数:
176
配置虚拟机用户目录下的.gitconfig ...
分类:
其他好文 时间:
2017-07-25 19:51:13
阅读次数:
106
被一个小朋友问到,直接公布答案: If your MySQL client/server version is a 5.6.x a way to avoid the WARNING message are using the mysql_config_editor tools: mysql_conf ...
分类:
其他好文 时间:
2017-01-06 16:54:18
阅读次数:
201