MySQL Administrator 失敗的解決方案

來源:互聯網
上載者:User

mysql教程 administrator 彈出"could not find settings"錯誤

解決:就是將註冊表中的hkey_local_machinesystemcurrentcontrolsetservicesmysqlimagepath
值由c:mysqlbinmysqld.exe mysql 改成"c:mysqlbinmysqld.exe" --defaults-file="c:windowsmy.ini" mysql

問題:php教程5 fatal error: call to undefined function mysql_connect() in
解決:我過早地將php.ini從php目錄下複製到系統windows目錄下,導致了我改了phpphp.ini,而沒有改windowsphp.ini的檔案,只需要將php.ini再從php檔案夾複製到windows目錄下

 

問題二


使用mysql administrator 登入,報錯: either the server service or the configuration file could not be found.startup variable and service section are there for disabled.

使用root 登入進去以後看到管理功能都是禁止掉的,提示: this section is only avaliable when connected to localhost solution: 點開mysql administrator時候,不要點擊登入,按住ctrl 鍵可以看到 最右邊的cancel鍵變成skip 字樣。 點擊,進入安全配置模式 ,這裡可以啟動服務或者建立服務。這裡可以gui配置my.ini的參數,可以選擇my.ini相對應的參數,注意:如果有紅色參數表示錯誤,應該調整。 如果修改後重啟mysql administrator還是不行的話,需要重啟系統。


mysql administrator錯誤,1045


root使用者在安裝的時候要輸入一個密碼,你這裡的密碼123456和安裝時設定的不一樣

telnet 127.0.0.1 3306
如果不能串連,檢查mysql服務是不是啟動,或者是防火牆不允許訪問3306連接埠。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.