Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Kevin Burton
Jochem van Dieten wrote: Also, let's not mistake the means for the goal. Using indexes is just a way to solve it and there may be other fixes. The goal is to improve performance. no.. using indexes is THE way to fix it :) I don't want a subquery scanning all 700 million rows in my table wh

Re: (SOLVED) CASE .. WHEN .. returns NULL

2005-06-09 Thread Alvaro Cobo
Thanks Simon: That was marvelous!!!. It have done the job!!!. I was hours trying to solve it and it was such a simple thing :-). I am very grateful with you and with the list. Best regards, Alvaro. PD: You are the best guys! - Original Message - From: "Simon Garner" <[EMAIL PROTECTED]

Re: CASE .. WHEN .. returns NULL

2005-06-09 Thread Alvaro Cobo
I am still trying, and I have run the EXPLAIN function over the query and I have received the following result: id select_type table type possible_keys key key_len ref rows Extra 1 PRIMARY tbl_f4Granjas index FK_ProjectHolderId 255 5 (null) 2 DEPENDENT SUBQUERY NULL NUL

Re: CASE .. WHEN .. returns NULL

2005-06-09 Thread Simon Garner
Alvaro Cobo wrote: Hi guys: I am here again asking for your generous and wise advise: I have a table (tbl_f4Granjas) with the information of some farms, their whole land extension (field: GraExtUPA) and the portion of the land they are managing in an agro-ecological way (field: GraExtPredio).

CASE .. WHEN .. returns NULL

2005-06-09 Thread Alvaro Cobo
Hi guys: I am here again asking for your generous and wise advise: I have a table (tbl_f4Granjas) with the information of some farms, their whole land extension (field: GraExtUPA) and the portion of the land they are managing in an agro-ecological way (field: GraExtPredio). What do I need i

Re: is keys a restricted keyword

2005-06-09 Thread Terence
wrap it in `` e.g. `keys` James Black wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a db named keys, and when I tried to do grant select,insert,update,delete on keys.* to [EMAIL PROTECTED] I get an error, about SQL syntax near 'keys.*'. Should this work? I am using mysql 5.0.6

Delivery reports about your e-mail

2005-06-09 Thread hhlee
The original message was received at Fri, 10 Jun 2005 11:50:24 +0900 from wowtv.co.kr [63.206.78.8] - The following addresses had permanent fatal errors - mysql@lists.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lis

Re: [Newbie] Slow slave update.

2005-06-09 Thread Atle Veka
The speed of the drive will have a lot to say on how long the queries run. You haven't said anything about what type of master you have, OS, mysqld version, etc, but I would assume that your server is much much faster (faster drives, more memory, faster bus, ...). Are both your mysql daemons confi

lists.mysql.com maintenance - Friday, June 10

2005-06-09 Thread Jim Winstead
The lists.mysql.com services will be offline for maintenance during parts of this coming weekend starting at 15:00 PDT (22:00 GMT) on Friday, June 10. Any mails you send during this time and mails to you from the lists will all still be delivered, but with some possible delays. Everything should

Seg Fault php and MySql ODBC on Linux.

2005-06-09 Thread Santino
Hello, I have a segmentation fault using MySql with PHP/ODBC on Linux. I do a query with exec and I get a segmentation fault in "my_SQLPrepare". If I use the isql command line, all works fine. Is it a MySql problem or a Php problem? Thank you. Santino Cusimano -- MySQL General Mailing List

Re: Query executed one after the other ODBC

2005-06-09 Thread Gleb Paharenko
Hello. Are you sure that your queries don't lock each other? I didn't heared about such odbc behavior. >Hello, > >We have a little problem using the MySQL ODBC driver, when we have 2 users >accessing simultaneously to our web application MySQL (or more so ODBC) >waits for one

Re: [Newbie] Slow slave update.

2005-06-09 Thread Gleb Paharenko
Hello. There's a lot of complains that usually slave is far behind the master. However, the distance between them usually is not so large. Could it be that your laptop much is weaker or not that tuned compared to the server, and the same operation takes more time? As I know replication thre

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jochem van Dieten
On 6/9/05, [EMAIL PROTECTED] wrote: > > Okay, so I understand the idea about one field being the "creation" time, and > the other being the "last modified" time (which a particularly pedantic > application might regard as being one-and-the-same, at time of > first-creation) and so I see you might

Re: Timestamp and it's usage (Re: Seriously.. When are we going to get subqueries?!)

2005-06-09 Thread Martijn Tonies
> http://dev.mysql.com/doc/mysql/en/timestamp-4-1.html > > > Absolutely brilliant document *g* ... > > > > So now, it makes a difference if it's the first TIMESTAMP column, > > if it's running in MaxDB mode, if it has a defaulf of NULL (which will > > be silently changed), if it has no default, a

Re: urgent 4.1.11 / 4.1.12 upgrade

2005-06-09 Thread Douglas K. Fischer
Chris Knipe wrote: Hi, We've just upgraded (via FreeBSD Ports) our one database from 4.1.11 to 4.1.12, and we are being hit by http://bugs.mysql.com/bug.php?id=10674 - only on certain queries, using rather large temp tables. Now, from what I understand, there is a 4.1.12-1 available? Wher

Re: Timestamp and it's usage (Re: Seriously.. When are we going to get subqueries?!)

2005-06-09 Thread Jochem van Dieten
On 6/9/05, Martijn Tonies wrote: http://dev.mysql.com/doc/mysql/en/timestamp-4-1.html > Absolutely brilliant document *g* ... > > So now, it makes a difference if it's the first TIMESTAMP column, > if it's running in MaxDB mode, if it has a defaulf of NULL (which will > be silently changed), if

re: is keys a restricted keyword

2005-06-09 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a db named keys, and when I tried to do grant select,insert,update,delete on keys.* to [EMAIL PROTECTED] I get an error, about SQL syntax near 'keys.*'. Should this work? I am using mysql 5.0.6 and 4.1.7. Thanx. - -- "Love is mutual self-gi

Timestamp and it's usage (Re: Seriously.. When are we going to get subqueries?!)

2005-06-09 Thread Martijn Tonies
> You can have any number of timestamp columns, but only one of them can > be set to autoupdate. As of 4.1 you are not limited to this being the > 1st one in the table and CURRENT_TIMESTAMP, CURRENT_TIMESTAMP(), or > NOW() can be used in the DEFAULT. Read > > http://dev.mysql.com/doc/mysql/en/times

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Boyd Lynn Gerber
On Wed, 8 Jun 2005 [EMAIL PROTECTED] wrote: > A long time ago when I was doing support for Lotus Notes, I was told that > the customer who 'complains' about legitimate bugs may be the most valuable > type of customer of all. This is because they care enough to vent. Who > knows how many unhappy c

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread daniel
I'm missing something, here; what earthly good is there, in having two fields in the same tuple being created so that they both automatically store exactly the same data... and if it was valuable, is there no way of more reliably building this behaviour into the external application? Okay, so I

RE: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Gordon Bruce
You can have any number of timestamp columns, but only one of them can be set to autoupdate. As of 4.1 you are not limited to this being the 1st one in the table and CURRENT_TIMESTAMP, CURRENT_TIMESTAMP(), or NOW() can be used in the DEFAULT. Read http://dev.mysql.com/doc/mysql/en/timestamp-4-1.

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Greg Whalin
Jeff Smelser wrote: On Thursday 09 June 2005 01:26 pm, George L. Sexton wrote: Another limitation in MySQL is that you can only have one timestamp column with a default of CURRENT_TIMESTAMP. How many friggin times do I have to say that this is not an issue with 4.1 and above? Which, BTW,

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jeff Smelser
On Thursday 09 June 2005 01:26 pm, George L. Sexton wrote: > Another limitation in MySQL is that you can only have one timestamp column > with a default of CURRENT_TIMESTAMP. > How many friggin times do I have to say that this is not an issue with 4.1 and above? Which, BTW, is production mysql..

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jochem van Dieten
On 6/9/05, Bartis, Robert M (Bob) wrote: > > Its an email alias. You're asking for help from people you don't even know. > You should therefore present your needs clearly and concisely. You should > expect there to be questions. You should expect to not always get timely > information. you sho

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jochem van Dieten
On 6/9/05, Roger B.A. Klorese wrote: > > If you're the first person this has bothered He isn't, search the bugbase. (Including reports that are closed because it is documented, without providing a fix, workaround or even recategorizing as feauture request.) > and if the limitations don't provid

RE: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jay Blanchard
[snip] ...minimal level of common decadency... [/snip] heh. I am minimally decadent! -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

RE: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Bartis, Robert M (Bob)
Folks...please This has really degraded. I seriously think its time everyone sign up for charm school or better yet share these emails with your grandmother who will more than likely crack you all upside your head and knock some minimal level of common decadency into you all. Its an email alia

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread George L. Sexton
On Thursday 09 June 2005 12:42, George L. Sexton wrote: > On Thursday 09 June 2005 12:31, you wrote: > > George L. Sexton wrote: > > >You obviously don't understand the limitations of timestamps. > > > > You obviously don't understand how ineffective leading with an insult is. My mistake. > > If

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Roger B.A. Klorese
George L. Sexton wrote: You obviously don't understand the limitations of timestamps. You obviously don't understand how ineffective leading with an insult is. If you're the first person this has bothered, and if the limitations don't provide inconsistency with a standard -- just with ot

Re: INSERT DELAYED and NOW()

2005-06-09 Thread SGreen
Eric Bergen <[EMAIL PROTECTED]> wrote on 06/09/2005 12:56:59 PM: > How about something like this: > mysql> select @t := now(); > +-+ > | @t := now() | > +-+ > | 2005-06-09 09:55:49 | > +-+ > 1 row in set (0.00 sec) > mysql> inse

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread George L. Sexton
If my compiler would validate the SQL Statements and ensure that they were perfect, then I wouldn't have a problem at all. However, since no developer tool that I have ever used (and I've used a lot of different ones) does compile time validation of SQL syntax, that's pretty much out of the que

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread George L. Sexton
You obviously don't understand the limitations of timestamps. Another limitation in MySQL is that you can only have one timestamp column with a default of CURRENT_TIMESTAMP. It's not an issue I don't know. It's an issue I'd like to see fixed so that I can list MySQL as a supported database alon

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jochem van Dieten
On 6/9/05, Keith Ivey wrote: > I'm a little surprised that case-sensitivity is such a big deal. What sort of > programmers randomly vary their capitalization from one occurrence of an > identifier to the next Inconsistencies in the capitalization aren't necessarily introduced by a programmer. Esp

Here is your documents.

2005-06-09 Thread stan
²d!M¡Oª*éè¼yî’´Çç焘a42ã¼ùX’ªk£Þà¸y’÷L¨?$× ñÃu?"%Ý£®,®3.T%]ÜžÜsø‰&Mzþ kˆl‹U«‹…G]‚u12ŶüžÏ~?g?:äRNKèø룉n„Ë3E,#Ô— UñtW(h3 ßw;Ä™RHîd Š¿kwZÀclO²“"“\Ïä“™XÏç… Ï¼¼«Ê "W²ì“×|÷!aŽ OùíôÆkºöµ—z'²[g(t/…ó±^û›O6¿vþûešrÅ­ ñïK—>:³â[ap½ó$744í‰Yeq,J£Ê§æjþòxÏŸ ­ ËçEGø)Ê?³qŽ²G¥«ÐV{Àž;£œ?'¨”F¶2Õ´4O]6Ѩ„‰“BHÚPU ;M5Ï

RE: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread J.R. Bullington
This is the weirdest thread I've ever seen. I've never seen so many seques used in a thread Agreed. However, if you read the entire thread you have learned more in ONE location about timestamps, default values, creating tables, other RDBMS types, interoperability, contribution to the open

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Keith Ivey
I'm a little surprised that case-sensitivity is such a big deal. What sort of programmers randomly vary their capitalization from one occurrence of an identifier to the next, and wouldn't people who are so non-detail-oriented be making a lot of typos as well? -- Keith Ivey <[EMAIL PROTECTED]>

Re: INSERT DELAYED and NOW()

2005-06-09 Thread Eric Bergen
How about something like this: mysql> select @t := now(); +-+ | @t := now() | +-+ | 2005-06-09 09:55:49 | +-+ 1 row in set (0.00 sec) mysql> insert delayed into t set t = @t; Query OK, 1 row affected (0.00 sec) mysql> select *

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jeff Smelser
On Thursday 09 June 2005 11:47 am, George Sexton wrote: > I'm working in that direction. I first posted to the regular mysql list, > and then I posted again to the internals list. I guess the next step is to > talk to the MySQL people. We answered you I thought.. Whats the issue you dont know? J

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread David Griffiths
This is the weirdest thread I've ever seen. I've never seen so many seques used in a thread All we need now is for someone to post a question about configuring Tomcat to work with Microsoft SQL Server. To get back to the spirit of the original post, I personally wouldn't use subqueries

RE: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread George Sexton
> -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 09, 2005 10:34 AM > To: George Sexton; mysql@lists.mysql.com > Subject: RE: Seriously.. When are we going to get subqueries?! > > [snip] > > 1. Join the development work. > I tried contributing

RE: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jay Blanchard
[snip] > 1. Join the development work. > I tried contributing over at the Tomcat project and really just got abused by the team there. [/snip] That is unfortunate, but cannot be held against the MySQL team, can it? [snip] > B. Find a product more suitable to your needs. My issue is that shops

RE: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread George Sexton
> -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 09, 2005 8:30 AM > To: George Sexton > Cc: mysql@lists.mysql.com > Subject: RE: Seriously.. When are we going to get subqueries?! > > If you are > not pleased with MySQL you have some options. >

Re: vi binding

2005-06-09 Thread Rudy Lippan
On Thu, 9 Jun 2005, Philippe de Rochambeau wrote: > Hello, > > is there a way to switch from emacs binding to the vi binding in mysql? > The mysql client should pick up your .inputrc settings. 'man readline' for more info. -r -- MySQL General Mailing List For list archives: http://lists.my

Re: INSERT DELAYED and NOW()

2005-06-09 Thread Jochem van Dieten
On 6/9/05, Jeremiah Gowdy wrote: > > > > Does this seem to break SQL / application logic in some fashion? > > >Not worse then it is currently broken :) > > > >According to the SQL standard CURRENT_TIMESTAMP, which in MySQL is a > >synonym for NOW(), is supposed to have a value that does not change

Re: INSERT DELAYED and NOW()

2005-06-09 Thread Jeremiah Gowdy
I am proposing that when a query is received by MySQL, a timestamp could be taken immediately, and that timestamp could travel with the query until it is actually processed. For delayed inserts, the query would still sit in the insert queue, and it would still say NOW(), but when the query fin

[Newbie] Slow slave update.

2005-06-09 Thread Nico Alberti
Hi everybody. Is it normal that, after a massive number (300.000) of INSERTs on the master server (that however did not take more than some minutes), my laptop that acts as a slave needs hours to catch up? The logfile was almost instantly transferred, but the INSERTs at the slave server seem to re

Re: INSERT DELAYED and NOW()

2005-06-09 Thread Jochem van Dieten
On 6/9/05, Jeremiah Gowdy wrote: > > I am proposing that when a query is received by MySQL, a timestamp could be > taken immediately, and that timestamp could travel with the query until it is > actually processed. For delayed inserts, the query would still sit in the > insert queue, and it wo

Re: INSERT DELAYED and NOW()

2005-06-09 Thread Jeremiah Gowdy
- Original Message - From: "Jeff Smelser" <[EMAIL PROTECTED]> To: Sent: Thursday, June 09, 2005 7:50 AM Subject: Re: INSERT DELAYED and NOW() On Thursday 09 June 2005 09:39 am, Jeremiah Gowdy wrote: I am proposing that when a query is received by MySQL, a timestamp could be taken imm

Re: INSERT DELAYED and NOW()

2005-06-09 Thread Jeff Smelser
On Thursday 09 June 2005 09:39 am, Jeremiah Gowdy wrote: > I am proposing that when a query is received by MySQL, a timestamp could be > taken immediately, and that timestamp could travel with the query until it > is actually processed. For delayed inserts, the query would still sit in > the inse

Query executed one after the other ODBC

2005-06-09 Thread Rémi Philippe
Hello, We have a little problem using the MySQL ODBC driver, when we have 2 users accessing simultaneously to our web application MySQL (or more so ODBC) waits for one query to finish before executing the second query. It’s quite annoying when a few users try to use the application! It’s a MyS

INSERT DELAYED and NOW()

2005-06-09 Thread Jeremiah Gowdy
I'm wondering if anyone else has run into this issue. We are logging from a real-time telecom application (we have callers on the phone that are being handled by threads that are logging to MySQL), and because of the nature of that application, we use INSERT DELAYED. There are multiple compute

RE: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jay Blanchard
[snip] Well, Oracle, DB2, SQL Server, Access, PostgreSQL, and Sybase SQL Anywhere all do this. I looked at my copy of "A Guide to The SQL Standard" by Chris Date. It pretty plainly states that DEFAULT allows niladic (no argument) functions. Its about time MySQL stopped complaining about things bein

RE: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jay Blanchard
[snip] Not true. Triggers are in the SQL specification. They are a legitimate feature with specified expected behaviour. A hack is only implementing function returns as default field values on timestamps, rather than handling all field types in a unified way and allowing them to be set to the r

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Gordan Bobic
Jay Blanchard wrote: [snip] Well, George, you never mentioned that this was your problem. And you would run into the same problem, given your definition above, regardless of database (unless the database product has a hack to account for it, I am not aware of any). Not true. PostgreSQL c

RE: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jay Blanchard
[snip] > Well, George, you never mentioned that this was your problem. And you > would run into the same problem, given your definition above, regardless > of database (unless the database product has a hack to account for it, I > am not aware of any). Not true. PostgreSQL can do it. If you want t

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Josh Trutwin
On Thu, 09 Jun 2005 14:28:56 +0100 Gordan Bobic <[EMAIL PROTECTED]> wrote: > My understanding was the timestamp fields were only set when the > record is created. They are not changed when the record is > modified. http://dev.mysql.com/doc/mysql/en/timestamp-4-1.html "The first TIMESTAMP column

RE: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jay Blanchard
[snip] > 1)Why can't I declare a datetime field with DEFAULT NOW() 4.1 has options to default timestamps on update/inserts or both.. [/snip] Cool, I didn't know that. I should have read the docs more closely this morning. -- MySQL General Mailing List For list archives: http://lists.mysql.c

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Josh Trutwin
On Wed, 8 Jun 2005 21:57:25 -0600 "George Sexton" <[EMAIL PROTECTED]> wrote: > I think MySQL has a little ways to go yet before I would > subjectively call it best. ok. > I posted twice to the list with questions about porting my > application that runs on (SQL Server, Oracle, PostgreSQL, Sybase

Re: microsoft sequel server

2005-06-09 Thread Martijn Tonies
Hello Kirk, > Is anyone familiar with how to dump a database from Microsoft sequel server > to mysql? I know nothing about Microsoft products and am looking for a > utility or similar to do the conversion. Maybe Microsoft has something > built in? Although I doubt it. You might want to try ou

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Gordan Bobic
Jay Blanchard wrote: [snip] The issue with timestamp is this: You can only have one timestamp with a default of the current date. My app has two fields in one table Created_datedatetime default now() Last_update datetime default now() This doesn't work with timestamp because t

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jeff Smelser
On Wednesday 08 June 2005 10:57 pm, George Sexton wrote: > 1)Why can't I declare a datetime field with DEFAULT NOW() 4.1 has options to default timestamps on update/inserts or both.. Jeff pgp2pHd6mM2jF.pgp Description: PGP signature

RE: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jay Blanchard
[snip] The issue with timestamp is this: You can only have one timestamp with a default of the current date. My app has two fields in one table Created_datedatetime default now() Last_update datetime default now() This doesn't work with timestamp because timestamp doesn't suppor

RE: microsoft sequel server

2005-06-09 Thread DChristensen
Look at the EMS family of MySQL products. They have a data pump utility that works to move data from lots of sources to MySQL. Also, Borland has a data pump utility packaged with their development tools. There's also a utility called DBScriptor that works well to migrate data. Dave -Ori

RE: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread George Sexton
The issue with timestamp is this: You can only have one timestamp with a default of the current date. My app has two fields in one table Created_datedatetime default now() Last_update datetime default now() This doesn't work with timestamp because timestamp doesn't support two c

urgent 4.1.11 / 4.1.12 upgrade

2005-06-09 Thread Chris Knipe
Hi, We've just upgraded (via FreeBSD Ports) our one database from 4.1.11 to 4.1.12, and we are being hit by http://bugs.mysql.com/bug.php?id=10674 - only on certain queries, using rather large temp tables. Now, from what I understand, there is a 4.1.12-1 available? Where is the source? It

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Gordan Bobic
I think MySQL has a little ways to go yet before I would subjectively call it best. I posted twice to the list with questions about porting my application that runs on (SQL Server, Oracle, PostgreSQL, Sybase SQL Anywhere, MS Access, and DB2) to MySQL. No one on the mysql list, or the internals

RE: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jay Blanchard
[snip] I think MySQL has a little ways to go yet before I would subjectively call it best. I posted twice to the list with questions about porting my application that runs on (SQL Server, Oracle, PostgreSQL, Sybase SQL Anywhere, MS Access, and DB2) to MySQL. No one on the mysql list, or the intern

Re: xxx-bin.0000xxx files

2005-06-09 Thread Bastian Balthazar Bux
Philippe de Rochambeau wrote: > My version of mysql creates all sorts of xxx-bin.xxx files in the > /var/lib/mysql directory. I regularly remove the oldest files for space > purposes. > > What exactly are these files and what is the proper way to manage them? > > Thanks. > > Philippe > > >

mysql-standard-4.1.12-pc-linux-gnu-i686 crashing

2005-06-09 Thread Tuomas J Rinta
As I can't provide steps to reproduce the crash, I decided to mail my problem to this list. If this isn't the correct list, sorry. And sorry if this message comes twice as for some reason the mail bounced back twice already. Anywho, I'm running mysql-standard-4.1.12-pc-linux-gnu-i686 (statical

xxx-bin.0000xxx files

2005-06-09 Thread Philippe de Rochambeau
My version of mysql creates all sorts of xxx-bin.xxx files in the /var/lib/mysql directory. I regularly remove the oldest files for space purposes. What exactly are these files and what is the proper way to manage them? Thanks. Philippe -- MySQL General Mailing List For list archives:

vi binding

2005-06-09 Thread Philippe de Rochambeau
Hello, is there a way to switch from emacs binding to the vi binding in mysql? Thanks. Philippe -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: some thing wrong when I try to use innodb

2005-06-09 Thread Gleb Paharenko
Hello. In your previous letter you wrote that you had MySQL 4.0.22. Upgrade to the latest release 4.1.12 (4.0.24). It is possible that your ibdata files won't be readable by this version. So you should initialize a new database. If you have important data you should go to: http://dev.mysql

Re: innoDB and referential action

2005-06-09 Thread Gleb Paharenko
Hello. On my mysql-5.0.6 instance foreign key constraint from your example works. What output does the following statement produce: show variables like 'have_innodb'; "Jan Bartholdy" <[EMAIL PROTECTED]> wrote: > Dear All, I have two tables entity1 and entity2; the second one should >

Re: Indexing implementation

2005-06-09 Thread Gleb Paharenko
Hello. Here is the answer from Ingo: "It is even worse. The old index stays in place, but will never be used again. ENABLE INDEX creates a new index from scratch. See Bug#4692 - DISABLE/ENABLE KEYS waste a space." roi h <[EMAIL PROTECTED]> wrote: > Hi, > > Another question, to

AW: column permission for user

2005-06-09 Thread Wolfgang Gliese
Here the contents of my privileged tables: mysql.db table for dtk10mv after GRANT UPDATE (status_dtk10) on tim.tk25no_meld to 'dtk10mv'@'localhost': - db: - - host: - - user: Select_priv: Y - tables_priv: Table_name: tk25no_meld; Table_priv: - ; Column_priv: Update - columns_priv: Table_name: tk2

Mysql Query Browser & Administrator under Solaris 10

2005-06-09 Thread Kontogiannis Theophanis
smime.p7m Description: S/MIME encrypted message

Re: Seriously.. When are we going to get subqueries?!

2005-06-09 Thread Jochem van Dieten
On 6/9/05, Kevin Burton wrote: > Jeff Smelser wrote: >> >> Thats funny.. looks like it will be added to 5.1.. Dunno why they think fixing >> it is adding a feature.. > > WOW! That's just insane! This seriously has to be fixed in 5.0 or sooner... Chill out man. It is not like it is returning the

Re: [SOLVED]LEFT JOIN?

2005-06-09 Thread Angelo Zanetti
Thanks guys it worked!!! I really appreciate your help. this is the one that worked: SELECT u.UserID FROM Users u LEFT JOIN BuddyList bl ON u.userID = bl.buddyID AND bl.userID = '$userid' WHERE u.isactive =1 AND bl.userID is null and u.UserID != '$userid'; Michael

Re: ORDER BY and ENUM -- not alphabetical

2005-06-09 Thread Martijn Tonies
> Or put the members alphabetically in the enum definition in the first > place ... Better yet - drop the ENUM al together :-) Use a lookup table. With regards, Martijn Tonies Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL Server Upscene Productions http://www.upsc

Re: Suggestions on db server configuration - Replication & load balancing or Clustering??

2005-06-09 Thread Ian Sales (DBA)
Ed Pauley II wrote: I need to come up with a high availability, high performance MySQL server setup. I have two database servers half way across the country from one another being replicated through a VPN. These db servers serve two very busy web sites with multiple applications accessing th

Re: ORDER BY and ENUM -- not alphabetical

2005-06-09 Thread Felix Geerinckx
Or put the members alphabetically in the enum definition in the first place ... -- felix On 09/06/2005, Eric Bergen wrote: > It's not a bug at all. You just hit one of the features of enum :) > > If you want to order alphabetically as you describe cast the enum > name to a string like this se

Re: ORDER BY and ENUM -- not alphabetical

2005-06-09 Thread alexc
I would say this is not a bug. You declared an enum for the column. So therefore it sorts in enum order. Makes perfect sense. To me MySql is working correctly. If it did not sort an enum in the order declared for the enum then i would be annoyed. Enums are not strings. Declare the column a