亚洲最大看欧美片,亚洲图揄拍自拍另类图片,欧美精品v国产精品v呦,日本在线精品视频免费

  • 站長(zhǎng)資訊網(wǎng)
    最全最豐富的資訊網(wǎng)站

    mysql如何查詢編碼

    查詢方法:1、用“show variables like 'character%'”命令,可查詢整個(gè)庫(kù)的編碼;2、用“show table status from 表名 like "%yxfx_zxxx_fyb%"”命令,可查詢指定表編碼。

    mysql如何查詢編碼

    本教程操作環(huán)境:windows7系統(tǒng)、mysql8版本、Dell G3電腦。

    mysql查詢編碼

    方式一:查詢整個(gè)庫(kù)的編碼

    show variables like 'character%'

    mysql如何查詢編碼

    其中,

    • character_set_client為客戶端編碼方式;

    • character_set_connection為建立連接使用的編碼;

    • character_set_database數(shù)據(jù)庫(kù)的編碼;

    • character_set_results結(jié)果集的編碼;

    • character_set_server數(shù)據(jù)庫(kù)服務(wù)器的編碼;

    只要保證以上四個(gè)采用的編碼方式一樣,就不會(huì)出現(xiàn)亂碼問(wèn)題。

    方式二:查詢指定表的編碼

    使用一下命令:

    show table status from 表名 like "%yxfx_zxxx_fyb%"

    贊(0)
    分享到: 更多 (0)
    網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)