Unix Technical Forum

Differnt logs for each databse

This is a discussion on Differnt logs for each databse within the MySQL General forum forums, part of the MySQL category; --> Hi, Is it possible to have logs for each database into differnt files ? Rather on single file with ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 05:23 AM
Sachin Sharma
 
Posts: n/a
Default Differnt logs for each databse


Hi,

Is it possible to have logs for each database into differnt files ?
Rather on single file with log=/var/log/mysqld.log.
--
Sachin Sharma
Sr. Engineer Systems (Linux)
Net4India Ltd.

D-25
Sector 3
Noida-201301
INDIA

Tel: 0120-5323500
Fax: 0120-5323520
URL: http://www.net4.in
------------------------------------------------------------------------
This message may contain confidential and/or privileged information. If
you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose or take any action based on
this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation.
------------------------------------------------------------------------


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 05:23 AM
Mathieu Bruneau
 
Posts: n/a
Default Re: Differnt logs for each databse

Sachin Sharma a écrit :
>
> Hi,
>
> Is it possible to have logs for each database into differnt files ?
> Rather on single file with log=/var/log/mysqld.log.

It's not possible no... Maybe you should look at running different mysql
instance for each of them that need separate lock! (Prevent join between
the db but allow for tuning of param for each, and allow more memory to
be used than the 3-4G limit per process on 32bits architecture)
mysqld_multi allows easy management of those kind of setup!

--
Mathieu Bruneau
aka ROunofF

===
GPG keys available @ http://rounoff.darktech.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-28-2008, 05:23 AM
wagner@mysqlbrasil.com.br
 
Posts: n/a
Default Show the engine/table type for the specific table...

Hi friends,



How to show the engine/table type of the one table in my database??



I want to know the engine/table type (InnoDB, MyIsam.) for the tables that I
did in my database.



Thanks.



Wagner Bianchi


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-28-2008, 05:23 AM
Carlos Proal
 
Posts: n/a
Default Re: Show the engine/table type for the specific table...

show table status;

Carlos


On 12/10/06, wagner@mysqlbrasil.com.br <wagner@mysqlbrasil.com.br> wrote:
> Hi friends,
>
>
>
> How to show the engine/table type of the one table in my database??
>
>
>
> I want to know the engine/table type (InnoDB, MyIsam.) for the tables that I
> did in my database.
>
>
>
> Thanks.
>
>
>
> Wagner Bianchi
>
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:17 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com