Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Did you use mysql_secure_installation when you first set up the server? If so, you should have had to set a mysql root password which is not the same as the OS passwords so that would mean there would be no reason to give root permission to the database, at least in my limited experience.
Quote:
After that i cannot login to mysql as root.
Mysql root user or the system root user?
What was that original message you refer to that got you into this trouble?
error 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
I need to get automysqlbackup running on the server, i had /etc/default/automysqlbackup.cnf
changed but still got the eror that is why i wanted to grant all privileges to root for all databases.
Not of course, you would be surprised at the number of users who post here and other forums who are not aware of that. THere is no way of knowing a members knowledge/experience unless s/he tells us.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.