Score:0

How to open/read a mysql .err error log

cn flag

can anyone teach me how to open a MySQL .err log in ubuntu gnome? i tried to use text editor or nano to open it but it is completely blank. Does it require a special software to open it?

thank you for your help.

image

Score:0
ca flag

Try this:

  1. First verify it is a text file. That's done with the file command. So, right clickOpen in Terminal will open a terminal window and then you can verify with:

    file kelvin-linux.err
    

    You should get something like

    kelvin-linux.err: UTF-8 Unicode text
    
  2. Then, because of the size, you should use commands like cat, more, grep, head or tail to explore the file. Editing 418.3MB is not easy.

Good luck.

PS: Usually log files are plain text files.

cn flag
it show this kelvin@kelvin-linux:/opt/lampp/var/mysql$ file kelvin-linux.err kelvin-linux.err: regular file, no read permission
cn flag
with sudo, it say it is a CSV file
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.