国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > MySQL > 正文

mysql_config_editor用法示例

2024-07-24 12:32:26
字體:
來源:轉載
供稿:網友
        mysql_config_editor是一種存儲mysql登錄信息的工具。
 
      通過mysql_config_editor設置了登錄信息后,在用mysql命令登錄數據庫時就可以只用加一個--login-path=name的參數,
  
舉例如下:
 
     正常登陸為:
 
     # mysql -uroot -p'123456' --socket=/tmp/mysql.sock
  
     配置config_editor:
 
#mysql_config_editor set --login-path=9527 --socket=/tmp/mysql.sock --user=root --password
 
Enter password:      --此時輸入123456
  
Oracle is a registered trademark of Oracle Corporation and/or its
 
affiliates. Other names may be trademarks of their respective
 
owners.
  
Connection id:          66820
 
Current database:
 
Current user:           root@localhost
 
SSL:                    Not in use
 
Current pager:          stdout
 
Using outfile:          ''
 
Using delimiter:        ;
 
Server version:         8.0.13 MySQL Community Server - GPL
 
Protocol version:       10
 
Connection:             Localhost via UNIX socket
  
Threads: 2  Questions: 266  Slow queries: 0  Opens: 380  Flush tables: 2  Open tables: 352  Queries per second avg: 0.003

(編輯:武林網)

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 扶绥县| 富民县| 太仓市| 南充市| 衡阳县| 保山市| 咸丰县| 休宁县| 霍林郭勒市| 上虞市| 疏附县| 郸城县| 绵竹市| 中西区| 石门县| 道孚县| 措美县| 临西县| 米脂县| 禹州市| 祁东县| 普兰店市| 绥芬河市| 穆棱市| 北票市| 德阳市| 马龙县| 额济纳旗| 辛集市| 金塔县| 惠东县| 山阳县| 通江县| 常州市| 津市市| 定安县| 上饶市| 都兰县| 陇南市| 浠水县| 秭归县|