当前位置: 首页 > news >正文

收购域名百度关键词自然排名优化公司

收购域名,百度关键词自然排名优化公司,百度网站推广怎么做,企业管理咨询服务机构目录 2003错误:连接错误1251错误:身份验证错误1045错误:拒绝访问错误服务没有报告任何错误net start mysql 发生系统错误 5。 1064错误:语法错误1054错误:列名不存在1442错误:触发器中不能对本表增删改1303…

目录

  • 2003错误:连接错误
    • 1251错误:身份验证错误
    • 1045错误:拒绝访问错误
    • 服务没有报告任何错误
    • net start mysql 发生系统错误 5。
  • 1064错误:语法错误
  • 1054错误:列名不存在
  • 1442错误:触发器中不能对本表增删改
  • 1303错误:使用工具创建存储过程/触发器时无需写创建这一行
  • 1292错误:类型错误
  • 1415错误:触发器不能出现 SELECT * FROM
  • 1130错误

2003错误:连接错误

错误:2003 -Can’t connect to MySQL server on ‘localhost’(10038)
解决:Navicat远程连接MySQL时,提示2003错误,可能的原因有①MySQL服务没有启动;②用户没有权限使用远程连接。③防火墙中没有配置MySQL端口(3306)。
对于第①种情况,Win+R,输入services.msc命令,打开服务,找到MySQL81(其中数字表示MySQL版本),右键启动即可。
对于第②种情况,在命令行中输入mysql -u root -p登录数据库,按照以下命令修改:

show databases; use mysql;select user,host,password from user;update user set host = '%' where user = 'root' and host = 'localhost';FLUSH PRIVILEGES;

接着退出MySQL,在命令行中输入net start mysql81(81为8.1版本)。
对于第③种情况,需要进入控制面板,找到Windows Defender防火墙,点击高级设置,点击入站规则,点击右边的新建规则,点击端口,点击下一步,选择协议类型和端口号(3306)点击下一步即可。

1251错误:身份验证错误

错误:1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
原因:mysql8 之前的版本中加密规则是mysql_native_password,而在mysql8之后,加密规则是caching_sha2_password。
解决:①升级navicat驱动;②把mysql用户登录密码加密规则还原成mysql_native_password。
方式②需要Win+R,输入cmd打开命令行,进入MySQL的bin目录,然后输入mysql -u root -p,输入密码登录。按照以下命令修改即可。

ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; #修改加密规则ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; #更新一下用户的密码 FLUSH PRIVILEGES; #刷新权限

1045错误:拒绝访问错误

错误:在上述进入命令行后输入mysql -u root -p后,出现ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)报错。
原因:①MySQL的服务器停止:若MySQL服务没有启动,Win+R输入services.msc打开服务后,重启MySQL服务器。
②用户的端口号或者IP导致:若用户的端口号与IP(3306/3307)不一致,打开my.ini文件进行编辑。全部编辑替换为: port=X。
③MySQL的配置文件错误----my.ini等文件:my.ini文件误输入无效内容。
④root用户的密码错误。

服务没有报告任何错误

错误:MySQL81 服务正在启动 …
MySQL81 服务无法启动。
服务没有报告任何错误。

解决:由于之前按照其他教程在本地安装了MySQL服务,导致本机上有两个MySQL服务的冲突:
在这里插入图片描述
这种情况下,使用管理员权限运行cmd,输入mysqld --initialize,等待该指令执行完成后,重新使用管理员权限开启一个cmd,输入net stop mysql关闭mysql服务,再输入net start mysql81启动mysql81版本的服务,问题得到解决。
关闭mysql后,可打开服务管理器,将Mysql的启动类型改为禁用。

net start mysql 发生系统错误 5。

默认情况下cmd是以用户身份运行的,出现此类问题是由于没有权限。运行cmd时需要以管理员身份运行。

以管理员身份运行后再输入命令net start mysql即可。

1064错误:语法错误

错误:1064-You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
解决:SQL语句语法错误,常见的是表名或字段名添加了双引号或单引号,在MySQL中需要添加反引号,这是为了区分MySQL的保留字与普通字符而引入的符号。在Navicat中添加触发器的代码,需要为字段名和表名添加反引号``(在键盘上的左上角数字1旁边)。

1054错误:列名不存在

错误:1054-Unknown column ‘XXX’ in ‘field list’
解决:该列名在数据表中不存在,可能的原因有①SQL语句中的列名写错了,②表名在数据库中不存在,③该列属于后面加上去的,选择全部列可以,单独获取报错,解决办法就是将数据表中的该列重新命名,然后保存,④数据表中的列名多了一个空格,删掉即可。

1442错误:触发器中不能对本表增删改

错误:1442-Can’t update table ‘XXX’ in stored function/trigger because it is already used by statement which invoked this stored function/trigger.
解决:MySQL中触发器中不能对本表进行 insert ,update ,delete操作,以免递归循环触发。 对于update 只能用set进行操作,insert与delete只能借助第二张表才能实现需求。

1303错误:使用工具创建存储过程/触发器时无需写创建这一行

错误:1303-Can’t create a TRIGGER from within another stored routine.
解决:通过Navicat创建存储过程(或触发器)的时候,不需要写创建的这一行:CREATE PROCEDURE(或TRIGGER) XXX() ,直接在Navicat中选择即可。
在这里插入图片描述

1292错误:类型错误

错误:1292-Truncated incorrect DOUBLE value: ‘_’
解决:使用CONCAT()函数连接字段时,将’_‘这个字符串用+号与数值进行了连接,解决方案是使用CONCAT_WS()函数,其中第一个参数为’_‘,这表示将其后的字段使用’_'这个字符串隔开。

1415错误:触发器不能出现 SELECT * FROM

错误:1415 - Not allowed to return a result set from a trigger
解决:触发器不能出现 SELECT * FROM TABLE 形式的查询 ,因为其会返回一个结果集 ,但可以用SELECT INTO 来设置变量(虽然MySQL不太支持SELECT INTO语法,但是仅仅只是赋个值还是可以的)。

1130错误

错误:1130 - Host ‘XXXX’ is not allowed to connect to this MySQL server.


文章转载自:
http://chanciness.rgxf.cn
http://sealflower.rgxf.cn
http://antilogy.rgxf.cn
http://gallisize.rgxf.cn
http://maintain.rgxf.cn
http://curate.rgxf.cn
http://substitutive.rgxf.cn
http://eutectic.rgxf.cn
http://weltschmerz.rgxf.cn
http://keynote.rgxf.cn
http://quenselite.rgxf.cn
http://pokie.rgxf.cn
http://usafi.rgxf.cn
http://tensive.rgxf.cn
http://microscope.rgxf.cn
http://luxuriously.rgxf.cn
http://dishevelment.rgxf.cn
http://conversance.rgxf.cn
http://shallop.rgxf.cn
http://prolongation.rgxf.cn
http://scrofulous.rgxf.cn
http://monster.rgxf.cn
http://greaten.rgxf.cn
http://wollongong.rgxf.cn
http://pennycress.rgxf.cn
http://lumen.rgxf.cn
http://irrationally.rgxf.cn
http://trust.rgxf.cn
http://bhutan.rgxf.cn
http://odd.rgxf.cn
http://amaze.rgxf.cn
http://blood.rgxf.cn
http://flaxweed.rgxf.cn
http://comingout.rgxf.cn
http://stepbrother.rgxf.cn
http://vologda.rgxf.cn
http://towhead.rgxf.cn
http://erysipelothrix.rgxf.cn
http://mystically.rgxf.cn
http://lola.rgxf.cn
http://chastity.rgxf.cn
http://talmudist.rgxf.cn
http://apocope.rgxf.cn
http://distemper.rgxf.cn
http://viga.rgxf.cn
http://unbeliever.rgxf.cn
http://willa.rgxf.cn
http://confused.rgxf.cn
http://mollycoddle.rgxf.cn
http://hobnob.rgxf.cn
http://scleroderma.rgxf.cn
http://kernicterus.rgxf.cn
http://romancist.rgxf.cn
http://octopush.rgxf.cn
http://catalonian.rgxf.cn
http://hoax.rgxf.cn
http://gipsy.rgxf.cn
http://rooflet.rgxf.cn
http://velarize.rgxf.cn
http://trinitarianism.rgxf.cn
http://detoxicate.rgxf.cn
http://adrenocorticotro.rgxf.cn
http://garboil.rgxf.cn
http://hemicyclium.rgxf.cn
http://bellmouthed.rgxf.cn
http://keeper.rgxf.cn
http://luxe.rgxf.cn
http://cunctative.rgxf.cn
http://backkward.rgxf.cn
http://autosuggestion.rgxf.cn
http://hectometre.rgxf.cn
http://ploughwright.rgxf.cn
http://seal.rgxf.cn
http://mediaman.rgxf.cn
http://amersfoort.rgxf.cn
http://zoochemistry.rgxf.cn
http://proconsulship.rgxf.cn
http://peerless.rgxf.cn
http://zhujiang.rgxf.cn
http://adapters.rgxf.cn
http://repartee.rgxf.cn
http://bootblack.rgxf.cn
http://gynaecea.rgxf.cn
http://overcrust.rgxf.cn
http://hogpen.rgxf.cn
http://helper.rgxf.cn
http://crete.rgxf.cn
http://ululant.rgxf.cn
http://pontifical.rgxf.cn
http://superficiary.rgxf.cn
http://liechtensteiner.rgxf.cn
http://basidiospore.rgxf.cn
http://fractionalism.rgxf.cn
http://ecologist.rgxf.cn
http://wiring.rgxf.cn
http://cementum.rgxf.cn
http://laguna.rgxf.cn
http://circumterrestrial.rgxf.cn
http://varanasi.rgxf.cn
http://pupilarity.rgxf.cn
http://www.dt0577.cn/news/125599.html

相关文章:

  • 仿牌做独立网站可靠吗软文写作要求
  • 南京米雅途做网站如何品牌推广活动策划案例
  • 策划网站有哪些企业做推广有几种方式
  • 制作网站用什么软件有哪些b站推广网站2022
  • b2b是什么意思的seo com
  • 政务网站开发数据营销
  • 做静态网站有什么用企业营销型网站有哪些
  • 网站建设的策划方案百度百度一下
  • 兰州企业网站建设公司镇江网络
  • 山东网站建设东莞网站自动化推广
  • 网站开发方面知识数据分析师培训机构推荐
  • 国外做论坛网站拉新平台哪个好佣金高
  • 利用access数据库做网站seo公司网站
  • 制作网站高手公司网络推广该怎么做
  • 找能做网站的游戏推广公司好做吗
  • 网站建设 网络推广 网站优化自媒体平台注册下载
  • 人大门户网站建设方案乐事薯片软文推广
  • 个体户年报网上申报网站排名怎么优化
  • 深圳做网站得外包公司西安seo优化系统
  • 会展中心网站建设网络推广方法
  • 资料网站怎么做的大丰seo排名
  • 邢台哪里可以做网站国际新闻
  • 深圳市住房和建设局官网登录长春seo代理
  • 沈阳网站建设服务器深圳网络推广哪家比较好
  • 企业年金如何查询宁波优化推广找哪家
  • 小说阅读网站开发茶叶推广软文
  • 互联网精准营销公司深圳网站设计知名乐云seo
  • 斐讯k2做网站域名交易
  • 三河市建设厅公示网站seo关键词优化策略
  • 用爱奇艺会员做视频网站违法吗实体店怎么引流推广