用户''@ localhost'拒绝访问 [英] Access denied for user ''@'localhost'
本文介绍了用户''@ localhost'拒绝访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Windows上有一些MySQL经验,但现在我正在尝试使用mac os,我可以从终端访问mysql,但我可以查看数据库,但我无法修改或创建一个新的。我收到此消息:
I have some experienced with MySQL on Windows, but now I''m trying with mac os, I can access the mysql from the terminal, but i can view the databases but i can''t modify or create a new one. I get this message:
展开 | 选择 | Wrap | 行号
推荐答案
Heya,Mark。欢迎来到TSDN!
我继续将你的帖子拆分成自己的帖子,以避免劫持原始海报的主题。
Heya, Mark. Welcome to TSDN!
I went ahead and split your post into its own thread so as to avoid hijacking the original poster''s thread.
我在Windows上有一些经验丰富的MySQL,但现在我正在尝试使用mac os,我可以从终端访问mysql,但我可以查看数据库但是我不能修改或创建一个新的。我收到此消息:
欢迎使用MySQL监视器。命令以;结尾;或者\ g。
你的MySQL连接ID是4
服务器版本:5.0.37 MySQL社区服务器(GPL)
输入''help;''或''\h''寻求帮助。输入''\ c''清除缓冲区。
mysql> create database newland_tours;
ERROR 1044(42000):拒绝用户''''@''localhost''访问数据库''newland_tours''
mysql>
请有人帮帮我,如果你可以通过PayPal支付给我,
谢谢u
I have some experienced with MySQL on Windows, but now I''m trying with mac os, I can access the mysql from the terminal, but i can view the databases but i can''t modify or create a new one. I get this message:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.0.37 MySQL Community Server (GPL)
Type ''help;'' or ''\h'' for help. Type ''\c'' to clear the buffer.
mysql> create database newland_tours;
ERROR 1044 (42000): Access denied for user ''''@''localhost'' to database ''newland_tours''
mysql>
Please somebody help me with this, I can pay you if you can through paypal,
Thank u
您的用户帐户没有创建数据库权限。
Your user account does not have create database priviledges.
Heya,Markodilore。
您是否设置了root帐号?你的MySQL数据库?
在终端类型:
Heya, Markodilore.
Did you set up a root account for your MySQL database?
In the terminal type:
展开 | 选择 | Wrap | 行号
这篇关于用户''@ localhost'拒绝访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文