Computing.Net > Forums > Linux > 'Access denied for user: 'root@loca

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

'Access denied for user: 'root@loca

Reply to Message Icon

Name: mayve
Date: June 1, 2005 at 14:25:01 Pacific
OS: RH 7.2
CPU/Ram: p3
Comment:

ive got mysql running on my system, i can access databases as root.
but now, it tells me 'Access denied for user: 'root@localhost'
tried changing my root password via mysqladmin, it gives me the same error.
what will i do?
thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: patrix
Date: June 1, 2005 at 20:25:04 Pacific
Reply:

are you login as a root???

try to login as root(mysql -h localhost -u root), and if you have made a password for root, use this command(mysql -h localhost - u root -p)...and then, please you make a new user in mysql database...OK??

patrix

I think, computer is the last tecnologi, and may be ...the other invention just a develop of the computer system...




1

Response Number 2
Name: mayve
Date: June 2, 2005 at 02:27:00 Pacific
Reply:

hi patrix ...i never created a username and password for mysql.

i am logged in as root.

when im trying to do something in mysql ...
it gives me the same error... 'Access denied for user: 'root@localhost' ..blahblah...

ive seen in /usr/lib/ ownership is with mysql, tried su to mysql ... and then do something in mysql still the same error.

tried also to edit my.cnf from "user = mysql" to user = root" ...still the same.
thanks.



0

Response Number 3
Name: Dave The Snakes
Date: June 10, 2005 at 06:08:17 Pacific
Reply:

Try changeing directories with "cd"then try again


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: 'Access denied for user: 'root@loca

can't get MySQL access www.computing.net/answers/linux/cant-get-mysql-access/18043.html

Error 1045 in MySql for Linux 9.0 www.computing.net/answers/linux/error-1045-in-mysql-for-linux-90/24519.html

DB administrator for mysql server www.computing.net/answers/linux/db-administrator-for-mysql-server/18679.html