简体   繁体   English

#1044-拒绝用户'root'@'localhost'访问数据库'information_schema'

[英]#1044 - Access denied for user 'root'@'localhost' to database 'information_schema'

Someone sold us a script and not sure if it's working so I need to test it before it's too late however I'am getting the error "#1044 - Access denied for user 'root'@'localhost' to database 'information_schema'" 有人向我们出售了一个脚本,不确定是否能正常工作,因此我需要在脚本为时已晚之前对其进行测试,但是我收到错误消息“#1044-用户'root'@'localhost'对数据库'information_schema'的访问被拒绝”

I wasn't able to put the code entirely so here is the pastebin link : http://pastebin.com/P4dPRHaf 我无法完全放置代码,所以这里是pastebin链接: http : //pastebin.com/P4dPRHaf

I searched but couldn't really find a lot of help since i don't have experience on those stuff .note that I'am using Wamp server & getting this error when I try to import the .SQL file on PHPmyAdmin I guess that information_schema already exists on the database however not sure what part should I delete etc... 我进行了搜索,但由于在这些方面没有经验,因此找不到真正的帮助。请注意,我正在使用Wamp服务器,并在尝试在PHPmyAdmin上导入.SQL文件时收到此错误。数据库上已经存在,但是不确定应该删除哪一部分,等等。

It's saving you from yourself. 它使您摆脱了困境。

You should not be running statements on the info schema db (unless you REALLY know what you're doing). 您不应该在信息模式数据库上运行语句(除非您真的知道自己在做什么)。 The database serves as a "meta" repository that dictates how the server operates. 该数据库用作指示服务器如何运行的“元”存储库。 Chances are that you have no need to touch it and you'll likely brick your server if you do. 很有可能您不需要触摸它,如果这样做,您很可能会弄乱服务器。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误 1044 (42000):拒绝用户 'root'@'localhost' 访问数据库 (MySQL - MariaDB) - ERROR 1044 (42000): Access denied for user 'root'@'localhost' to database (MySQL - MariaDB) #1044 - 用户 'A WEIRD USER'@'localhost' 对数据库 'MY DATABASE' 的访问被拒绝 - #1044 - Access denied for user 'A WEIRD USER'@'localhost' to database 'MY DATABASE' 1044-用户'homestead'@ localhost的访问被拒绝 - 1044 - Access denied for user 'homestead'@localhost MYSQL限制用户访问information_schema - MYSQL restrict user access to information_schema SQLSTATE [HY000] [1044]当用户'@'localhost'上传到PhpMyAdmin数据库表时,访问被拒绝 - SQLSTATE[HY000] [1044] Access denied for user ''@'localhost' when uploading to PhpMyAdmin database table pdoexception sqlstate hy000 1044用户'@'localhost'对数据库'laravel'的访问被拒绝 - pdoexception sqlstate hy000 1044 access denied for user ''@'localhost' to database 'laravel' 数据库连接错误用户'root'@'localhost'的访问被拒绝(使用密码:否) - Database connection error Access denied for user 'root'@'localhost' (using password: NO) 用户'speedycm_root'@'localhost'对数据库'speedycms'的访问被拒绝 - Access denied for user 'speedycm_root'@'localhost' to database 'speedycms' 连接错误(1044)用户被拒绝访问 - Connect Error (1044) Access denied for user 修复 phpMyAdmin 用户 'root'@'localhost' 拒绝访问的问题 - Fix Access denied for user 'root'@'localhost' for phpMyAdmin
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM