2、第一步:Ctrl+E打开资源管理器,点击计算机,点击管理。
3、第二步:展开服务和应用程序,点击服务找到Mysql56,右击属性。
4、第三步:点击登陆,点击本地系统登陆。
5、第四步:回到服务启动MySql服务。
6、第五步:回到MySql的安装目录,点击mysqlexe。
7、第六步:输入\s,出输出MySql的基本信息,就说明启动完成。
你先运行 CMD然后 进入到那个 mysql 的目录下, 再运行。
例如:
D:\>cd mys
D:\mysql-5150-win32>cd bin
D:\mysql-5150-win32\bin>mysql
Welcome to the MySQL monitor Commands end with ; or \g
Your MySQL connection id is 1
Server version: 5150-community MySQL Community Server (GPL)
Copyright (c) 2000, 2010, Oracle and/or its affiliates All rights reserved
This software comes with ABSOLUTELY NO WARRANTY This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or '\h' for help Type '\c' to clear the current input statement
mysql> use test
Database changed
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)