安装mysql8.0版本遇到的一些问题

1.安装前提,电脑本身存在旧版本的mysql,但不想卸载。

[自定安装mysql版本8.0.26]参考文章 https://www.cnblogs.com/xiongzaiqiren/p/8970203.html

2.按照上文操作,在黑屏执行:mysql -u root -p 输入密码时,输入前边步骤给的初始密码,一直报错,说密码不对。

3.一顿搜索--->修改密码的命令,在黑屏中执行仍然报错。

4.实在没办法,在8.0版本,bin目录下 ,打开管理员黑屏-重新执行命令 net stop mysql8(该服务名,是新建时为避免与旧版冲突,命名的);mysqld-nt --remove mysql8 (卸载该服务)

5.因参照上文安装,查看文件夹下没有my.ini文件,

故借鉴 文章:https://www.cnblogs.com/RayWang/p/9347874.html,重新安装一遍8.0版本。

现在想来是删除了mysql文件中的data文件夹,这样就可以免密登录。


mysql8.0版本连接sqlyog又遇到一个问题,一直报连接MySQL数据库出现Authentication plugin 'caching_sha2_password' cannot be loaded

1.百度后,解决办法:登录mysql

  修改账户密码加密规则并更新用户密码

   ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER;   #    修改加密规则

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '密码';   #更新一下用户的密码
     刷新权限并重置密码   FLUSH PRIVILEGES;   #刷新权限
      再重置下密码:alter user 'root'@'localhost' identified by '密码';

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
PowerCommands 1.1 is a set of useful extensions for the Visual Studio 2008 adding additional functionality to various areas of the IDE. The source code is included and requires the VS SDK for VS 2008 to allow modification of functionality or as a reference to create additional custom PowerCommand extensions. Below is a list of the included in PowerCommands for Visual Studio 2008 version 1.1. Refer to the Readme document for additional command details and screenshots. Enable/Disable PowerCommands in Options dialog This feature allows you to select which commands to enable in the Visual Studio IDE. Point to the Tools menu, then click Options. Expand the PowerCommands options, then click Commands. Check the commands you would like to enable. Note: All power commands are initially defaulted Enabled. Format document on save / Remove and Sort Usings on save The Format document on save option formats the tabs, spaces, and so on of the document being saved. It is equivalent to pointing to the Edit menu, clicking Advanced, and then clicking Format Document. The Remove and sort usings option removes unused using statements and sorts the remaining using statements in the document being saved. Note: The Remove and sort usings option is only available for C# documents. Note: Format document on save and Remove and sort usings both are initially defaulted OFF. Clear All Panes This command clears all output panes. It can be executed from the button on the toolbar of the Output window. Copy Path This command copies the full path of the currently selected item to the clipboard. It can be executed by right-clicking one of these nodes in the Solution Explorer: The solution node; A project node; Any project item node; Any folder. Email CodeSnippet To email the lines of text you select in the code editor, right-click anywhere in the editor and then click Email CodeSnippet. Insert Guid Attribute This command adds a Guid attribute to a selected class. From the code editor, right-c

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值