Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1090  / 3 Years ago, mon, june 7, 2021, 8:40:52

I recently changed the permission of mysql, /var/lib/mysql so I could save a database in it manually (was only option currently, instead of importing it the proper way). To do so, I had to change the permissions from username: MySQL Server and group: mysql. When I tried to change it back I got this error: chown: invalid user: ‘MySQL’... Where to now?


More From » permissions

 Answers
1

The username is probably mysql, not "MySQL Server" or "MySQL". Remember, everything in Linux is case sensitive.



You can also find out the exact username by running grep -i mysql /etc/passwd and take a look at the first word, that's the username.


[#23794] Tuesday, June 8, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
dresuitable

Total Points: 69
Total Questions: 116
Total Answers: 122

Location: Honduras
Member since Sun, Dec 26, 2021
2 Years ago
;