1、mysql Install/Remove of the Service Denied!

使用管理员身份打开  cmd.exe

C:\Windows\WinSxS\wow64_microsoft-windows-commandprompt_31bf3856ad364e35_10.0.19041.746_none_735abbdbad8c902f

mysql -----  安装报错解决(windows 安装)

 

2、mysqladmin: connect to server at 'localhostei'x't' failed

错误如下:

mysql -----  安装报错解决(windows 安装)

解决:

//修改root 密码
set password for root@localhost = password('obge');

mysql -----  安装报错解决(windows 安装)

 测试:

 使用新的密码测试

mysql -----  安装报错解决(windows 安装)

使用软件打开mysql

mysql -----  安装报错解决(windows 安装) 

 

 

 

 

 

 

常用小命令

mysql -----  安装报错解决(windows 安装)

//启动mysql 服务
net start mysql

//直接进入
mysql -u root mysql

//修改root 密码
set password for root@localhost = password('obge');

//使用root 账户登录
mysql -u root -p

建议把服务改为手动

mysql -----  安装报错解决(windows 安装)

 

相关文章:

  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2021-09-18
  • 2022-12-23
  • 2021-11-18
  • 2021-05-01
  • 2021-06-05
猜你喜欢
  • 2022-12-23
  • 2021-10-31
  • 2022-12-23
  • 2021-04-13
  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
相关资源
相似解决方案