mysql server安装
来源:互联网 发布:usb网络共享 编辑:程序博客网 时间:2024/06/17 13:04
环境
- windows 10
- my sql community server 5.7.17(zip版本)
步骤
- 解压zip文件(后续用mysql_dir代替此目录),将bin目录加入环境变量
- 配置my-default.ini(在mysql_dir下)
- 添加到末尾
basedir=D:\mysql-5.7.17-win32
datadir=D:\mysql-5.7.17-win32\data
- 添加到末尾
初始化
- 在mysql_dir/bin/下运行
mysqld --initialize-insecure
初始化无密码root用户
- 在mysql_dir/bin/下运行
启动服务
net start mysql
相应停止服务为
stop
登陆:
mysql -u root -p
按下Enter
键跳过密码输入mysqladmin -u root password "newpass"
可以设置密码
0 0
- ubuntu安装mysql server
- 安装 mysql server
- MySQL Server 6 安装
- mysql server 安装错误
- centos7 mysql-server 安装
- win10 Mysql server 安装
- mysql server 安装
- mysql server 安装
- mysql server安装
- Fedora-安装mysql-server
- MySql Server 安装步骤
- Mysql Server 安装
- Ubuntu中安装MySQL Server
- centos5下 mysql server 安装
- ubuntu 安装mysql-server配置
- Windows Server 2003安装MySQL
- CentOS安装配置mysql-server
- Redhat6下安装MySQL Server
- 网易的“访问统计”更新了
- Postgresql系统备份与恢复(三)
- 新人培养
- Postgresql系统备份与恢复(四)
- 进程创建时内存描述符处理
- mysql server安装
- Postgresql日志系统的实现
- Baysian Network 贝叶斯网络
- 设计一个函数,将整数的每一位上的数累加
- 计算机语言史
- 微型技术博客001-typedef和宏
- Postgresql日志系统的实现(二)
- Postgresql日志系统的实现(三)
- Postgresql日志系统的实现(四)