Mysqld Logs
I have a DATABASE server running MySQLD 3.23.58.Users vist and sign up
their interest in my website.Now the problem is arising that when a
user signs up first , they get emails of confirmation from my
server.In addition to these emails , the customer also gets some
annoyed e-mails from someone residing/depending totllay on @yahoo.com
email-address maintaining the anonymity.
I did try by sending only e-mails to some my own email address,
whether someone is sniffering through my traffic, but I got no e-mail
except the ones I had sent myself.
After this I added some other email addresses in my DB server but I
sent no email to them at all.This time all email addresses got those
*annoying* e-mails also.
I am really fed up with this issue, getting no clue how to come to
know about this.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Mysqld Logs
I have a DATABASE server running MySQLD 3.23.58.Users vist and sign up their interest in my website.Now the problem is arising that when a user signs up first , they get emails of confirmation from my server.In addition to these emails , the customer also gets some annoyed e-mails from someone residing/depending totllay on @yahoo.com email-address maintaining the anonymity. I did try by sending only e-mails to some my own email address, whether someone is sniffering through my traffic, but I got no e-mail except the ones I had sent myself. After this I added some other email addresses in my DB server but I sent no email to them at all.This time all email addresses got those *annoying* e-mails also.
What To Look For In Logs
We are seeting up some alerting mechanisms on a linux server running mysql. We have a programme that will search for text strings in files and alert us if it detects one. We could set it to look for ERROR or WARNING in the general or error log. Does anyone have any suggestions an anything else or anything more specific to search for?
About MySQL Logs
while trying to output mysql logs file from a php file, I've got this message: You are not using binary logging So I would like to know what this mean and the reason I got this message!
Errors And Logs
In the my.cnf file, under [mysqld] I have log-error=/path/to/error log file directive. The last entries in this file are over an year ago. In case of MYSQL errors, such as improper roll backs or improper commits, shouldn't the errors be logged here. And if this is not the right place, where would the errors be logged? The users claim some data in the database changed automatically, I want to investigate any errors, but I don't see a place where that information is.
Error Logs
I'm using mysql 3.23.54 over Red Hat Linux 9. I'm having problems with the error logs. I've run mysqld start --l, mysqld start --log, mysqld start --log-error, and mysqld start --log=MyErrors.log and not once managed to find a log file. I'm running mysql and then issuing:- SELECT * FROM myFile WHERE 1; which gives ERROR 1046: No Database Selected. That should surely be logged in a file somewhere. I'm using:- find / -amin -5 to select anything altered in the last five minutes, after many fruitless hours trying to find the correctly named files (from <http://dev.mysql.com/doc/mysql/en/query-log.html>). I can't see anything containing that error. Ultimately, I'm trying to work out whether a J2EE app has connected with mySQL. I want to see whether the CORBA error I'm getting is because mySQL rejected the request, or whether it's from CORBA itself. If mySQL rejected it, there'd be an error message. I just can't see any error message store at all. Can anyone see the error of my ways?
Security And Logs
There have been some problems with our server and things getting changed in mySQL, either via phpmyadmin or command line. Is there a logging tool that can keep track of sql commands, what commands were run and give the IP information?
Very Large Bin Logs
We're getting several very large binary logs, reaching overall over 10GB which is a problem: - When does mysql decide to purge the logs if at all - Is there a way to control the number of bin logs created - If the bin log size is set to a small number with max_binlog_size, will we get lots of small files ?
Importing Web Logs
I used to work with MSSQL. I has set up a sheduled task that imported the web log files into the database. Is this possible?
Binary Logs?
My environment: 2 servers, 1 shared storage, redhat cluster keeps mysql running on one node at a time. Not using replication or Mysql Cluster. My need: I'd like to move my binary logs to the local device of whatever server is the primary server. My problem: If I move my binary logs to the local disk (from the share, where they are now), what happens during a failover? If db01 fails to db02, there will be no binary logs waiting for it. Now, I THINK those binary logs will just start up again, but I can't be sure. Lets say they do just start populating, brand new: what happens if i fail back? When I fail back the database will suddenly have old binary logs. What's a sys-admin to do?
MySQL Logs
I know then when I am using MySQL via the command interface, I can press the up arrow to scroll through previously typed statements. Is this information stored somewhere that can be accessed via log file or via a select statement? Is this available for all accounts?
MySQL Logs
when I am using MySQL via the command interface,I can press the up arrow to scroll through previously typed statements.Is this information stored somewhere that can be accessed via log file or via a select statement?Is this available for all accounts?
MySQL Logs
I know then when I am using MySQL via the command interface, I can press the up arrow to scroll through previously typed statements. Is this information stored somewhere that can be accessed via log file or via a select statement? Is this available for all accounts?
Turn On The Logs
How to turn on the log exactly?? (For all type of logs). And would they all be stored in the ".../mysql/var" directory??
Mysql Logs
I have these logs both on the eclipse's console and the logfile and I want to remove it. I am using log4j to manage the logs: Mon Jun 19 14:28:15 CEST 2006 TRACE: --> NonRegisteringDriver.java:259 com.mysql.jdbc.NonRegisteringDriver.connect("jdbc:mysql:"}) Mon Jun 19 14:28:15 CEST 2006 TRACE: --> NonRegisteringDriver.java:436 com.mysql.jdbc.NonRegisteringDriver.parseURL(""}) Mon Jun 19 14:28:15 CEST 2006 TRACE: --> StringUtils.java:1110 com.mysql.jdbc.StringUtils.startsWithIgnoreCase("")
Manager That Logs Activity
Im running a site that several users need access to the databse, and we are currently using phpmyadmin. But we really need to log activity each user does in the database. As from time to time some dishonest users change things they are not suppose to change. Any software like phpmyadmin that logs activity, and purhaps even limit access to the database,
View Query Logs
I have a db set up and it looks like nothing went to the db because of some errors. How do I open the query log to see if anything was registered.
Replication Bin Logs Issue
We are in the process of setting my mysql replication on mysql ver 4.1.18. However we have noticed an odd bug that occurs every so often. Every hour we issue flush logs to mysql so that we can move the bin logs to our backup server. In our mysql logs we notice the following; 060526 12:00:02 [ERROR] Failed to open log (file '/srv/backup/mysql/mysql-bin.000068', errno 2) This doesn't happen on each flush. This is resulting in us losing an hours bin logs at a time which then causes replication to break (rows are inserted during this time and as they are not logged to the bin logs they never make it to the slaves). errno 2 is "No such file or directory" however the structure is correct and this is confirmed by the fact that the bin log rotation/flushing does work correctly most of the time. Does any one have any ideas why this may be taking place?
A Way To Implement Change Logs?
I've recently started using MYSQL and its got to a stage where i want to add a few features into it. One of these things is that i want to have a log of all the changes that i make. Logging each cell that i change, and who it was changed by and when. Basically logging all the details of all the changes i make. I know how to do this manually, like through making a new table and adding in the details by hand, which can be extremely time-consuming and boring to say the least. I was wondering if anyone knew of any way that all the changes i make will be logged automatically after they are saved.
MySQL Administrator Logs
I have been using mysql database on two servers for about three years now. I recently downloaded the new MySQL Administrator and I love it. My only problem is I cannot see logs. I am connected on the local machine and cannot find the option to turn on the logs or anything. I have looked through my.ini and everywhere.
Relay Logs Being Generated
I was looking through the mysql data directory and have noticed that relay logs are being generated on a regulay basis.These log names are in the format hostname-relay-bin.nnnnnn. I was under the impression that relay logs were only generated if replicaition was set up/being used, and whilst I plan to set up replication in the near future,it is not being used at present.
Delete The Binary Logs
I would like to know if there is any way that I can clear the Binary logs related to one particular database only. I just want an alternative to the Query "Reset master" and "Purge [Master/Binary] logs". I need a query that would just delete the logs that are specific to a particular database. The reason I need this is whenever I take a full backup/Binary backup using mysqldump/mysqlbinlog I would like to execute the reset master command because I dont need the statements in the Binary log because I already have a backup.. But now the problem is that I have taken the backup of only one database. And now if I use Reset master or Purge Master command , these command delete the entire logs. But what I want is the delete the logs of only one particular database
MySQL Binary Logs
I am taking backups of my databases with mysqlhotcopy. MySQL keeps all binary logs. I only need the most recent binary loigs after the backups to do forward recovery. I would like to copy all logs to a NFS mount point (where they would be copied to TSM) and remove them from the active log directory.
Show Master Logs
When would SHOW MASTER LOGS be used? I've had mysql hang 4 times this week and we've done all we can to fix it - but it seems that what we have done has only reduced the backlog of queries that occur when it hangs - now it hung again this morning and the only thing of note in the mysqladmin process list was SHOW MASTER LOGS - I googled it and there seemed to be a few cases of crash related bugs with this particular command - now I know I didnt issue the command so what would have done
PROBLEM WITH PURGE MASTER LOGS
I have a Server Linux with mysql 4.0.13 version with qmail server. I run the command purge master logs but he return a message of error i/o. The table "relay" on db vpopmail is corrupt and the command repair or restore not function.
Mysql Logs Files - How To Flush
I see some log files that are taking up 20 megs. How do I get rid of these, view them or work with them. Using mysql 4.0.24 I have attempted the following: E:mysql2in>mysqladmin.exe -u root -p -v flush-logs Enter password: ******* E:mysql2in>mysqladmin.exe flush-logs -u root -p Enter password: ******* However I still see the following files: 01/05/2006 11:49 PM 10,485,760 ibdata1 05/11/2005 03:44 PM 25,088 ib_arch_log_0000000000 01/05/2006 11:50 PM 5,242,880 ib_logfile0 05/11/2005 03:44 PM 5,242,880 ib_logfile1
Flush Logs, Binary Log Index File
I'm trying to write a script to weekly remove MySQL logs, the general, error and binary log files. Following the MySQL documentation, I've written a script that moves all current log files, then executes mysqladmin flush-logs. My question is this on the binary logs (bin.001, bin.002, etc.): once these are removed and flush logs is executed, the binary log files start over with bin.001. HOWEVER, the binary index file does not appear affected by the flush-logs command; ie, if I'm up to bin.003 in the binary.index file, remove the files and execute the flush logs command, I'm back to a file names bin.001, although the binary.index file still has entries for bin.001, bin.002, bin.003, etc. How does the binary index file stay current when you remove the logs??
Incremental Backups Using Update Logs With Multiple Databases
I've set up my server to keep update logs for incremental backups, as described in Kevin Yank's book (Build Your Own... 3rd Edition), but I've noticed that the update.* files have entries from all the databases on my server. Is there a way to automatically split up the log files so that I can have separate update.* files for each database?
InnoDB Binary Logs - Unique To Each Database Configuration
I would like to back-up our InnoDB databases using a combination of mysqldump and the binary logs. We have multiple databases within our server instance, and each database is unique to a customer so we don't want to mix their data. I know how to create / schedule unique dump files for each database, but was wondering how to configure unique binary logs. Right now all transactions are logged in the same set of files.
Binary Update Logs, Access FE, Distribuite Application
I'm entering in MySql world and I have some issue to solve. I'm not finding a very well solution about the distribution of application upgrade. I use a FE MSaccess-based, and I use a MSaccess-based launcher and update checker. To manage MySql DB from MSaccess, I use ADO, and it run well. The question that I'm not solving is on my development-pc, because I'd want to import my binary update logs into my FE so I can apply it as update when I distribute the replication. To do this I need to import logs from my pc, convert and apply as changes at (future) customer pcs. So, how can I convert logs to txt and reconvert them to use it?
My.cnf And Mysqld
I just finished installing mysql on my box. but i don't have my.cnf file or mysqld anywhere. but i'm sure mysql is running already. Code:
Mysqld Max
I am trying to make mysqld max so i can create innodb tables but I am getting the following error when i run mysqld No Variable Match for: -0 'innodb_buffer_pool_size = 40M' ../mysqld version 3.23.56 for pc-linux on i686 I am unable to figure out what to do. This shows that it reads the my.cnf file but how can I get rid off this error??. My computer have just 64MB ram. Do u think that less ram is causing this error.
DBI With Mysqld
Can I use DBI to interface Perl with mysqld running locally rather than with a 'true' MySQL server?
Mysqld Don't Log
In /etc/my.cnf I put an entry under [mysqld] section for mysqld.log as following: log = /var/log/mysqld.log However, mysqld actually does not log anything. Can any one out here help me to make it working.
Mysqld-nt
I am trying to eliminate the password that is associated with the 'root'. When in start with mysqld-nt --skip-grant-tables, the cursor goes down to the next line, but never gets to a new prompt. When I do alt-cntl-del and look at the processes, it shows mysqld-nt is running, it just sits there and flashes.
Mysqld
This could be a silly question, but I have a web-based MySQL/PHP application that contains sensative data. Now, I realize that MySQL is most secure (over network transfer) using SSL, but would there be a reasonable tradeoff to consider not using SSL if the only host that is allowed to connect to it is the localhost? I.E> there would be no out/in network traffic, so wouldn't adding SSL only slow things down without gaining much (if anything at all)? So, basically the only thing that can connect is PHP on the same server?
Mysqld-nt.exe
I run a phpbb2 forum on a winxp pro pc (up to date) with msyql 5.0.18, apache 2.2.0 and php 5.1.2. Every once in a while (maybe once a month or so), mysql unexpectedly and spontaneously terminates. This usually happens when no one is at the server (i.e. when the server is doing nothing other than running phpbb2, apache, msyql and php). The apache logs reveal nothing suspicious. Anyone know why this might happen? And maybe more to the point, anyone have a suggestion about how I could rig my server to monitor whether mysql is running and automatically restart it if it's not (so that I don't run into the problem where my forum goes down because mysql terminates and I can't do anything about it till I get home to restart mysql)?
Mysqld-max
I have a mysql server with a couple hundred-thousand entires that constantly maxes out our server at peak times to the point where the database locks up. It uses up 99.9% cpu and over a gig of memory on our Dual Core 64 Athlon 2 Gig DDR machine.
Removing Mysqld-net.exe
Recently I removed MySQL 4.0.15 from my pc, but have noticed that a process called 'mysqld-nt.exe' is still running in the task manager. I have tried shutting down and uninstalling the service via the command line, but since the mysql directory no longer exists the system reports there is nothing to remove! Should I re-install mysql 4.0.15 and try un-installing it again, or does anyone know a quicker way to fix this problem?
Number Of Mysqld
i want to limit the number of mysqld daemons running on my linux system. despite my best efforts to search/find the configuration option for this i haven't been able to find a single bit of info on this topic, including searching the configuration options for the my.cnf file. right now my server is running twelve copies of mysqld, and i only need 3 at the most. i'm sure this is possible, i just don't know how. can anyone help me?
/var/log/mysqld.log Not Written To
for some reason, the mysql error log is not being written to. If I stop mysqld, rm the mysqld.log, start mysqld, the mysqld.log get's created. However, it doesn't contain anything. It should at least have 'started...' and a few other lines indicating that mysqld was started sucesfully, no? Here is my my.cnf as it pertains to the logs: --log-error=/var/log/mysqld.log --log-slow-queries=/var/log/mysql.slow.log /var/log/mysql.log is chown mysql.mysql and chmod -rw-r- Has anyone else experienced this? Any suggestions?
Mysqld Got Signal 11
I run 2 servers in a master-slave configuration (both Solaris 5.8 [64 Bit] and mysql4.0.14). Mysql (only on master) crashes exactly every 15 Minutes with the following message: -----schnipp--------------- mysqld got signal 11; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. Code:
Mysqld Startup
I'm using ssh to administer a mysql server, version 3.23.49, which I just installed. The problem when starting mysqld: I type "mysqld" at the shell prompt and hit return, then I get the message "mysqld: ready for connections". But then it doesn't give me back the shell prompt. I can type stuff on the screen, but it doesn't do anything. I've tried Ctrl-C and Ctrl-Z, but that does nothing. Any ideas?
MySQLD Binary Log
We've been using MySQLD for a few years now quite happily. It's amazing how well it performs. However, I have a minor issue, and I'm not sure how to deal with it. I've scoured the manual, searched list archives, the web, etc., and am coming up empty. Somehow, the server is recording the Binary log in the data directory. Each of these log files takes up a gigabyte. This would be all well and good if we were using the server in as a master in a replication setup, but we are not. It WAS formerly acting as a master in a replication environment, but we've long since made it the only SQL server on our network. We've removed (commented) all the lines in my.cnf that deal with replication, and the log-bin is one of these lines. To clarify: the log-bin line in the my.cnf file IS commented with a hash-mark (#). The server has been restarted since this change, and "SHOW MASTER STATUS" returns an empty set of data (only showing the field names.) the SQL command RESET MASTER does nothing. It does not delete the hostname-bin.### files. the mysqld commandline parameters follow: /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/inferno.pid --skip-locking We're running version 3.23.41 for pc-linux-gnu on i686, running on SuSE Linux 7.1, kernel 2.4.18 #2 SMP on a Dual-Processor Pentium II 450MHz server So, if any of you can shed some light as to why it would be saving the binary log against our will, or as to how to stop it, it would be greatly appreciated.
Handle Use By Mysqld.exe
When I run MySQL, I notice that mysqld.exe uses > 40,000 handles (according to Windows Task Manager).Is this normal? what all these handles are used for?
CAn't Connect Through Mysqld-nt
Here is a summary; am working on win2k os, downloaded phptriad, mysql4.xx, php5.xxx and installed them all, now when i start apache i can connect to my server (i.e 127.0.0.1) now for mysql. i noticed in task manager that there is mysql-opt is working, now from phptriad i run mysqlnt -d but i still can't connect to mysql using mysql FrontEnd, reading around, i tried mysqld-nt --console it says that there is another mysqld running on 3306, so changed the port for the mysqld section in my.cnf to 1234, but still can't connect.
Mysqld Stalls
I have two tables, a table of properties, and a table of locations (i.e., zipcodes). The following query takes so long I gave up waiting for it to complete: SELECT * FROM properties LEFT JOIN locations USING (locationcode, locationtype) WHERE acres < 500 ORDER BY (price / acres) ASC, 'price' ASC LIMIT 100 I'm running debian linux, and: mysql Ver 14.12 Distrib 5.0.13-rc, for pc-linux-gnu (i486) using readline 5.0 An EXAMINE of the above SELECT reveals: id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE properties ALL NULL NULL NULL NULL 16424 Using where; Using temporary; Using filesort 1 SIMPLE locations ALL NULL NULL NULL NULL 31294 During the query, the mysqld process is using 99% of the cpu. Mysqld continues to use %99 of cpu even when client is killed. I finally gave up waiting and kill -15 mysqld. After a few seconds it gracefully died, and I restarted it. The problem is 100% reproducible. Does anyone have any clues? Is my SELECT above got a major flaw that makes the server go swap happy? I have 512mb memory, I'd think that'd be'nuff.
|