..#1045 - access denied for user: 'root@localhost'
剛使用mysql, 就老是碰到這個問題, 終於找到原因..
c:/program files/mysql/mysql server 5.0/bin>mysql
error 1045 (28000): access denied for user 'odbc'@'localhost' (using password: no)
解決方法:
step 1:
c:/program files/mysql/mysql server 5.0/bin>mysql -u root -p
//這就是在mysql那個dos命令下開啟的
enter password: ******
welcome to the mysql monitor. commands end with ; or /g.
your mysql connection id is 28 to server version: 5.0.24a-community-nt
type 'help;' or '/h' for help. type '/c' to clear the buffer.
step 2:
c:/program files/mysql/mysql server 5.0/bin>mysql
mysql>status
正常使用....
MySql安裝時的1045錯誤
mysql 安裝到最後一步的時候,出現1045的錯誤有兩種解決辦法。解決辦法1.解除安裝重灌,不設root密碼,因為mysql預設密碼為空。解決辦法2.保持現在的密碼,開啟 mysql command line client 輸入你的密碼 安裝時設的那個,如果密碼不對可以試下空密碼登入,有可能安裝時...
MySql 安裝時的1045錯誤
mysql 安裝到最後一步遇到1045錯誤access denied for user root localhost using password yes 解決方案一 解除安裝mysql,重新安裝 解決方案二 重新設定root使用者密碼 在windows平台下操作步驟如下 1 以系統管理員身份登入到...
urlrewrite的簡單使用和碰到的問題
先是配置方式 放在web inf lib 2.在urlrewritefilter org.tuckey.web.filters.urlrewrite.urlrewritefilter request forward 新增urlrewrite.xml 與web inf 下 the rule means...