MySQL Windows下關閉和啟動
最近在學習MySQL資料庫,看MySQL的使用手冊,並練習裡邊的語句,記錄一下常用常見的語句,下邊是關於啟動和關閉的命令,一定要確定MySQL執行,如果不能執行,則需要啟動。
Microsoft Windows [版本 6.1.7601]
版權所有 (c) 2009 Microsoft Corporation。保留所有權利。
C:\Windows\System32>mysqladmin -u root -p shutdown
Enter password: ****
C:\Windows\System32>mysqladmin -u root -p start
Enter password: ****
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.
You can check this by doing 'telnet localhost 3306'
C:\Windows\System32>net start mysql
MySQL 服務正在啟動 .
MySQL 服務已經啟動成功。
C:\Windows\System32>net stop mysql
MySQL 服務正在停止.
MySQL 服務已成功停止。
C:\Windows\System32>
Microsoft Windows [版本 6.1.7601]
版權所有 (c) 2009 Microsoft Corporation。保留所有權利。
C:\Windows\System32>mysqladmin -u root -p shutdown
Enter password: ****
C:\Windows\System32>mysqladmin -u root -p start
Enter password: ****
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.
You can check this by doing 'telnet localhost 3306'
C:\Windows\System32>net start mysql
MySQL 服務正在啟動 .
MySQL 服務已經啟動成功。
C:\Windows\System32>net stop mysql
MySQL 服務正在停止.
MySQL 服務已成功停止。
C:\Windows\System32>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22275400/viewspace-1090303/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- windows下mysql的安裝於使用(啟動、關閉)WindowsMySql
- mysql的啟動和關閉MySql
- MySQL啟動和關閉命令總結MySql
- 在Linux平臺下啟動和關閉MySQL服務LinuxMySql
- MySQL 多例項啟動和關閉指令碼MySql指令碼
- Windows下關閉MySQL的自動提交(autocommit)功能WindowsMySqlMIT
- Oracle學習系列—Windows下資料庫程式的啟動和關閉OracleWindows資料庫
- windows10怎麼關閉快速啟動_windows10關閉快速啟動的方法Windows
- 在 Windows 平臺下安裝與配置 MySQL 5.7.36之啟動與關閉MySQL服務WindowsMySql
- mysql啟動和關閉外來鍵約束MySql
- win10系統快速啟動怎麼關閉 關閉Windows快速啟動Win10Windows
- centos下nginx啟動、重啟、關閉CentOSNginx
- mysql啟動與關閉(手動與自動)MySql
- Linux 下 Oracle隨系統自動啟動和關閉LinuxOracle
- 在linux下使用dbstart和dbshut啟動和關閉db!Linux
- 【指令碼】快速啟動和關閉Windows上的資料庫指令碼Windows資料庫
- linux svn啟動和關閉Linux
- 資料庫啟動和關閉資料庫
- MYSQL5.7 MASTER-SLAVE 線上關閉和啟動GTIDMySqlAST
- linux下開機使用dbstart和dbshut自動啟動和關閉db!Linux
- LINUX下開機使用dbstart和dbshut自動啟動和關閉dbLinux
- Mysql 5.5 資料庫啟動關閉命令MySql資料庫
- oracle自動啟動和關閉的方法Oracle
- rhel as3下自動啟動和關閉oracle的指令碼S3Oracle指令碼
- nginx windows下 快速關閉NginxWindows
- ASM CRS 例項啟動和關閉ASM
- AIX上關閉和啟動X serverAIServer
- Oracle例項的啟動和關閉Oracle
- Oracle自動啟動和關閉的方法 (轉)Oracle
- Linux下關閉和開啟防火牆Linux防火牆
- MySQL 叢集的安全關閉和重啟方法MySql
- windows下重啟mysqlWindowsMySql
- Oracle DG主備啟動和關閉流程Oracle
- oracle 例項啟動和關閉解讀Oracle
- oracle啟動和關閉指令碼for LinuxOracle指令碼Linux
- Oracle資料庫的啟動和關閉Oracle資料庫
- ORACLE RAC 的啟動和關閉順序Oracle
- Linux下的MongoDB安裝&啟動&關閉LinuxMongoDB