Mysql下载与安装 (出错install/remove of the service denied)
来源:互联网 发布:丰城市网络问政 编辑:程序博客网 时间:2024/06/05 23:51
1.在mysql官网下载社区版的mysql :
http://dev.mysql.com/downloads/mysql/
2.解压版本,下载后只需要解压到指定目录,如D:\program files\mysql。
3.安装服务
去cmd命令窗口,进入mysql\bin目录,输入命令安装:mysqld –install
具体操作如下:
但是出错了:install/remove of the service denied
出错原因:权限不够
解决方法:重新打开cmd.exe,然后右键,用管理员身份打开。
再次输入命令mysqld –install ,就提示Service successfully installed.
4.开启服务 输入:net start mysql
如下是在cmd环境下输入命令后的显示:
D:\program files\mysql\bin>net start mysql
MySQL 服务正在启动..
MySQL 服务已经启动成功。
5.直接登录mysql , 输入: mysql -uroot (登录本机下的root账号,没有密码)
mysql在windows下默认没有密码,在linux下默认有密码。 如下是cmd环境下的显示:
D:\program files\mysql\bin>mysql -uroot
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.6.31 MySQL Community Server (GPL)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
mysql>
6.退出数据库服务器登录
mysql>\q
mysql>quit
mysql>exit
7.卸载mysql服务
进入mysql\bin下,先停止服务,然后移除:
D:\program files\mysql\bin>net stop mysql 停止正在运行的服务
D:\program files\mysql\bin>mysqld –remove 移除mysql的安装服务
为了卸载干净,建议手动把D:\program files\mysql文件包删除。
- Mysql下载与安装 (出错install/remove of the service denied)
- MySQL-- 安装错误(install/remove of the service denied)
- MySQL免安装版报错:Install/Remove of the Service Denied!
- mysql 安装出现 Install/Remove of the Service Denied!错误
- mysql 安装出现 Install/Remove of the Service Denied!错误
- 命令行安装MySQL出现 Install/Remove of the Service Denied!
- mysql 安装出现 Install/Remove of the Service Denied!错误
- mysql 安装出现 Install/Remove of the Service Denied!错误
- 安装mysql Install/Remove of the Service Denied! 解决办法
- 安装MySQL出现 Install/Remove of the Service Denied!
- 安装mysql教程(出现Install/Remove of the Service Denied)
- mysql安装配置及安装mysql服务出现Install/Remove of the Service Denied!错误
- mysql异常 Install/Remove of the Service Denied!
- MySQL—Install/Remove of the Service Denied
- mysql Install/Remove of the Service Denied!错误的解决办法
- mysql install/remove of the service denied problem
- mysql Install/Remove of the Service Denied解决办法
- 安装mysql服务出现Install/Remove of the Service Denied!错误
- 事情没搞完。。。
- Java 权限修饰符
- 笨方法学python 习题46 项目骨架
- Mathematical Derivation of the Bayes Filter
- 自定义Laravel5中的路由文件的路径
- Mysql下载与安装 (出错install/remove of the service denied)
- C语言实验——分割整数
- Oct week3
- 自己实现一个SQL解析引擎
- C语言实验——数组逆序
- 轻量级orm框架-easy4net
- Java中事务的处理
- Android strings.xml中的一些小知识
- 判断出栈顺序是否合法