MSYQL中系统找不到指定的路径的解决方法
2016-03-18 09:21
302 查看
系统找不到指定的路径。
这是由于上次卸载软件后服务中还有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
Microsoft Windows XP [版本 5.1.2600] (C) 版权所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\sunshine>cd c:\mysql\bin
C:\mysql\bin>mysqld
C:\mysql\bin>mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.0.20a-debug Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
这是由于上次卸载软件后服务中还有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
Microsoft Windows XP [版本 5.1.2600] (C) 版权所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\sunshine>cd c:\mysql\bin
C:\mysql\bin>mysqld
C:\mysql\bin>mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.0.20a-debug Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
相关文章推荐
- 嵌入式Linux USB WIFI驱动的移植
- WCF x509证书安装问题汇总
- corethink功能模块探索开发(二)让这个模块可安装
- win+l不能锁屏 win7
- 手机触屏版页面开发总结
- springmvc aop 事务配置
- DBL_EPSILON和 FLT_EPSILON的用法
- java拷贝
- 解决Add Hibernate mapping annotations to POJO (Hibernate 3.2 and above)不可选问题
- android 题
- Appium scroll 滑动查找
- android开发 数组
- DevOps实施的三种IT障碍
- Megacli 工具
- Java序列化与反序列化
- 算法学习总结(1)——基本数据结构
- 算法学习总结(1)——基本数据结构
- 关于一些基础的Java问题的解答(四)
- 委托 delegate
- 算法学习总结(1)——基本数据结构