MySQL Issues

Nils Kassube kassube at gmx.net
Tue Jan 24 16:35:48 UTC 2017


Dr. Mikeal Hughes wrote:
> Ok here is one for you. I tried to enter the command sudo cd /root so
> I could go in and check the my.cnf file so I could see how my login
> information for MySQL is set. When I do I get Permission denied. I
> was asked for my sudo password put it in.

Try "sudo vi /root/<filename>" or "sudo less /root/<filename>" instead. 


Nils





More information about the ubuntu-users mailing list