MSYQL中系統找不到指定的路徑的解決方法

2021-07-10 13:55:48 字數 2469 閱讀 9936

系統找不到指定的路徑。

這是由於上次解除安裝軟體後服務中還有mysql服務,所以安裝前看看服務中還有沒有mysql,有的話先mysqld-nt --remove ,中國自學程式設計網整理發布,www.zzzj.com .    

c:\documents and settings\sunshine>cd c:\mysql\bin    

c:\mysql\bin>mysql -u root -p   

enter password:   

error 2003: can't connect to mysql server on 'localhost' (10061)    

c:\mysql\bin>mysql -u root -p0000   error 2003: can't connect to mysql server on 'localhost' (10061)

c:\mysql\bin>mysqld-nt     

c:\mysql\bin>mysql -u root -p   

enter password: ****  

error 2003: can't connect to mysql server on 'localhost' (10061)   

c:\mysql\bin>mysql -help   

error 2005: unknown mysql server host 'elp' (11001)     

c:\mysql\bin>mysqld     

c:\mysql\bin>mysql -u root -p   

enter password:   

error 2003: can't connect to mysql server on 'localhost' (10061)     

c:\mysql\bin>net start mysql   

發生系統錯誤 3。    

系統找不到指定的路徑。      

c:\mysql\bin>mysqlshow   

mysqlshow: can't connect to mysql server on 'localhost' (10061)     

c:\mysql\bin>mysqld-nt -install   

the service already exists!   

the current server installed:     

c:\mysql\bin>mysqld-nt -remove   

service successfully removed.     

c:\mysql\bin>mysqld -install   

service successfully installed.     

c:\mysql\bin>mysqld     

c:\mysql\bin>mysqld --console   

innodb: the first specified data file .\ibdata1 did not exist:   

innodb: a new database to be created!   

040712 18:19:27 innodb: setting file .\ibdata1 size to 10 mb   innodb: database physically writes the file full: wait...   040712 18:19:27 innodb: log file .\ib_logfile0 did not exist: new to be created     innodb: setting log file .\ib_logfile0 size to 5 mb   innodb: database physically writes the file full: wait...   040712 18:19:28 innodb: log file .\ib_logfile1 did not exist: new to be created     innodb: setting log file .\ib_logfile1 size to 5 mb   innodb: database physically writes the file full: wait...   innodb: doublewrite buffer not found: creating new   innodb: doublewrite buffer created   innodb: creating foreign key constraint system tables   innodb: foreign key constraint system tables created   040712 18:19:34 innodb: started   

mysqld: ready for connections.   version: '4.0.20a-debug' socket: '' port: 3306       

c:\mysql\bin>mysqld --skip-name-resolve

TexStudio報錯 系統找不到指定的路徑

今天換了一台電腦編輯latex,發現能編譯出pdf,但是每次執行都會報錯。系統找不到指定的路徑 本身沒有錯誤,編譯器也能正常執行,初步判斷是系統設定的問題。經過排查,發現是乙個程式解除安裝不乾淨,每次編譯latex都會執行cmd,而cmd會執行autorun,導致報錯。開啟 登錄檔編輯器 找到 hk...

系統找不到指定檔案怎麼解決

windows 平台許多軟體的安裝和開啟,都會發生 系統找不到指定檔案的情況下面列舉種?系統找不到指定檔案 解決方法,一種是檔案所在的目錄太長,一種是檔案缺失。如下圖,這個檔案找不到,是因為目錄路徑太長,windows識別不了這麼長的目錄,首先,這個目錄上級目錄已經是windows的臨時快取目錄,然...

dom4j解析xml時報 系統找不到指定路徑

用dom4j解析xml檔案的時候總是報上面的錯誤,試驗了多種方法 1.將xml文件由src目錄下換到跟目錄下同樣沒法解決 2.將workspace的預設路徑e users shi hao pc workspaces myeclipse 10 更改為 e users shi hao pc worksp...