溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

查看mysql的ini文件的方法

發(fā)布時間:2020-07-09 16:08:58 來源:億速云 閱讀:134 作者:清晨 欄目:編程語言

小編給大家分享一下查看mysql的ini文件的方法,希望大家閱讀完這篇文章后大所收獲,下面讓我們一起去探討吧!

win下的my.ini文件,一般會在安裝目錄的根目錄。

查看mysql的ini文件的方法:

1、使用下面的命令查看

show variables like "%char%";
C:\Users\78204>mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.7.25 MySQL Community Server (GPL)

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> show variables like "%char%";
+--------------------------+----------------------------------------+
| Variable_name            | Value                                  |
+--------------------------+----------------------------------------+
| character_set_client     | utf8                                   |
| character_set_connection | utf8                                   |
| character_set_database   | utf8                                   |
| character_set_filesystem | binary                                 |
| character_set_results    | utf8                                   |
| character_set_server     | utf8                                   |
| character_set_system     | utf8                                   |
| character_sets_dir       | D:\mysql-5.7.25-winx64\share\charsets\ |
+--------------------------+----------------------------------------+
rows in set, 1 warning (0.01 sec)

mysql>

2、在“開始 → 所有程序 → MySQL”下面找到MySQL的命令行客戶端工具,右鍵選擇該命令行工具查看“屬性”,在“目標”里面也可以看到MySQL使用的配置文件位置。

查看mysql的ini文件的方法

看完了這篇文章,相信你對查看mysql的ini文件的方法有了一定的了解,想了解更多相關知識,歡迎關注億速云行業(yè)資訊頻道,感謝各位的閱讀!

向AI問一下細節(jié)

免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權內(nèi)容。

AI