日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

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

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

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


win R打開運行 , 輸入cmd進入DOS
【xampp的mysql密碼怎么設(shè)置?mysql密碼設(shè)置步驟說明】
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ù)庫:
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è)置步驟說明



    推薦閱讀