mysql log rotation

2011-01-04 Thread Atle Veka
MySQL: Ver 5.0.51a-24+lenny4-log for debian-linux-gnu on x86_64 ((Debian)) Hi, I am looking for alternate methods to rotate the query and slow query logs. Currently we employ the following method, in psedu code: sh# rename mysql.log mysql.log.foo mysql> FLUSH LOGS; sh# move mysql.log.foo /back

Re: MySQL Log and Data directories

2009-03-07 Thread Baron Schwartz
5/10 .. so whats the typical IO (rnd rw) that you > archive/expect on high trafficked sites ? > > --- On Wed, 3/4/09, Baron Schwartz wrote: > > From: Baron Schwartz > Subject: Re: MySQL Log and Data directories > To: dbrb2002-...@yahoo.com > Cc: mysql@lists.mysql.com > Dat

Re: MySQL Log and Data directories

2009-03-06 Thread dbrb2002-sql
Thanks Baron... Also, curious question.. as you might have used what is called GOOD hw configurarion with RAID 5/10 .. so whats the typical IO (rnd rw) that you archive/expect on high trafficked sites ? --- On Wed, 3/4/09, Baron Schwartz wrote: From: Baron Schwartz Subject: Re: MySQL Log

Re: MySQL Log and Data directories

2009-03-04 Thread Baron Schwartz
On Wed, Mar 4, 2009 at 1:22 PM, wrote: > On a high read/write load.. is it good to split log (binlogs, innodb txn > logs) and data (all tables, innodb tablespace) in different partitions ? > > Anybody had any experience ? > > For example; out of 25 disks array with 142GB 1rpm... I would like

Re: MySQL Log and Data directories

2009-03-04 Thread dbrb2002-sql
Lets say HP Modular Storage/Smart Array.. http://h18006.www1.hp.com/storage/disk_storage/msa_diskarrays/san_arrays/index.html From: Chaim Rieger Subject: Re: MySQL Log and Data directories To: "Michael Dykman" Cc: dbrb2002-...@yahoo.com, mysql@lists.mysql.com Date: Wednesday, March 4

Re: MySQL Log and Data directories

2009-03-04 Thread Chaim Rieger
Michael Dykman wrote: On Wed, Mar 4, 2009 at 1:22 PM, wrote: On a high read/write load.. is it good to split log (binlogs, innodb txn logs) and data (all tables, innodb tablespace) in different partitions ? Anybody had any experience ? For example; out of 25 disks array with 142GB 1rpm.

Re: MySQL Log and Data directories

2009-03-04 Thread Michael Dykman
On Wed, Mar 4, 2009 at 1:22 PM, wrote: > On a high read/write load.. is it good to split log (binlogs, innodb txn > logs) and data (all tables, innodb tablespace) in different partitions ? > > Anybody had any experience ? > > For example; out of 25 disks array with 142GB 1rpm... I would like

MySQL Log and Data directories

2009-03-04 Thread dbrb2002-sql
On a high read/write load.. is it good to split log (binlogs, innodb txn logs) and data (all tables, innodb tablespace) in different partitions ? Anybody had any experience ? For example; out of 25 disks array with 142GB 1rpm... I would like to keep few disks to logs and rest to data .. is

Re: MySQL log in issues

2009-02-22 Thread 黄镜
Method 1(install mysql): /usr/local/mysql/bin/: ./mysqladmin -u root password 'new_password' Method 2 mysql>UPDATE user SET password=PASSWORD('new_password') WHERE user='root'; mysql>FLUSH PRIVILEGES; Method 3: mysql>SET PASSWORD FOR root=PASSWORD('new_password'); On Mon, Feb 23, 2009 at 11:38 A

Re: MySQL log in issues

2009-02-22 Thread Jim Lyons
You should have typed " ... set password = password('newpass')" You've set root's password to the encypted value of some other string. You ought to be able to get around this by starting mysql (the server process, not the client) using the --skip-grant-tables option and resetting the password. O

MySQL log in issues

2009-02-22 Thread Tim DeBoer
Hi everyone, I'm having some problems getting logged in to mysql to create a new database. I have to admit, my overall skill level with mysql is 'Entry level noob'. I just haven't ever had much need to mess with it in general, so if you want to laugh, feel free. I'll understand ;) At any rate, as

Re: MySQL log files

2003-11-29 Thread Egor Egorov
Admin-Stress <[EMAIL PROTECTED]> wrote: > > How can I enable MySQL 4.0.16 log ? > > I just compiled and installed it in my RedHat 9.0 system, but I cant see any log > files. I use > default /etc/my.cnf from my-large.cnf. > Depends on what exactly logging you want to turn on (binary, update, g

Re: MySQL log files

2003-11-28 Thread Mayuran
How are you starting mysql? as a service? I dont think it keeps a log file by default. If you are not starting mysql as a service, start it with the --log-error=/var/log/mysqld --log-warnings flags. If you are starting it as a service, add those flags to your mysql file inside /etc/rc.d/init.

MySQL log files

2003-11-28 Thread Admin-Stress
Hello, How can I enable MySQL 4.0.16 log ? I just compiled and installed it in my RedHat 9.0 system, but I cant see any log files. I use default /etc/my.cnf from my-large.cnf. Sorry, if this question is too newbie, but I cant understand clearly reading MySQL manual. Thanks for helping me :)

mysql log

2003-09-27 Thread gamalt tant
i was checking the system log file i found " no mysqlpid file found.looked for /var/lib/mysql/localhot.locatdomain.pid" so how can i deal with a problem like that since mysql does not start? thanks __ Do you Yahoo!? The New Yahoo! Shopping

Re: mysql log rotate

2002-05-01 Thread Gerald Clark
Opening a file access it by its inode. Once it is opened, it can be renamed, or deleted, and this will have no effect for the process that has it open. Flush logs will close the inode, and create a new log, which will assign a new inode to be opened. File names are just handy pointers to inodes

mysql log rotate

2002-05-01 Thread Stéphane HENRY
in mysql docs, http://www.mysql.com/doc/L/o/Log_file_maintenance.html : 1) shell> cd mysql-data-directory 2) shell> mv mysql.log mysql.old 3) shell> mysqladmin flush-logs What's happening if there is a query between line 2 and 3, is it logged ? How could I rotate my files without a query not log

Re: where are my.cnf anf mysql log file.

2002-03-14 Thread ds
I don't know if this will help you but try this: # mysqld --help | grep "dir:" basedir: / datadir: /var/lib/mysql/ tmpdir: /tmp/ So, you'll find mysql log files in your datadir (is this case, /var/lib/mysql/). my.cnf is usually at /etc/my.cnf If you d

where are my.cnf anf mysql log file.

2002-03-14 Thread Jianping Zhu
I installed following two files MySQL-VERSION.i386.rpm MySQL-client-VERSION.i386.rpm but I can not fild my.cnf and mysql log files. Why? Thanks Jianping Zhu Department of Computer Science Univerity of Georgia Athens, GA 30602 Tel 706 5423900

MySQL Log Management

2001-12-19 Thread Shon Stephens
I am looking for some suggestions for MySQL log management. Just some people to respond to this message with their log rotation, and archival methods. I am just curious to see what others are doing, and to possibly suggest a method for myself to use. Thanks, Shon Stephens

RE: Can mySQL log files be located on another server?

2001-12-13 Thread Johnny Withers
mount. - Johnny Withers [EMAIL PROTECTED] p. 601.853.0211 c. 601.209.4985 -Original Message- From: Peter M. Perchansky [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 2:55 PM To: [EMAIL PROTECTED] Subject: Can mySQL log files be located on another server? Greetings:

Can mySQL log files be located on another server?

2001-12-13 Thread Peter M. Perchansky
Greetings: http://www.mysql.com/doc/B/i/Binary_log.html Is it possible to place this and the error log file generated by mySQLd on the hard drive on another server? If so, how? Thank you. Peter M. Perchansky, President/CEO Dynamic Net, Inc. He

mysql log?

2001-12-12 Thread Takacs Istvan
Hi How can I set up our mysql server to write its logs into a log file? Thanks in advance! Regards Istvan - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.my

configuring mysql log files

2001-04-10 Thread Kim Albee
My database log files are expanding very quickly - and when I look at them, they are logging all of the select statements, not just the delete, insert, update, etc. statements. How do I specify for the logfiles to only log "update" statements and not the selects? Thanks, Kim Albee --