欧美日韩国产一区二区|qovd片|小明个人发布看看|小浪货你夹真紧水又多|老头把我添高潮了A片故|99热久久精品国产一区二区|久久久春色AV

xampp的mysql密碼怎么設(shè)置?mysql密碼設(shè)置步驟說明

為了安全起見,一般大家都會(huì)設(shè)置xampp的mysql密碼,還沒設(shè)置的朋友一起看看吧 。

xampp的mysql密碼怎么設(shè)置?mysql密碼設(shè)置步驟說明

win R打開運(yùn)行,輸入cmd進(jìn)入DOS
xampp的mysql密碼怎么設(shè)置?mysql密碼設(shè)置步驟說明

跳轉(zhuǎn)到mysql的bin目錄下:
C:WINDOWSsystem32cd /
C:cd xampp/mysql/bin
輸入:
C:xamppmysqlbinmysql -u root
xampp的mysql密碼怎么設(shè)置?mysql密碼設(shè)置步驟說明

選擇數(shù)據(jù)庫(kù):
mysql use mysql;
設(shè)置密碼(以設(shè)置密碼為root為例):
mysql update user set password=password(root) where user=root;
xampp的mysql密碼怎么設(shè)置?mysql密碼設(shè)置步驟說明

這樣就設(shè)置好了,輸入exit退出mysql
mysql exit;
重啟mysql服務(wù)(可以通過xampp pane中的stop與start)
使用mysql -u root -p 嘗試密碼是否能夠登錄
xampp的mysql密碼怎么設(shè)置?mysql密碼設(shè)置步驟說明

然后修改phpMyAdmin配置文件:
路徑:C:xamppphpMyAdminconfig.inc.php
查找:$cfg[Servers][$i][password] = ;
修改為:$cfg[Servers][$i][password] = root;
xampp的mysql密碼怎么設(shè)置?mysql密碼設(shè)置步驟說明

重啟Apache服務(wù),瀏覽器中訪問localhost/phpmyadmin即可
xampp相關(guān)攻略推薦:
xampp新版本怎么安裝?xampp新版本安裝方法介紹
xampp的mysql密碼怎么設(shè)置?mysql密碼設(shè)置步驟說明

【xampp的mysql密碼怎么設(shè)置?mysql密碼設(shè)置步驟說明】以上就是xampp的mysql密碼如何設(shè)置?mysql密碼設(shè)置流程圖文介紹的全部?jī)?nèi)容了,IE瀏覽器中文網(wǎng)站為您提供最好用的瀏覽器下載,為您帶來(lái)最新的軟件資訊!

相關(guān)經(jīng)驗(yàn)推薦