LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-26-2006, 04:10 AM   #1
shritesh
LQ Newbie
 
Registered: Aug 2006
Posts: 15

Rep: Reputation: 0
MySql Error Logs.


Dear all,

Firstly let me thank you all who always help others with the medium of LQ.org.

I have a question as:

I have RH Linux Enterpise 4, with mysql installed on it but due to some reasons MySql server shuts down and my whole system is hung up.

I want to find out the reasons as to why this sudden shutdown is happening. I think that there is a facility of error logs in mysql. I want to know about that so as i can follow the logs and the come to a solution of this issue.

Many Thanks,

Shritesh
 
Old 09-26-2006, 07:33 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
The log files of mysql are located in the data directory (the directory which holds your databases), except if you've change it through my.cnf, or during installation. The one that you may look into is the hostname.err. Replace hostname with your real hostname.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Location of mysql logs? khwang Linux - Newbie 7 12-17-2010 06:51 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
Help with MySQL logs icarusfall Linux - Software 0 11-14-2005 05:24 PM
Firefox logs user out? Where are error logs? case1984 Linux - General 0 10-09-2004 02:22 PM
mysql logs on a slack dominant Slackware 6 06-21-2004 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration