MySQL 5.5.9 Installation Problem security settings could not be applied 1364 authentication_string

mysql-5.5.9.tar.gz mysql for linux source code version:5.5.9 走过路过千万不要错过 立即下载
 

MySQL 5.5.9 Installation Problem

<>http://www.opensourcevarsity.com/mysqlbasics/mysqlinstall

Prior Installing MySQL on Local Windows<>
  1. Disconnect the machine from any network (if it is on any Local Area Network), isolate the machine
  2. Stop or Disable any antivirus setup running on the local machine ( which is why the machine must be isolated)
  3. Set the Windows Firewall - OFF. Stop all windows security on the local machine.

Navigate to the folder where the MySQL .msi which is the MySQL installer exists.

Run the .msi to setup MySQL Server 5.5.9 by double clicking it.

For the installation steps, refer to tutorial MySQL Installation which is covered on this website.

Right at the very end of the install / configuration process, the following will happen:

  1. Preparation configuration – successful
  2. Configuration file written – successfully
  3. The MySQL Server Instance service started – successfully

BUT

  • When applying security settings the configuration process will fail

NOTE: There is a bug in Version 5.8.8 that prevents security application to the MySQL instance.

The following window will appear during the MySQL 5.5.9 installation process as shown in Diagram 1.

The Error Message is as shown in diagram 1.

“The security settings could not be applied to the database because the connection has failed with following error. Error Nr:1364Field ‘authentication_string’ doesn’t have a default value…” message will display as shown in Diagram 1.

Follow these simple steps to successfully overcome this issue.

Click on Skip to close this window.

 

Diagram 1

The MySQL Server Instance Configuration wizard opens as shown in Diagram 2.

Security could not be applied. Error Number 1364. Field ‘authentication_string’ doesn’t have a default value message is displayed.

Red color cross in the circle indicates the failure of complete installation of MySQL as shown in Diagram 2.

Click on cancel to stop the installation procedure as shown in Diagram 2.

Diagram 2

At the desktop Click > Start > Run as shown in Diagram 3

Diagram 3

In the run text-box enter the command cmd as shown in Diagram 4.

Diagram 4

This opens a Command Window with a Command Prompt visible.

At the Command Prompt enter the following mysql –uroot to log in to MySQL as shown in Diagram 5.

Diagram 5

Before working with data held within a table it is necessary to inform the MySQL db engine which database holds the tables. The USE command specifies which database the MySQL db engine should set as active.

Use the mysql database as shown in Diagram 7.

mysql> USE mysql;
Database changed

Diagram 7

Remove the NOT NULL from the authentication_string field in table user by passing following command at the mysql prompt as shown in Diagram 8.

mysql>ALTER TABLE `mysql`.`user` CHANGE `authentication_string` `authentication_string` TEXT CHARACTER SET utf8 COLLATE utf8_bin NULL ;

Diagram 8

Quit the command line as shown in Diagram 9.

mysql>exit;
Bye

Diagram 9

Now you rerun the Instance Configuration wizard by navigating to Start > All Programs > MySQL > MySQL Server 5.5 > MySQL Instance Configuration Wizard as shown in Diagram 10.

Diagram 10

The MySQL Instance Configuration Wizard opens as shown in Diagram 11.

Click on Next to continue with the configuration of MySQL Server 5.5 server instance

Diagram 11

Select the maintenance option as shown in Diagram12.

Select Reconfigure Instance option to create a new configuration for the instance.

Click on Next to continue with the configuration wizard process as shown in Diagram 12.

Diagram 12

From the MySql Server Instance Configuration Wizard select Standard Configuration and click on Next as shown in Diagram 13.

Diagram 13

Check the checkbox of Include the Bin Directory in Windows PATH and click on Next as shown in Diagram 14.

Diagram 14

Now Configure the MySQL Server instance with your choice of root password as shown in Diagram 11

Current root password: ????????? ( provided earlier while installing MySQL )
Enter New Root Password : ????????? ( your choice )
Enter Confirm : ???????? ( your choice )
Check the check-box of Enable root access from remote machines.
Check the check-box of Create Anonymous Account.

Click on Next as shown in Diagram 15.

Diagram 15

The security settings would now successfully be applied to MySQL as shown in Diagram 16.

Diagram 16

MySQL 5.5.9 will now successfully be installed on your system.

MySQL安装使用说明基于Windows平台 MySQL安装使用说明基于Windows平台,按照步骤可以实现,文档建立时间是在2015年,所以mysql的版本是过去的版本,可能与最新的有差异。 立即下载

相关推荐

银河麒麟V10 SP3下NFS客户端挂载失败?5个常见问题排查与修复

本文针对银河麒麟V10 SP3系统中NFS客户端挂载失败的常见问题,提供了5个实战排查方案。从基础服务状态检查到防火墙配置、版本兼容性、/etc/fstab设置及权限映射,详细解析了问题根源与解决方案,帮助用户快速恢复NFS文件共享功能。

weixin_42525005的博客 363

How to collect ilom Snapshot via Web GUI

============================================================== To run the ILOM Snapshot utility using the ILOM web interface: ============================================================== 1. Log i

Nexneta连连看 1396

数控弯管机xyz转换ybc的算法_花了一年时间开发的三维弯管机交互式转档软件(三维管子模型UG,SOLIDWORK,PRO/E文件转成YBC)...

在弯管机加工中,由管子模型生成可直接进行弯管加工的YBC数据可以大大提高弯管编程过程.传统的做法是先用dxf数据文件(用autocad绘制管子的轴心线数据)转出XYZ数据,然后由XYZ数据转成YBC数据,而且大部分厂家对文件版本以及软件做管方式都有不少限制,这大大花费了用户的时间跟精力.随着企业的信息化管理以及不断的技术升级,传统用autocad线条模式来描述管子的方式正在被用户用PRO/E,UG...

weixin_29065959的博客 1969

MySQL数据库报错:ERROR 1364 (HY000): Field ‘authentication_string‘ doesn‘t have a default value

在MySQL安装和配置的过程中,遇到错误可能会让人感到困惑,尤其是当错误信息不够清晰时。本文将详细探讨一个在MySQL安装过程中较少见但可能会遇到的错误,提供一个全面的解决方案指南。

Mortal3306的博客 2628

EMI硬件抑制八项工程对策:从回路面积到谐振规避

电磁干扰(EMI)是电子系统可靠性与EMC合规性的核心挑战,其本质源于高频电流回路产生的辐射与耦合效应。理解回路面积、共模/差模噪声、阻抗匹配等基础原理,是实施有效抑制的前提。技术价值体现在降低辐射发射(RE)、传导发射(CE)超标风险,提升产品一次通过率与长期稳定性。典型应用场景包括开关电源设计、高速数字接口布局、工业嵌入式设备及医疗电子等对EMC要求严苛的领域。本文聚焦可落地的硬件级对策,涵盖回路面积控制、屏蔽策略、变压器漏磁管理、双线传输与阻抗匹配等关键实践,深度融合电流回路物理模型与PCB工程实现。

weixin_35019679的博客 86

计算机视觉-深度学习图像检测方法梳理

计算机视觉-深度学习图像检测方法梳理 由于之后要转方向啦,趁这段时间整理手中硕士研究方向的一些阅读笔记,这是一篇关于计算机视觉的基础知识梳理 先搞清一些小知识点 首先我们要弄清楚图像分类、目标定位、语义分割、实例分割的区别 a. 图像分类 :给定一张输入图像,图像分类任务旨在判断该图像所属类别; b. 目标定位 :在图像分类的基础上,我们还想知道图像中的目标具体在图像的什么位置,通常是以包围盒的(bounding box)形式; c. 语义分割 :语义分割是目标检测更进阶的任务,目标检测只需要框出每个目

qq_41662991的博客 9953

mysql 5.5.9_MySQL 5.5.9 安装问题

When applying security settings the configuration process will failNOTE:There is a bug in Version 5.8.8 that prevents security application to the MySQL instance.The following window will appear during...

weixin_42427302的博客 282

stm32最小系统_完成一个最小FOC矢量控制系统所需的基本模块和功能配置

当我们读懂 FOC 矢量控制的基本原理之后,便迫不及待的想动手尝试,去实现一个矢量控制系统,让电机先转起来,有一个直观的感受。因此,我们需要设计实现一个矢量控制的最小系统,具备矢量控制的基本功能,满足电机矢量运行的基本条件。首先,看一下矢量控制的基本架构:矢量控制架构如上图所描述,矢量控制系统包括实时电流的采集、clarke 变换、park 变换、SVPWM 、实时角度的反馈和计算以及电流环和速...

weixin_39524048的博客 1784

MySQL 5.5.8 – Problem while Creating new User (SQL Error (1364): Field ‘authentication_string’ doesn

Solution: There are 2 ways to fix the problem: A) Download HeidiSQL 6.0 and try creating user again. B) Go to "users" table in "mysql" db and change the definition of table, alter table st

x_i_y_u_e的专栏 885

keil指定变量存储在外部SRAM

本文介绍在keil工程中如何将程序中的变量定义在外部SRAM,包括sct分散加载文件的配置和启动文件的设置。

kevin1499的博客 2089

【HYSPLIT 教程第二期】Inline WRF-HYSPLIT 耦合

【HYSPLIT 教程第二期】Inline WRF-HYSPLIT 耦合

WW、forever的博客 811

MySQL安装或配置问题:在最后一步“Apply security settings ”时总出现error 1364错误,说TCP端口3306被占用

MySQL安装问题:在最后一步“Apply security settings ”时总出现error 1364错误,说TCP端口3306被占用  在网上查了一下, 大部分就是告诉你问题出在了3306 端口上,然后介绍如何重新安装。   这个问题在一年前在学校档案馆做项目部署的时候就遇到过,当时的解决方案就是不断的删除干净重新安装。 才发觉之前只知道无脑的看网上的教程,模仿着

fuchen2624的专栏 1861

RobotFramework二次开发——实时日志

背景基于RobotFramework的二次开发,少不了要打印实时日志出来,比如广泛应用的工具ride中,在执行用例时会把执行过程中的log全部打印出来,如果二次开发的时候,执行用例只能静默等待执行完毕,那只能算是一个半成品。结果在最后,不想看过程的可以直接跳到最后思路RobotFramework的日志有好几种,一个是执行后的log文件,这个文件可以作为数据留存,但是没办法实时获取,因为文件是在执行完

点点寒彬的博客 1万+

mysql安装error:the security setting could not be applied

在安装mysql时,出现“The security settings could not be applied to the database because the con

wangchaoqi1985的博客 687

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

Camera2Demo

在Camera2 的基础上进行封装,使得Camera2一堆初始化逻辑与Activity分离,降低耦合度,完成预览拍照并保存的操作

mysql 5.9_编译安装mysql-5.9.9

首先,需要下载安装Cmake;wget http://www.cmake.org/files/v2.8/cmake-2.8.4.tar.gz安装cmake;tar xvzf cmake-2.8.4.tar.gz./configuremakemake install下载mysql,可以去官方网站找到你所需要的;wget ftp://mirror.switch.ch/mirror/mysql/Down...

weixin_30556871的博客 435

Outlook Express 6 (OE6) for Win7/Win8/Win10

英文版 Outlook Express6.0, 兼容Win7/Win10/WinXP,解压就可用。

通过SQL Server维护计划的数据库备份任务

Backup strategies should be planned and documented in advance. It’s important to identify and classify areas of the database management system by importance and the corruption risk level. Also, any da...

culuo4781的博客 1522

pscad IEEE标准系统搭建说明

pscad IEEE标准系统搭建说明,包含典型的IEEE 9节点、14节点、30节点、39节点和118节点系统。内含标准测试系统的原始数据和潮流结果。

安装Mysql5.5的时候出现“authentication_string doesn’t hava a default value”问题的解决方法...

转载http://wty.name/mysql-error-authentication-string-does-not-hava-a-default-value/ 安装Mysql5.5的时候出现“authentication_string doesn’t hava a default value”问题的解决方法 解决方法一: 打开my.ini,查找 [Copy to cl...

qhxnls2的博客 1055

ERROR 1300 (HY000): Invalid utf8 character string: '\xA1\xAF'

这是由于CMD字符集是GBK的,而MySQL字符集是UTF-8的 在mysql命令行输入 set names gbk; 如下图:

java程序员——佳崴 3552

mysql 5.7_MySQL 5.7新特性介绍

1. 介绍身处MySQL这个圈子,能够切身地感受到大家对MySQL 5.7的期待和热情,似乎每个人都迫不及待的想要了解、学习和使用MySQL 5.7。那么,我们不禁要问,MySQL 5.7到底做了哪些改进,引入了哪些新功能,性能又提升了多少,能够让大家翘首以盼,甚至欢呼雀跃呢?下面就跟随我来一起了解一下MySQL 5.7的部分新功能。想要在一篇文章中介绍完MySQL 5.7的所有改进,几乎是不可能...

weixin_28221501的博客 373

mysql 5.9修改密码_Mysql 命令大全

Mysql命令大全1、连接Mysql格式: mysql -h主机地址 -u用户名 -p用户密码1、连接到本机上的MYSQL。首先打开DOS窗口,然后进入目录mysql\bin,再键入命令mysql -u root -p,回车后提示你输密码.注意用户名前可以有空格也可以没有空格,但是密码前必须没有空格,否则让你重新输入密码。如果刚安装好MYSQL,超级用户root是没有密码的,故直接回车即可进入到M...

weixin_39590472的博客 308

MySQL安装出现The configuration for MySQL Server 8.0.28 has failed. You can...错误

TheconfigurationforMySQLServer8.0.28hasfailed.Youcanfindmoreinformationaboutthefailuresinthe'Log'tab.以上错误

qq_64594090的博客 3万+

mysql5.5.9_CentOS 安装MySQL 5.5.9

由于开发需要,现在需要安装安装MySQL 5.5.9,使用了rpm安装总是出错,而且还有好多依事关系麻烦,此外也没有找到二进制的包,只好找源码包进行编译;[root@linuxidc www.linuxidc.com]# uname -aLinux test 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64...

weixin_42502736的博客 171

MySQL安装出现The configuration for MySQL Server 8.0.28 has failed. You can find more information about t

主要问题就是MySQL比较笨(其实我也怎么觉得,毕竟在建立数据库的时候中英文切换打出的都是字母,打中文要打出无比正确的拼音字母后空格键确认,而且默认第一个中文词语,无法自行选择)。扯远了,回到正题:就是MySQL比较笨,它的my配置文件里面不能含有中文,会无法识别。出现这个问题我也是搞了好久,在百度和优快云查阅了很多办法,但是我发现很多博主推荐的办法都是复杂且无效(切身体会)。重新安装的时候把安装位置和数据存放的位置路径全部使用英文,例如:之前我的安装路径:D:\用户\app\mysql。

weixin_68887171的博客 7675

5.6 - 5.9 MySQL

(类似于Java中的string)修改语句中的条件如果没有,那么就会修改整张表里面的数据。一个数据库内可以创建多张表,在一个表内能存放多个数据。一个字段对应一个数值,有多少个字段就应有多少个数字。时间值可以调用函数now()来获取当前时间。:操纵和管理数据库的大型软件DBMS。对数据库中表的数据记录进行增删改操作。所有的聚合函数不参与null值的统计。在一个数据库中表名是不能够重复的。删除表时,表中的数据也会对应删除。*号代表查询所有字段,但少用。:存储和管理数据的仓库DB。用来查询数据库表中的数据。

2402_88130280的博客 421

MySql出现error:the security setting could not be applied

安装mysql时会出现 error:the security setting could not be applied 时,是因为mysql卸载不干净所致,这时应重新卸载。 1.先把mysql的服务关闭 2.卸载mysql 3.把mysql的安装文件夹删除 4.我的是win7系统,所以在C:\ProgramData删除mysql文件夹 5.清理以下注册表: HKEY_LOCA

apologize的学习之路 1323

5.9 mysql插入文件

mysql插入文件

LetsStudy的博客 289
上一篇: cmd
tangxininjava
博客等级 码龄16年 14粉丝 5原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值