Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
Subject: mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Subject: Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
Subject: MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Subject: Re: Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
MySQL General
Page 20 of 508 Previous 10   11   12   13   14   15   16   17   18   19   20   Next 10   Next 100  

run out of memory

2007/8/15 B. Keith Murphy <kmurphy@(protected) > > What operating system are you running and is it 32 or 64 bit? > Thanks for the reply. Here is my OS info $ uname -r 2.6.9-42.ELsmp $ cat /etc/re

Scheduled events

Beauford wrote > > delete from contacts where TO_DAYS(CURDATE()) - TO_DAYS(today) > 30 and > status ! "Y " Off-topic you 're defeating indexes with TO_DAYS(). If there 's an index on the 'today '

Scheduled events

It 's a database not a scripting language ... ) You can run a simple cron entry like this 0 4 * * * /path/to/mysql -u USER -pPASS -D DATABASE -e "delete from contacts where TO_DAYS(CURDATE()) - TO

Scheduled events

> > I have been trying for days to find a simple command in > MySQL where I > > can automatically delete records based on some criteria after a > > certain timeframe. > > > > I found this in the M

Scheduled events

Hi Beauford wrote > Hi > > I have been trying for days to find a simple command in MySQL where I can > automatically delete records based on some criteria after a certain > timeframe. > > I foun

Scheduled events

Hi I have been trying for days to find a simple command in MySQL where I can automatically delete records based on some criteria after a certain timeframe. I found this in the MySQL manual but I g

Subject: Re: Enterprise Wide Deployment

Really probably not the best list for this. But if it were up to me..I would use CentOS/RedHat Enterprise Linux or Debian. Keith ----- Original Message ----- From "john_sm " <john_smith3853@(protected)

run out of memory

What operating system are you running and is it 32 or 64 bit? Keith ----- Original Message ----- From "Jen mlists " <practicalperl@(protected) > To mysql@(protected) Sent Tuesday August 14

Subject: Re: Problem with a complex query

> > MySQL doesn 't seem to be very smart about queries involving OR and > > things like < >. For me creating temporary tables or writing perl > > scripts to do the job solved my particular problems. But

Subject: Re: Problem with a complex query

From explain you can see that your problem lies within the mensagens table (the first entry from your explain query) where it says type ALL and rows 68337. This basically means that it is not us

Subject: Re: Problem with a complex query

I 've created an index with the statement create index `usuario_pasta_situacao` on `mensagens` (codusuario codpasta situacao) And for mensagenspara table this index create index `mensagem_usuario_

Subject: Fwd: Problem with a complex query

The indexes are the primary way of tuning your query speed but bear in mind that mysql can only use 1 index-per-table-per-query.. your single column indexes do help some. try an EXPLAIN to see what

Subject: Re: Problem with a complex query

what does explain tell you about the query? I also think you should try a combined index with all three columns that are used in one index. As far as I know only one index can be used per query..

Subject: Re: Problem with a complex query

hum... I get it. But in my query I look in 3 tables FROM mensagens m mensagenspara mp usuarios u usuarios up WHERE m.codmensagem mp.codmensagem AND u.codusaurio m.codusuario AND up.codusua

Subject: MySQL=?ISO-2022-JP?B?GyRCJFglbSUwJSQlcyRHJC0kSiQkGyhC?=

$B$*@$OC$K$J$j$^$95HED$H? $7$^$9!#(B $BAaB.$G$9$ (BMySQL(5.0)$B$X%m%0%$%s$G$-$ $$C$F$*$j$^$9!#(B Access denied for user 'root '@ 'localhost ' (using password YES) $B F% %C%H% "%C%W$b$+$J$i? '!9$

Subject: MySQL=?ISO-2022-JP?B?GyRCJFglbSUwJSQlcyRHJC0kSiQkGyhC?=

$B$*@$OC$K$J$j$^$95HED$H? $7$^$9!#(B $BAaB.$G$9$ (BMySQL(5.0)$B$X%m%0%$%s$G$-$ $$C$F$*$j$^$9!#(B Access denied for user 'root '@ 'localhost ' (using password YES) $B F% %C%H% "%C%W$b$+$J$i? '!9$

Subject: Re: Problem with a complex query

First of all thanks for your attention guys Rhys I 've tried UNION and UNION ALL statements too but I found some problems when ordering the results. I 've tried order in each query and at end - (SE

Subject: RE: Problem with a complex query

Struggling with the Portuguese here but... What kind of indexes do you have in place? Are the y appropriate? I have had some success with removed or clauses from queries creating a new query and jo

Subject: Problem with a complex query

Hi I have a message system wich work in this way - Each message can be sent to one or more recipients - Each message received have a lot of settings like date and hour received date and hour of r

Subject: Problem with a complex query

Hi I have a message system wich work in this way - Each message can be sent to one or more recipients - Each message received have a lot of settings like date and hour received date and hour of r

Subject: Problem with a complex query

Hi I have a message system wich work in this way - Each message can be sent to one or more recipients - Each message received have a lot of settings like date and hour received date and hour of r

Subject: RE: Slow query involving ORDER BY

Sorry That was really hard to read. Here it is again mysql > explain select fsys.facility fsys.severity h.host fsys.src_ip fsys.src_time fsys.content fsys.tag - > from fs_syslog fsys host

Subject: RE: Slow query involving ORDER BY

I 've added both indexes but don 't see an improvement in speed. Below are the the descriptions of each table and the explain plan CREATE TABLE `hosts` ( `hostid` bigint(20) unsigned NOT NULL de

date query

Hi Christian Christian High wrote > I have a table that includes a date and a scale reading like > > date scale_reading > 2007-08-01 150 > 2007-08-02 125 > > > > these re

Subject: Re: index, unique index question

very true to have unique constraint on both columns he needs to create a composite index using both columns. regards anandkl On 8/14/07 Martijn Tonies <m.tonies@(protected) > wrote > > > > > >Of

Subject: Re: index, unique index question

>Of course since James said he will never search for a record matching receiver_ID AND sender_ID it would be more efficient >to simply create one index for each of the columns. Then again his q

Subject: Re: Enterprise Wide Deployment

What exactly will you be doing with this deployment? Is it for all workstations servers just servers -- what? What will be the daily functions of the PCs (what applications/daemons will be used)?

Subject: RE: index, unique index question

Of course since James said he will never search for a record matching receiver_ID AND sender_ID it would be more efficient to simply create one index for each of the columns. -Noah -----Original

date query

On 8/14/07 Baron Schwartz <baron@(protected) > wrote > Hi > > Christian High wrote > > On 8/14/07 Baron Schwartz <baron@(protected) > wrote > > > Hi > > > > > > Christian High wrote > > > > I have a tabl

date query

Hi Christian High wrote > On 8/14/07 Baron Schwartz <baron@(protected) > wrote > > Hi > > > > Christian High wrote > > > I have a table that includes a date and a scale reading like > > > > > > date
Page 20 of 508 Previous 10   11   12   13   14   15   16   17   18   19   20   Next 10   Next 100