(perl) script for replication log rotation

2002-10-14 Thread Adam Arrowood
Anyone know of/have recommendations on a perl script to do replication (binary) log rotation? I have a master with multiple slaves. I need to be able to rotate the binary log of the master and get rid of any old files that the slaves aren't reading. I'm looking for a script that will talk

Re: 3.22.52 log rotation crash

2002-10-10 Thread Sinisa Milivojevic
Hi! Our replication developers have recently fixed a bug that looks conspiciously like the one you reported. It will come up in 3.23.53 which should come up in 7 - 10 days. Would you please be so kind to check it out if it still persists. If you would like to test code sooner, you can

Re: 3.22.52 log rotation crash

2002-10-10 Thread Matthew J. Francis
consists simply of one thread looping through INSERT INTO testtable VALUES(1), and another doing a RESET MASTER; query. (based on this, we're also testing a workaround of making log rotation do FLUSH TABLES WITH READ LOCK; ... ; UNLOCK TABLES; which seems to be effective) If there's any particular

Re: 3.22.52 log rotation crash

2002-10-10 Thread Sinisa Milivojevic
. The backtrace that results also looks the same as in the initial report. Test case consists simply of one thread looping through INSERT INTO testtable VALUES(1), and another doing RESET MASTER;. (based on this, we're also testing a workaround of making log rotation do FLUSH TABLES WITH READ LOCK

mysql replication (Error reading packet from server: Binary log is not open (read_errno 0,server_errno=2000)

2002-10-09 Thread louie miranda
021009 12:56:49 mysqld started /usr/sbin/mysqld: ready for connections 021009 12:56:49 Slave: connected to master '[EMAIL PROTECTED]:3306', replication started in log 'FIRST' at position 4 021009 12:56:49 Error reading packet from server: Binary log is not open (read_errno 0,server_errno=2000

re: 3.23.52 log rotation crash

2002-10-08 Thread Matthew J. Francis
On Mon, 2002-10-07 at 17:40, Victoria Reznichenko wrote: MJF One of the machines is simultaneously slave to one server and master to MJF two others; on that machine, if a RESET MASTER or PURGE MASTER LOGS MJF is executed while its slave thread is performing a query, mysqld MJF reproducibly

Apologies - Binary Log info found

2002-10-08 Thread Robert Fox
Apologies to the list. Apparently the question I asked regarding binary data dumps is an issue involving a MySQL startup parameter: log-bin. Apparently this is the redo-log facility of MySQL for all successful updates. This can be turned on or off. Question answered. Thanks, Rob Robert Fox

re: 3.22.52 log rotation crash

2002-10-07 Thread Victoria Reznichenko
Matthew, Wednesday, October 02, 2002, 5:29:38 PM, you wrote: MJF My company runs a moderately large and loaded MySQL replication network MJF across four Solaris machines. While upgrading from a fairly old 3.23.4x MJF installation to 3.23.52 we've encountered a problem with replication and MJF

RE: RE: how can I turn on query log on Windows? (mysql-3.23.38)

2002-10-03 Thread Dragos Madalin Popa
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 12:17 AM To: Dragos Madalin Popa Subject: Re: RE: how can I turn on query log on Windows? (mysql-3.23.38) Your message cannot be posted because it appears to be either spam or simply

3.22.52 log rotation crash

2002-10-02 Thread Matthew J. Francis
_db_func_ = 0x0 _db_file_ = 0x0 _db_level_ = 0 _db_framep_ = (char **) 0x0 (gdb) # cat /etc/my.cnf [mysqld] server-id = 2002 master-host = 192.168.x.x master-user = replication master-password = replication master-port = 3306 log-bin log-slave-updates skip-slave-start skip

re: log file...

2002-09-17 Thread Victoria Reznichenko
antispam, Monday, September 16, 2002, 11:25:31 PM, you wrote: aafdn my log file (hostname.log) was soo large and i just deleted it(back up) and created a new file called hostname.log but mysql does not stores anything in the log file.. (i did mysqladmin aafdn log-flush and server stop

Re: can not connect or log into MySQL anymore.

2002-09-11 Thread Gerald Clark
Do not run myisamchk with the server running. Stephen Sokalski wrote: version: 3.23.37 running on an RAQ Problem: I can not log into MySql as root - it hangs after I give it a password. Background: MySql was running fine for a year and then just stopped running. Symptoms: 1) Mysqld

Re: can not connect or log into MySQL anymore.

2002-09-11 Thread peter . brawley
Stephen, mysqlcheck works while the server is running. P. Gerald Clark wrote: Do not run myisamchk with the server running. Stephen Sokalski wrote: version: 3.23.37 running on an RAQ Problem: I can not log into MySql as root - it hangs after I give it a password

can not connect or log into MySQL anymore.

2002-09-10 Thread Stephen Sokalski
version: 3.23.37 running on an RAQ Problem: I can not log into MySql as root - it hangs after I give it a password. Background: MySql was running fine for a year and then just stopped running. Symptoms: 1) Mysqld is running when I reboot the server but can't be shut down (/usr/share

RE: Replication problem: slave can't log into master

2002-09-09 Thread Jamie Beu
I don't even have a master.info file to remove. The master.info file never gets written. It won't start replication at all. It just keeps writing the same error to the log file: Slave thread: error connecting to master: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) (0), retry

Re: Replication problem: slave can't log into master

2002-09-08 Thread Jeremy Zawodny
On Thu, Sep 05, 2002 at 09:52:05AM -0400, Jamie Beu wrote: I am attempting to setup MySQL replication between the ctiadb1 (master) server and the ctiadb2 (slave) server. When I look at the mysql.log file on the slave, I see the following (repeated every 60 seconds): 020904 12:00:30

RE: Replication problem: slave can't log into master (update)

2002-09-06 Thread Jamie Beu
: Dicky Wahyu Purnomo [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 11:02 PM To: Jamie Beu Cc: [EMAIL PROTECTED] Subject: Re: Replication problem: slave can't log into master (update) Pada Thu, 5 Sep 2002 12:35:45 -0400 Jamie Beu [EMAIL PROTECTED] menulis : I am still having

Replication problem: slave can't log into master

2002-09-05 Thread Jamie Beu
'@'%' identified by 'replctia'; flush privileges; Please tell me what I am doing wrong or missing. The /etc/my.cnf file on the master (ctiadb1) is as follows: --- [mysqld] log-bin server-id=21 max_binlog_size=512M --- The /etc/my.cnf file on the slave

Replication problem: slave can't log into master (update)

2002-09-05 Thread Jamie Beu
what I am doing wrong or missing. The /etc/my.cnf file on the master (ctiadb1) is as follows: --- [mysqld] log-bin server-id=21 max_binlog_size=512M --- The /etc/my.cnf file on the slave (ctiadb2) is as follows

Re: Replication problem: slave can't log into master (update)

2002-09-05 Thread Dicky Wahyu Purnomo
Pada Thu, 5 Sep 2002 12:35:45 -0400 Jamie Beu [EMAIL PROTECTED] menulis : I am still having problems with the slave server being able to connect to the master, but a thought occured to me while we were working another topic. Please let me know what I'm missing. I can do the following:

Re: mysqlbinlog - doesn't work on some log files

2002-08-19 Thread Eric Frazier
Hi, I tried using the mysqlbinlog from 3.23.52 MAX with no difference in the output at all from 4.0.2 It seems that whatever happened truely caused the log files to become corrupted So my next question would be, is there a way to repair the log files? What are the formating rules for the log

Re: mysqlbinlog - doesn't work on some log files

2002-08-17 Thread Heikki Tuuri
didn't mean to. I am using mysql 4.0.1 Alpha and some innodb and some myisam tables. I have the log files I need to restore my data since I have been running since the last backup with binlog enabled in my.cnf. The problem is that mysqlbinlog shows some log files, but other log files choke. In VI

Feature Request: --log-update to add 'drop table' after 'create temporarytable'

2002-08-17 Thread Michael Widenius
and 4.0.3 version already logs drop table into the MySQL binary log. Regards, Monty -- For technical support contracts, goto https://order.mysql.com/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Michael Widenius [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, CTO

bin log correction

2002-08-16 Thread George Chelidze
say there are 2 servers A and B. I have configures replication so that server A is a master and server B is a slave. so sometimes after incorrect query replication stops and the error log indicates that I should correct bin log. I dont know how. any help would be great. Regards, -- George

mysqlbinlog - doesn't work on some log files

2002-08-16 Thread Eric Frazier
Hi, I deleted a db I didn't mean to. I am using mysql 4.0.1 Alpha and some innodb and some myisam tables. I have the log files I need to restore my data since I have been running since the last backup with binlog enabled in my.cnf. The problem is that mysqlbinlog shows some log files

Slow Log

2002-08-15 Thread John Wards
I am having problems with mysql loggin slow queries. I have set up mysql.sh like this log_dir=/home/admin/slow_slog.log $bindir/safe_mysqld --datadir=$datadir --pid-file=$pid_file --log-slow-queri es=$log_dir That is all I have changed and re started mysql. but no slow_slog.log file has been

Re: Slow Log

2002-08-15 Thread Gerald Clark
Did you check your error logs? Does mysql have write permissions to /home/admin ? John Wards wrote: I am having problems with mysql loggin slow queries. I have set up mysql.sh like this log_dir=/home/admin/slow_slog.log $bindir/safe_mysqld --datadir=$datadir --pid-file=$pid_file --log-slow

Feature Request: --log-update to add 'drop table' after 'create temporarytable'

2002-08-14 Thread Daniel Kasak
Hi all. Hello spam filter! sql. query. I had to restore from a backup and run through part of the day's transactions from the --log-update option ... I had accidentally deleted 2500 records, and wanted to replay the logs minus that one delete command :-) One problem which I encountered

Re: Rename Table in Replication failed / command missing in slave log

2002-08-13 Thread Heikki Tuuri
3.23.49a-Replication I can't explain. A perl-script which controls whether master- and replication-tables are equal showed me, that a master-table was missing on both slaves (two backups are better than one :-) ) When I controlled the master update-log I saw that the master-table was renamed

Re: Rename Table in Replication failed / command missing in slave log

2002-08-13 Thread Heikki Tuuri
Lutz, - Original Message - From: Lutz Maibach [EMAIL PROTECTED] To: Heikki Tuuri [EMAIL PROTECTED] Sent: Tuesday, August 13, 2002 5:09 PM Subject: Re: Rename Table in Replication failed / command missing in slave log Hi Heikki, Lutz' problem looks like somethig different

Rename Table in Replication failed / command missing in slave log

2002-08-12 Thread Lutz Maibach
update-log I saw that the master-table was renamed with the following command: ALTER TABLE ad_429_t RENAME adprj_7; This command was missing in the slave-updatelogs. The sql-statements before and right after the missing one were present and no error was written down in the mysql-error-log. Trying

Re: Rename Table in Replication failed / command missing in slave log

2002-08-12 Thread Pete Harlan
. A perl-script which controls whether master- and replication-tables are equal showed me, that a master-table was missing on both slaves (two backups are better than one :-) ) When I controlled the master update-log I saw that the master-table was renamed with the following command: ALTER TABLE

FULLTEXT out of slow query log

2002-08-09 Thread Steven Roussey
Is there a way to not have mysql put fulltext searches in the slow query log? Sincerely, Steven Roussey http://Network54.com/?pp=e - Before posting, please check: http://www.mysql.com/manual.php (the manual) http

Re: FULLTEXT out of slow query log

2002-08-09 Thread Paul DuBois
At 10:53 -0700 8/9/02, Steven Roussey wrote: Is there a way to not have mysql put fulltext searches in the slow query log? Not FULLTEXT queries specifically. You can bump up long_query_time, but that applies to all queries. Sincerely, Steven Roussey http://Network54.com/?pp=e

Re: Re: InnoDB: Looong pause when log file is full?

2002-08-04 Thread Pete Harlan
Hi Heikki, Thank you for responding. (http://www.innodb.com/ibman.html#InnoDB_tuning), but am getting bit when the log files are full and the buffer pool is checkpointed. InnoDB does 'fuzzy checkpoints'. That means modified database pages in the buffer pool are flushed to disk

Re: InnoDB: Looong pause when log file is full?

2002-08-03 Thread Heikki Tuuri
Pete, - Original Message - From: Jeremy Zawodny [EMAIL PROTECTED] Newsgroups: mailing.database.mysql Sent: Friday, August 02, 2002 2:40 AM Subject: Re: InnoDB: Looong pause when log file is full? On Thu, Aug 01, 2002 at 04:37:05PM -0500, Pete Harlan wrote: Hi, I've read

InnoDB: Looong pause when log file is full?

2002-08-01 Thread Pete Harlan
Hi, I've read the performance tuning tips for InnoDB (http://www.innodb.com/ibman.html#InnoDB_tuning), but am getting bit when the log files are full and the buffer pool is checkpointed. By 'geting bit', I mean for several minutes the db server basically stops, and our website stops serving

Re: InnoDB: Looong pause when log file is full?

2002-08-01 Thread Jeremy Zawodny
On Thu, Aug 01, 2002 at 04:37:05PM -0500, Pete Harlan wrote: Hi, I've read the performance tuning tips for InnoDB (http://www.innodb.com/ibman.html#InnoDB_tuning), but am getting bit when the log files are full and the buffer pool is checkpointed. By 'geting bit', I mean for several

Re: Re: InnoDB: Looong pause when log file is full?

2002-08-01 Thread Pete Harlan
Thanks for your feedback (and your general untiring devotion to the cause...) On Thu, Aug 01, 2002 at 04:30:10PM -0700, Jeremy Zawodny wrote: about what we can do to alleviate this? Instead of having three 150mb log files, would we be better off with 30 15mb log files? It shouldn't

Slaves do not place INSERTS from master into binary log if not into current database

2002-07-31 Thread pfrench
Description: If an update is made to a master using the syntax 'INSERT INTO database.table' etc... on a mysql connection where no 'USE database' command has been given then the updates are written to the master binary log correctly, and update the slave

replication works but error log full of junk

2002-07-16 Thread walt
I've set up replication and the slave is updating any changes made to the master, but these errors keep showing up in the error log. Any ideas?? 020716 12:57:26 Slave: Failed reading log event, reconnecting to retry, log 'walt-bin.002' position 265 020716 12:57:26 Slave: reconnected

replication error - failed reading log event (server_errno=1159)

2002-07-11 Thread jsd
from server: (server_errno=1159) 020711 17:18:10 Slave: Failed reading log event, reconnecting to retry, log 'rs1-bin.001' position 276 020711 17:18:10 Slave: reconnected to master 'replica@rs1private:3306',replication resumed in log 'rs1-bin.001' at position 276 eventually (30 seconds

General query log option in my.cnf?

2002-07-09 Thread Håkon Eriksen
Is there a way of turning on the general query log in the my.cnf file or do I have to edit the init-script? Personally, I would very much like to have only one place to set all the configuration options (preferrably my.cnf). Setting datadir and other options both in the my.cnf file and the init

Re: General query log option in my.cnf?

2002-07-09 Thread Myk Melez
Håkon Eriksen wrote: Is there a way of turning on the general query log in the my.cnf file or do I have to edit the init-script? Yes, all command-line options can be specified in my.cnf. Read the following page for more info: http://www.mysql.com/doc/O/p/Option_files.html -myk

Audit - Log

2002-07-04 Thread Jorge Ceballos
Hi, After reading about the audit log (http://lists.mysql.com/cgi-ez/ezmlm-cgi?1:mss:95588), which I need; I looked for the my.cnf and mysql.log file but didn't find any nor any other related file. Are these created by default or should I create them ? Please advise. TIA. Jorge Ceballos

Re: Audit - Log

2002-07-04 Thread Bhavin Vyas
You will need to create my.cnf and turn ON the loggin option. Bhavin. - Original Message - From: Jorge Ceballos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 04, 2002 12:30 PM Subject: Audit - Log Hi, After reading about the audit log (http://lists.mysql.com/cgi-ez

Re: thousands of binary log files

2002-06-26 Thread Gary Colman
Hi Paul - Thanks for your suggestion. Unfortunately the general query log indicates that there is no hint of any external interference and it still rotates every few seconds ... there are constant accesses to the DB, and the bin-log is rotated mid-connection by a querying client. I have

Re: thousands of binary log files

2002-06-26 Thread Paul DuBois
At 11:43 +0200 6/26/02, Gary Colman wrote: Hi Paul - Thanks for your suggestion. Unfortunately the general query log indicates that there is no hint of any external interference and it still rotates You may not see an explict FLUSH LOGS query. Do you seen any lines that say Refresh after

thousands of binary log files

2002-06-25 Thread Gary Colman
Hi Every few seconds, my mysql server generates a new binary log file with an incremented id number ${hostname}-bin.x According to the logs, this should happen only when a reload or flush type command is issued ... mysql variables: flush off log_bin on max_binlog_size

Re: thousands of binary log files

2002-06-25 Thread Paul DuBois
At 16:31 +0200 6/25/02, Gary Colman wrote: Hi Every few seconds, my mysql server generates a new binary log file with an incremented id number ${hostname}-bin.x According to the logs, this should happen only when a reload or flush type command is issued ... mysql variables: flush

Binary update log how to disable ?

2002-06-18 Thread David BORDAS
-bin.xxx I assume that it's the binary update log, but i haven't that with my old 3.23.48. So please, how can i disable this log ?? Rgds David - Before posting, please check: http://www.mysql.com/manual.php (the manual

RE: Binary update log how to disable ?

2002-06-18 Thread ???
Maybe you have my.cnf file in your computer. That can be under /etc or you home directory. In that file there may be text like this. # Try number of CPU's*2 for thread_concurrency set-variable= thread_concurrency=8 set-variable= myisam_sort_buffer_size=64M log-bin server-id = 1

Re: Log Files in InnoDB

2002-05-29 Thread ritu singla
Hello, i could not understand what is the content of log files in InnoDB in MySQL...is it the log of the database,i mean, the data, or the transaction log?? Thanx in advance.. Ritu Singla Everything you always

Re: Log Files in InnoDB (MySQL)

2002-05-29 Thread Heikki Tuuri
- Original Message - From: Heikki Tuuri [EMAIL PROTECTED] To: ritu singla [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, May 29, 2002 2:31 PM Subject: Re: Log Files in InnoDB (MySQL) Ritu, the ib log files contain records of every change to database pages in the ibdata files

binary update log: configure by database, not daemon?

2002-05-27 Thread jim hopp
Greetings, We plan to use the binary update log plus backups to enable us to restore databases and then re-apply updates when necessary. It appears to me that the binary update log contains updates to all databases on the mysqld-max process, and that there is no way to keep a separate

Re: binary update log: configure by database, not daemon?

2002-05-27 Thread Jeremy Zawodny
On Mon, May 27, 2002 at 10:31:06AM -0700, jim hopp wrote: Greetings, We plan to use the binary update log plus backups to enable us to restore databases and then re-apply updates when necessary. It appears to me that the binary update log contains updates to all databases on the mysqld

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

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

Re: Specifying Error Log

2002-04-20 Thread Sinisa Milivojevic
On Fri, 19 Apr 2002 16:03:44 -0500 (CDT) Russell E Glaue [EMAIL PROTECTED] wrote: I think it would be a good idea to be able to specify the error log on the command line when starting mysqld. Right now mysql users can only specify the following logs on the command line: log (access

Specifying Error Log

2002-04-19 Thread Russell E Glaue
I think it would be a good idea to be able to specify the error log on the command line when starting mysqld. Right now mysql users can only specify the following logs on the command line: log (access/activity log) log bin log bin index log update log isam

Error in the log files

2002-04-12 Thread Soheil Shaghaghi
Hi all, I recently upgraded to Perl 5.6.1 and ever since I keep getting these errors in my log files on my Linux machine every time the pages that get the data from mysql are accessed: Argument O_RDONLY isn't numeric in subroutine entry at /usr/local/lib/perl5/5.6.1/i686-linux/DB_File.pm line

Re: How to automate bin-log clean-up with replicated MySQL servers?

2002-04-11 Thread Marc Prewitt
. Does anybody have an idea how we could automate this procedure, or should we manage the log-files is another way? Here's a quick home-grown solution that works well for us. It's not the smartest approach, but we never let a slave get too far behind (they're all closely monitored), it works

RE: How to automate bin-log clean-up with replicated MySQL servers?

2002-04-11 Thread Greg_Cope
-Original Message- From: Marc Prewitt [mailto:[EMAIL PROTECTED]] Sent: 11 April 2002 14:46 To: [EMAIL PROTECTED] Cc: paul Subject: Re: How to automate bin-log clean-up with replicated MySQL servers? PFIZER GLOBAL RESEARCH AND DEVELOPMENT

Re: How to automate bin-log clean-up with replicated MySQL servers?

2002-04-11 Thread Jeremy Zawodny
On Thu, Apr 11, 2002 at 09:46:18AM -0400, Marc Prewitt wrote: We have a slightly smarter script which checks each slave to find the furthest one behind and purges up to that number. However, it currently figures out who the slaves are by checking a process status on the master.

How to automate bin-log clean-up with replicated MySQL servers?

2002-04-09 Thread paul
the disk space will get exhausted: SHOW SLAVE STATUS on the slave, write down the 'Log_File' name, and pass that to PURGE MASTER LOGS TO 'logname' on the master. Does anybody have an idea how we could automate this procedure, or should we manage the log-files is another way? Thank you for your

Restoring log file enteries.

2002-04-04 Thread Charitha
Hello all, I am having the mysql log file which is having all the queries which affects the data base. I have to restore those queries in the table in some remote server. Is that possible. Any ideas are welcome. Thanks in advance -- Regards, Charitha

Re: Restoring log file enteries.

2002-04-04 Thread Dicky Wahyu Purnomo
On Thu, 4 Apr 2002 16:05:57 +0530 (IST) Charitha [EMAIL PROTECTED] wrote: Hello all, I am having the mysql log file which is having all the queries which affects the data base. I have to restore those queries in the table in some remote server. Is that possible. YAP !!! ;-) Any

Re: Restoring log file enteries.

2002-04-04 Thread Victoria Reznichenko
Charitha, Thursday, April 04, 2002, 1:35:57 PM, you wrote: C I am having the mysql log file which is having all the queries which C affects the data base. C I have to restore those queries in the table in some remote server. C Is that possible. Yes, you can update database from update logs

Binary Log and WinXP Services

2002-04-03 Thread Scalper
I am running Windows XP with MySQL running as a service. When I want to run MySQL with the option for logging (--log -bin), I have to start the service MANUALLY and type the --log -bin in the parameters box each time I restart the server. Is there an easier way to do this? Thx, Craig

MY.INI: Binary Log and WinXP Services

2002-04-03 Thread Land, Christopher
... http://www.mysql.com/doc/O/p/Option_files.html -Original Message- From: Scalper [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 7:10 AM To: [EMAIL PROTECTED] Subject: Binary Log and WinXP Services I am running Windows XP with MySQL running as a service. When I want

help optimizing log table deletes

2002-04-02 Thread Viraj Alankar
Hello, We have an 'outgoing' table being used to store email header information defined as follows: CREATE TABLE outgoing ( rpath varchar(80) default NULL, auth varchar(80) NOT NULL default '', ip varchar(80) default NULL, hfrom varchar(80) default NULL, hto varchar(80) default NULL,

RE: help optimizing log table deletes

2002-04-02 Thread Klaus Meine
perhaps you can run this more frequently, say once an hour if it does not interfere with your application logic. -Original Message- From: Viraj Alankar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 4:57 PM To: [EMAIL PROTECTED] Subject: help optimizing log table deletes

RE: help optimizing log table deletes

2002-04-02 Thread Johnson, Gregert
= no. of affected rows returned by MySQL (other processing, perhaps a sleep) } while (row_count = delete_row_max; -Original Message- From: Viraj Alankar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 9:57 AM To: [EMAIL PROTECTED] Subject: help optimizing log table deletes Hello

log files

2002-03-21 Thread Victoria Reznichenko
Pål, Wednesday, March 20, 2002, 5:52:58 PM, you wrote: PW I have: PW mysql Ver 11.12 Distrib 3.23.32, for redhat-linux-gnu (i386) PW and wonder about the log file /var/log/mysqld.log PW shouldn't that include failed connections?? You can find mysqlds log in the file 'your_hostname.err

log files

2002-03-20 Thread Pål Wester
I have: mysql Ver 11.12 Distrib 3.23.32, for redhat-linux-gnu (i386) and wonder about the log file /var/log/mysqld.log shouldn't that include failed connections?? mvh: Pål Wester høgskoleingenør/programmerer never.no as, stortingsgt 30, 0161 Oslo direkte: 22 01 66 34, 906 900 62 tlf: 22 01 66

log queries in FIFO

2002-03-19 Thread Rénald CASAGRAUDE
Hi ! Is it possible to log mysql queries into a fifo created by : # mkfifo -m660 queries.log I've search with google but i found only one thread of one email where somebody is getting an error 29. That's my case too. Thanks a lot

sql help examining log table

2002-03-17 Thread Viraj Alankar
is here for those interested: http://www.cse.fau.edu/~valankar/ I am trying to figure out what is the best way to do a certain query. My outgoing log table looks like this: mysql desc outgoing; +---+--+--+-+-+---+ | Field | Type

RE: sql help examining log table

2002-03-17 Thread Dan Vande More
To: [EMAIL PROTECTED] Subject: sql help examining log table Hello, We use mysql to store outgoing email headers from our users and do throttling on users that appear to be spamming based on some simple queries to this table. We use the Communigate mail server and this throttling script is a PERL

RE: sql help examining log table

2002-03-17 Thread Dan Vande More
of coffee:) -Original Message- From: Dan Vande More [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 17, 2002 1:44 PM To: [EMAIL PROTECTED] Subject: RE: sql help examining log table I might be wrong, but this may get you going in the right direction: select count(subject) as count, subject from

Re: sql help examining log table

2002-03-17 Thread Anvar Hussain K.M.
to this table. We use the Communigate mail server and this throttling script is a PERL program implemented as a content filter. More information is here for those interested: http://www.cse.fau.edu/~valankar/ I am trying to figure out what is the best way to do a certain query. My outgoing log table

Replication: bin-log confusion and other

2002-03-15 Thread Juergen Jaeschke
should be replicated for theses databases - cross updates should work - If bin-log-do-db=xxx is set on master and nothing on slaves, then - as stated somewhere in the archive - crossupdates doesn't work. In addition, create database is not recoginzed and drop database is only recognized

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 don't have it, find

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

Using MyODBC. Does ONE ADO query... Log shows THREE!!

2002-03-07 Thread Ruben Edna
The first query shown in the log is the one I actually tells ADO.Open to run... however just after that one it runs two more (the two tables includes in the first query) select * queries... Why?? This slows down the ADO a lot. Even Jet4.0 doesn't do that on the same query and is therefore about

How to turn on Slow Query Log?

2002-03-07 Thread martin . tunggorono
Hi, I need help in turning on the slow query log option on the my.ini file. I've tried uncommenting it and when I tried to run the nt-max it says it couldn't recognize the option. Here's what I have for my.ini file, any other way I have to type it? Please advise. slow query log#=c

Re: How to turn on Slow Query Log?

2002-03-07 Thread Jeremy Zawodny
On Thu, Mar 07, 2002 at 09:53:51AM -0800, [EMAIL PROTECTED] wrote: Hi, I need help in turning on the slow query log option on the my.ini file. I've tried uncommenting it and when I tried to run the nt-max it says it couldn't recognize the option. Here's what I have for my.ini file, any

Re: How to turn on Slow Query Log?

2002-03-07 Thread martin . tunggorono
Never mind with that.. I don't know why it was there, it was created automatically the 1st time you run the windows gui admin. And I had to modify it to log-slow-queries=filename and it turned out ok. Thanks anyway. Regards, Martin

Logging problem with --log, my.cnf etc.

2002-02-21 Thread alastair
Hello, I am using MySQL 3.23.36 on Linux. This is a small gripe about a product I am otherwise very happy with. I hope I have not missed the obvious or been stupid some other way. The problem - I want to log somewhere other than $DATADIR. Things are set up like ; | log

RE: Logging problem with --log, my.cnf etc.

2002-02-21 Thread Luc Foisy
Does mysql have permission to write to that location? -Original Message- From: alastair [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 10:33 AM To: [EMAIL PROTECTED] Subject: Logging problem with --log, my.cnf etc. Hello, I am using MySQL 3.23.36 on Linux

Re: Logging problem with --log, my.cnf etc.

2002-02-21 Thread alastair
. The problem is that I could not see the '--log' file getting recognised or used in safe_mysqld. As I said, I would much rather be using /etc/my.cnf with the log= syntax. What I did in 'safe_mysqld' was ; 1) Add --log=/var/log/mysql.log to the call to safe_mysqld in my mysql init script 2) Add

Re: Logging problem with --log, my.cnf etc.

2002-02-21 Thread alastair
On Thu, Feb 21, 2002 at 01:47:50PM -0500, Luc Foisy wrote: maybe the variable you are using is not right my 'show variables' indicates log with a value of OFF | log | OFF yet mysql still generates its standard error file Hi Luc, Thanks for the reply (but please

Including/Excluding multiple databases from the Binary Log?

2002-02-18 Thread Peter Campbell
I am reading the documentation about the binary log, in particular binlog-do-db=database_name binlog-ignore-db=database_name (a) Can these be specified in the my.cnf file? (b) Can multiple databases be specified, either as a list or via multiple entries in the configuration? We're running

Re: BEGIN/COMMIT statements not written to the binary log : may it cause problems with replication ?

2002-02-12 Thread Michael Widenius
Hi! Heikki == Heikki Tuuri [EMAIL PROTECTED] writes: Heikki Guilhem, Heikki this is a known problem and mentioned in the Restrictions section of the Heikki InnoDB online manual. Heikki It is not the correct way to run SQL statements in the autocommit mode on Heikki the slave server, while

Re: BEGIN/COMMIT statements not written to the binary log : may it cause problems with replication ?

2002-02-12 Thread Heikki Tuuri
are not written to the binary log. I perfectly understand this if I have one server. But assume I have a master server, and a slave server that replicates the master. Let's say I distribute reads. Let's say I issue the following queries on the master (I use BEGIN and COMMIT for consistency) :BEGIN

Re: BEGIN/COMMIT statements not written to the binary log : may it cause problems with replication ?

2002-02-12 Thread Heikki Tuuri
are not written to the binary log. I perfectly understand this if I have one server. But assume I have a master server, and a slave server that replicates the master. Let's say I distribute reads. Let's say I issue the following queries on the master (I use BEGIN and COMMIT for consistency) :BEGIN

Re: BEGIN/COMMIT statements not written to the binary log : may it cause problems with replication ?

2002-02-06 Thread Heikki Tuuri
are not written to the binary log. I perfectly understand this if I have one server. But assume I have a master server, and a slave server that replicates the master. Let's say I distribute reads. Let's say I issue the following queries on the master (I use BEGIN and COMMIT for consistency) :BEGIN

log count

2002-02-06 Thread Ricardo Striquer Soares
i have a log file in which i record every visit of my site, although some times a visitant came by the morning and by the night or something alike, so i am trying to create a select command which count the ip every since he came back a hour afther of his last visit, the command is just like

Re: BEGIN/COMMIT statements not written to the binary log : may it cause problems with replication ?

2002-02-06 Thread Michael Widenius
Hi! Heikki == Heikki Tuuri [EMAIL PROTECTED] writes: Heikki Guilhem, Heikki this is a known problem and mentioned in the Restrictions section of the Heikki InnoDB online manual. Heikki It is not the correct way to run SQL statements in the autocommit mode on Heikki the slave server, while

log count

2002-02-06 Thread Ricardo Striquer Soares
i have a log file in which i record every visit of my site, although some times a visitant came by the morning and by the night or something alike, so i am trying to create a select command which count the ip every since he came back a hour afther of his last visit, the command is just like

BEGIN/COMMIT statements not written to the binary log : may it cause problems with replication ?

2002-02-05 Thread BICHOT Guilhem 172613
Hello there, I use MySQL (4.0.1) with InnoDB tables with binary logging on. I see that the BEGIN and COMMIT statements that wrap my queries are not written to the binary log. I perfectly understand this if I have one server. But assume I have a master server, and a slave server

<    5   6   7   8   9   10   11   12   >