<kbd id='V8ci57GrquPLhHJ'></kbd><address id='V8ci57GrquPLhHJ'><style id='V8ci57GrquPLhHJ'></style></address><button id='V8ci57GrquPLhHJ'></button>

              <kbd id='V8ci57GrquPLhHJ'></kbd><address id='V8ci57GrquPLhHJ'><style id='V8ci57GrquPLhHJ'></style></address><button id='V8ci57GrquPLhHJ'></button>

                      <kbd id='V8ci57GrquPLhHJ'></kbd><address id='V8ci57GrquPLhHJ'><style id='V8ci57GrquPLhHJ'></style></address><button id='V8ci57GrquPLhHJ'></button>

                              <kbd id='V8ci57GrquPLhHJ'></kbd><address id='V8ci57GrquPLhHJ'><style id='V8ci57GrquPLhHJ'></style></address><button id='V8ci57GrquPLhHJ'></button>

                                      <kbd id='V8ci57GrquPLhHJ'></kbd><address id='V8ci57GrquPLhHJ'><style id='V8ci57GrquPLhHJ'></style></address><button id='V8ci57GrquPLhHJ'></button>

                                              <kbd id='V8ci57GrquPLhHJ'></kbd><address id='V8ci57GrquPLhHJ'><style id='V8ci57GrquPLhHJ'></style></address><button id='V8ci57GrquPLhHJ'></button>

                                                      <kbd id='V8ci57GrquPLhHJ'></kbd><address id='V8ci57GrquPLhHJ'><style id='V8ci57GrquPLhHJ'></style></address><button id='V8ci57GrquPLhHJ'></button>

                                                              <kbd id='V8ci57GrquPLhHJ'></kbd><address id='V8ci57GrquPLhHJ'><style id='V8ci57GrquPLhHJ'></style></address><button id='V8ci57GrquPLhHJ'></button>

                                                                  申博太阳城_Linux下巧用my.cnf,mysql毗连处事器不必要输入账号暗码信息
                                                                  作者:申博太阳城上海文化传媒 2018-01-08 18:06 144

                                                                  Linux下每次用mysql毗连毗连处事器,经常用如下方法:

                                                                  [root@localhost ~]# mysql -hlocalhost -uroot -p11111  

                                                                  每次都输入用户名,暗码,多折腾人啊,有没有更利便的方法?

                                                                  我们只必要简朴地设置下my.cnf的client节即可,,把用户名,暗码信息都放到client节中。设置示譬喻下:

                                                                  # The following options will be passed to all MySQL clients   18 [client]   19 host = "localhost"                                                                                                                 20 password    = "11111"   21 user = "root"    22 port        = 3306   23 socket      = /tmp/mysql.sock  

                                                                  修改my.cnf之后,不必要重启处事器,直接运行mysql,即可利便地毗连到指定处事器。