SELECT DISTINCT uses index but is still slow

2006-01-04 Thread James Harvard
bigint(20) UNSIGNED DEFAULT NULL, port_id tinyint(3) UNSIGNED NOT NULL DEFAULT 0, KEY date_id (date_id), KEY country_id (country_id), KEY comcode_id (comcode_id,date_id) ) ENGINE=MyISAM ROW_FORMAT=FIXED; TIA, James Harvard -- MySQL General Mailing List For list archives: http://lists.mysql.com

Inconsistent rows returned examined in slow query log

2006-01-04 Thread James Harvard
queries were not dealt with by the query cache. Any ideas? Thanks, James Harvard # Time: 060103 9:45:12 # [EMAIL PROTECTED]: lasso[lasso] @ localhost [127.0.0.1] # Query_time: 86 Lock_time: 0 Rows_sent: 12 Rows_examined: 6733255 select sql_cache dates.date_month from data_gb_e data inner join

Are these db stats normal?

2006-01-03 Thread James Tu
using PHP's mysql_pconnect for all my scripts. Could this be causing the failed/aborted attempts? What is not clear in the documentation is whether mysql_pconnect will open another connection if the current one is in use. -James

Are these db stats normal...part 2

2006-01-03 Thread James Tu
testing with large data in development. I'm looking at the data heavy tables in production and they average 140K per row...which is not even close to the 1MB max_allowed_packet default limit. Any ideas? Anybody else encounter this? -James

Re: How to share databases on dual-boot machines?

2005-12-29 Thread James Brown
wp_options.MYI* The symlink looks like this: lrwxrwxrwx 1 mysql 25 2005-12-29 13:40 wordpress - /mnt/docs/mysql/wordpress/ Does anyone have any ideas? Many thanks, James. Logan, David (SST - Adelaide) wrote: Hi James, There are a couple of options (from the Linux side of things

How to share databases on dual-boot machines?

2005-12-28 Thread James Brown
, James. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: MySQL Administrator logon question

2005-12-28 Thread James Brown
Aftab Khan wrote: I have installed mySQL with admin ID and password. However when I login using the mysql Administrator, it allows logons without a password. How do I force it to get the password and authentic rather allowing only user id? Thaks Please refer to this page:

RE: Changing types on the fly in select queries?

2005-12-27 Thread James Harvard
of my head if that would be able to use an index on (year,period,week) though. Anyone? Good luck, James Harvard -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

I'm new to mySQL

2005-12-24 Thread James Lumb
Hi, I am new to mySQL and have mac OS X. Please could any other Mac users or anyone for that matter tell me the best way of connecting to a mySQL database? Should I use terminal or a program like PHPmyAdmin? Cheers, James

Re: Do I need to tweak my server variables for this SELECT statement?

2005-12-23 Thread James Harvard
, of course, but my-huge.cnf is a better starting point than my.cnf. James Harvard At 6:45 am -0800 23/12/05, Grant Giddens wrote: I think that the reason the original query is so slow is that I don't have enough RAM allocated to mysql. When the original query takes place, I see a process

Re: Strange behavior with integer unsigned type...

2005-12-23 Thread James Harvard
), and IIRC MySQL uses 64 bit maths. FWIW my preferred web app middleware - Lasso - does the same thing (only with signed 64 bit numbers). HTH, James Harvard At 11:17 pm +0200 23/12/05, Gleb Paharenko wrote: On both 4.1.16 and 5.0.17 I've got the same results, however not 2^32

Re: Reporting tools for summary data

2005-12-22 Thread James Harvard
At 2:30 pm + 22/12/05, C.R.Vegelin wrote: Hi James, I saw your email about are primary keys always essential ?. And that your app is essentially creating summary reports from large amounts of summary data. May I ask what reporting tool you use for summary data ? My client sells (well

Re: Do I need to tweak my server variables for this SELECT statement?

2005-12-21 Thread James Harvard
- might be useful if you continue to have trouble. HTH good luck, James Harvard For the first time, I'm working with a really large database. I have 1 SQL statement that brings my server to it's knees. This setup is currently on my home development PC, and not in production. The server

Re: Do I need to tweak my server variables for this SELECT statement?

2005-12-21 Thread James Harvard
That's why I suggested simply using the supplied my-huge.cnf config file, because I assume it was contructed by some MySQL uber-guru who does know how much RAM to allocate to each variable! James Harvard Like I mentioned before, I am tweaking the .cnf files by blind trial and error. I

Re: Reason for Auto-increment primary keys?

2005-12-21 Thread James Harvard
worried about shaving 40 MB off a 2 GB file, because 40 MB _was_ my hard disc! So presumably as the years go by increasing processor power and storage speed size will mean we will no longer have to compromise on purity of db design to get acceptable performance. OK, now I'm just rambling. James

Are primary keys essential?

2005-12-21 Thread James Harvard
, that is - sorry! TIA, James Harvard -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Are primary keys essential?

2005-12-21 Thread James Harvard
destination country, trade commodity category etc., but they are _not_ themselves referenced by any other table. Therefore I have not yet found, nor do I envisage finding, any use for an arbitrary auto_increment primary key. So why would/might I need a PK at all? TIA, James Harvard -- MySQL

Re: Are primary keys essential?

2005-12-21 Thread James Harvard
In hindsight my thread title was misleading - sorry. Should have been are primary keys _always_ essential?. JH -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: How to avoid sorting sorted tables ?

2005-12-19 Thread James Harvard
it with the last time the table was ordered. HTH, James Harvard At 9:29 am + 19/12/05, C.R.Vegelin wrote: Now I use: ALTER TABLE t ORDER BY a, b, c, d, e, f; This works fine, but takes about 13 minutes for 6 million rows. Without inserts, deletes or other sorts, this PK order remains intact

Re: fulltext search

2005-12-18 Thread James Harvard
hypenated words. ... MATCH (col_name) AGAINST ('s-au' IN BOOLEAN MODE) ... HTH, James Harvard At 5:26 pm +0200 18/12/05, Octavian Rasnita wrote: Please tell me how can I configure MySQL 5 in order to be able to search (using fulltext indexes) for combined words like s-au. -- MySQL General Mailing

Re: How to Square a number?

2005-12-18 Thread James Harvard
Maybe I'm missing something, but can't you just multiply the number by itself? select (3 * 3); select (int_col * int_col) as squared from table_name; James H At 5:36 pm -0600 18/12/05, mos wrote: How do I square a number in MySQL 4.1? I thought it would be something simple like: select 3**2

Re: is there any BEEP command ?

2005-12-16 Thread James Harvard
Well it works on Mac OS X! While there is no beep command, you can possibly get it to beep by selecting the character code for a terminal beep (this is what the mysql client uses internally) Try out: SELECT char(7); -- MySQL General Mailing List For list archives:

Re: Transactions (not rolling back on error)

2005-12-15 Thread James Harvard
Hi Cory - nice to see a fellow Lasso user here! I've not use transactions myself but I think you might be having a problem with autocommit. http://dev.mysql.com/doc/refman/5.0/en/commit.html HTH, James Harvard At 12:44 am -0700 15/12/05, Cory @ SkyVantage wrote: I have a transaction

Re: [OT-ish] Hardware for MySQL server

2005-12-13 Thread James Harvard
Thanks for all the feedback on this. Is there any received wisdom on whether 1 dual core processor is better than 2 'normal' processors? Also, is there any advantage to SCSI over SATA? TIA, James Harvard -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

[OT-ish] Hardware for MySQL server

2005-12-12 Thread James Harvard
brands available in the UK, or UK based companies that will build servers, supporting 3 discs (2 RAID 1 for the OS)? Many thanks, James Harvard -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

re: would like more info on INSERT ... VALUES

2005-12-08 Thread James Black
I am looking for, as I want to see if sending 100 inserts at one time is faster than doing 100 inserts, one at a time. I expect it is, but I would like to get some numbers for my query. Thank you for any help. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black

re: no MINUS operator in mysql 5?

2005-11-22 Thread James Black
nb.name from stats_names sn - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDg4QcikQgpVn8xrARAsFUAJ4h

re: how am I missing this key

2005-11-21 Thread James Black
James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDgdwkikQgpVn8xrARAky9AJ4lcBoVIsqkU2nBpca6fAZZsl5dvgCfR3H5 7ed5A7RcOLrcm2XxQh/zSD8= =+Xos -END PGP SIGNATURE- -- MySQL

re: impossible WHERE noticed question

2005-11-02 Thread James Black
) - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDaRv2ikQgpVn8xrARAswuAJ9+bcmZ0i17hD2AJatCo4pAi1yBggCgjTv8

Re: Mysql 4.0 cpu usage

2005-10-26 Thread James Sherwood
I have solved this problem, I was missing a slash in the path to the data directory Thanks, James - Original Message - From: Gleb Paharenko [EMAIL PROTECTED] To: mysql@lists.mysql.com Sent: Wednesday, October 26, 2005 4:41 AM Subject: Re: Mysql 4.0 cpu usage Hello. Are you able

Re: Error 1406

2005-10-26 Thread James Sherwood
dumped was utf8 as well. James - Original Message - From: Gleb Paharenko [EMAIL PROTECTED] To: mysql@lists.mysql.com Sent: Wednesday, October 26, 2005 3:25 AM Subject: Re: Error 1406 Hello. I also tried modifying the mediumtext to longtext in the dumpfile but it produces a column

Error 150 when inputing a dump

2005-10-25 Thread James Sherwood
Any help would be appreciated, James

Re: Error 150 when inputing a dump

2005-10-25 Thread James Sherwood
SOLVED, sorry for the message. It was a different error, will post on it shortly James - Original Message - From: James Sherwood [EMAIL PROTECTED] To: mysql@lists.mysql.com Sent: Tuesday, October 25, 2005 1:39 PM Subject: Error 150 when inputing a dump Hello, I dumped a database

Error 1406

2005-10-25 Thread James Sherwood
but it produces a column with a -1 size for some reason. Any ideas? Thanks, James

Mysql 4.0 cpu usage

2005-10-25 Thread James Sherwood
the process in the task manager. Any ideas? Thanks, James

re: possible bug in mysql 5.0.13

2005-10-12 Thread James Black
) | NO | || | | fullname | varchar(24) | NO | | | | | ip | varchar(40) | NO | PRI | || | alive | int(11) | NO | | 0 | | +---+-+--+-+-+---+ 10 rows in set (0.02 sec) - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN

Re: possible bug in mysql 5.0.13

2005-10-12 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Brawley wrote: James, You can reproduce that error by writing ... SELECT ... FROM a, b INNER JOIN c ON a.x=c.y The error goes away if you instead write ... SELECT ... FROM b, a INNER JOIN c ON A.x=c.y I will try

Re: possible bug in mysql 5.0.13

2005-10-12 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Brawley wrote: James, You can reproduce that error by writing ... SELECT ... FROM a, b INNER JOIN c ON a.x=c.y The error goes away if you instead write ... SELECT ... FROM b, a INNER JOIN c ON A.x=c.y so you might try

Re: possible bug in mysql 5.0.13

2005-10-12 Thread James Black
to an error of: Unknown column r.rid in on clause. Guess I will start working on creating a test db where I can demonstrate this bug, to make it easy to reproduce. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE

Mac OS X / MySQL 4.1.14 compiled slowness issue

2005-10-06 Thread James C Knotts
We are having slowness issues with MySQL on Mac OS X 10.4.  Here is what has been done...1) Tiger's native version of mysql was installed.2) A delete was attempted on 1.5 million records    Note: These records are heavily referenced to other tables3) 8+ hours later the delete was cancelled and it

Binary Logs not updating

2005-09-26 Thread James Green
to the logs except the relay-log. Can someone please advise? Using InnoDB's hotbackup.pl file to perform the backups. Cheers, -- James Green -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

RE: LVM-snapshot + mysqldump -- is this a reasonable backup

2005-09-19 Thread James G. Sack (jim)
On Mon, 2005-09-19 at 12:15 -0400, George Herson wrote: Dear Jim, Re: your post at http://lists.mysql.com/mysql/189058, why bother creating the mysqldump if you already have the snapshot? Why not just backup the snapshot? (I'd have hit reply online but didn't see a Reply button and

Re: LVM-snapshot + mysqldump -- is this a reasonable backup

2005-09-19 Thread James G. Sack (jim)
On Mon, 2005-09-19 at 13:14 -0400, George Herson wrote: James G. Sack (jim) wrote: On Mon, 2005-09-19 at 12:15 -0400, George Herson wrote: Dear Jim, Re: your post at http://lists.mysql.com/mysql/189058, why bother creating the mysqldump if you already have the snapshot? Why

re: determing how loaded my mysql server is

2005-09-15 Thread James Black
in the processlist seems to increment by perhaps 5-10/second. Is there a way to monitor the server, without putting too much of a load on the mysql server, to see what is going on? Thanx. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP

user and hostname connection priveleges

2005-09-14 Thread James
this entry: User: user1 Host: % Now I'm allowed to access the MYSQL server. Doesn't % open it up to all clients wanting to connect? I want to restrict which machine can connect to the server. How do I do that? -- -James -- MySQL General Mailing List For list archives: http://lists.mysql.com

RE: LVM-snapshot + mysqldump -- is this a reasonable backup strategy?

2005-09-13 Thread James G. Sack (jim)
quoting Alan Williamson [EMAIL PROTECTED] .. This recipe is intended to minimize the impact on ongoing database operations by inhibiting writes only during a relatively speedy operation (creating a snapshot). The long dump operation can ... This seems to be a rather long winded way of doing

LVM-snapshot + mysqldump -- is this a reasonable backup strategy?

2005-09-08 Thread James G. Sack (jim)
This recipe is intended to minimize the impact on ongoing database operations by inhibiting writes only during a relatively speedy operation (creating a snapshot). The long dump operation can then be performed on the (stable) snapshot, without interfering with ongoing use of the live database.

re: could insert...select have problem with corrupt table

2005-09-01 Thread James Black
-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDF1JEikQgpVn8xrARAmaBAJ4jDyW+RdjLBh+tW21PnYR8XRVajwCfbWCV uQcsbwMY9HKRAa7srzk9TpY

how does mysql treat the these two different deleting methods?

2005-08-18 Thread James
on story_id = '3' fails? In method A, 1 and 5 are deleted. in method B, is only 1 deleted? are 1 and 5 deleted, or are none of them deleted (i.e. MySQl treats this as one unit of work)? -- -James -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http

synopsis of the problem (one line)

2005-08-16 Thread James Cooper
/mysqld.log: No such file or directory STOPPING server from pid file /var/run/mysqld/mysqld.pid tee: /var/log/mysqld.log: Permission denied 050812 12:13:16 mysqld ended tee: /var/log/mysqld.log: Permission denied Fix: Submitter-Id: submitter ID Originator: Organization: James

mysql installs; tests work, but mysqld won't run.

2005-08-16 Thread James Cooper
/mysqld.log: No such file or directory STOPPING server from pid file /var/run/mysqld/mysqld.pid tee: /var/log/mysqld.log: Permission denied 050812 12:13:16 mysqld ended tee: /var/log/mysqld.log: Permission denied Fix: Submitter-Id: submitter ID Originator: Organization: James

Re: French Characters, Still no answer

2005-08-16 Thread James Sherwood
. Thanks for your ideas thus far, James - Original Message - From: Gleb Paharenko [EMAIL PROTECTED] To: mysql@lists.mysql.com Sent: Monday, August 15, 2005 1:41 PM Subject: Re: French Characters, Still no answer Hello. You've already got a good answer: http://lists.mysql.com/mysql

Re: French Characters, Still no answer

2005-08-16 Thread James Sherwood
Hello, I dont think we want to go this route as it was working fine on the 4.0 database on the other server. I also might add that the old server was linux, and the new one is Windows 2000 Server Thanks, James - Original Message - From: Ace Dimitrievski [EMAIL PROTECTED] To: [EMAIL

Re: lvm+innodb

2005-08-16 Thread James G. Sack (jim)
On Mon, 2005-08-15 at 20:01 -0700, Patrick Michael Kane wrote: Did you ever get any responses on how to get innodb to a consistent on-disk state for LVM snapshotting? FYI, under LVM2 read/write snapshots are allowed. I never got any replies. If you look closely into my rambling posting,

Re: French Characters, Still no answer

2005-08-16 Thread James Sherwood
I think I have found the problem: Doing Select @@character_set_database , results, client and connection it all returns latin1 I tried set character_set_x = utf8; for them all but it did not work, they stayed latin1 and need to be utf8 Any ideas how to change this? Thanks, James

Re: French Characters, Still no answer

2005-08-16 Thread James Sherwood
We are using 3.0.9 and the latest is 3.1.10 But we connect to the old 4.0 database fine, would the connector matter? James - Original Message - From: Jason Pyeron [EMAIL PROTECTED] To: mysql@lists.mysql.com Sent: Tuesday, August 16, 2005 1:59 PM Subject: Re: French Characters, Still

French Characters, Still no answer

2005-08-15 Thread James Sherwood
the tomcat back to the new database, it will not play nice with french characters. (they come out as outlined squares etc) Any ideas would be greatly appreciated James

Re: French Characters, Still no answer

2005-08-15 Thread James Sherwood
The older version is 4.xx.xx im not sure how to tell. New version is 4.1.12 Thank you, James - Original Message - From: Bruce Dembecki [EMAIL PROTECTED] To: James Sherwood [EMAIL PROTECTED] Cc: mysql@lists.mysql.com Sent: Monday, August 15, 2005 2:50 PM Subject: Re: French Characters

Character Set Question

2005-08-12 Thread James Sherwood
. (they come out as outlined squares etc) Any ideas would be greatly appreciated James -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Complex query. (It's killing me)

2005-08-12 Thread James M. Gonzalez
) AS open FROM shipments, returns GROUP BY shipments.DateShipped ORDER BY shipments.DateShipped DESC LIMIT 5 That's it. Im SO stuck with this query. I would really really appreciate any help, hints, links, or ideas about it. James G. -- MySQL General Mailing List For list archives

Re: Complex query. (It's killing me)

2005-08-12 Thread James M. Gonzalez
-Original Message- From: James M. Gonzalez Sent: 12 August 2005 16:58 To: 'Scott Noyes' Subject: RE: Complex query. (It's killing me) Sorry, I will explain myself more clearly: Everyday, we ship packages, and we also receive some packages. The one we receive, has been shipped by us

RE: Complex query. (It's killing me)

2005-08-12 Thread James M. Gonzalez
of conditions (like where clausules) James -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 12 August 2005 16:41 To: [EMAIL PROTECTED] Cc: James M. Gonzalez; mysql@lists.mysql.com Subject: Re: Complex query. (It's killing me) Sorry - I think you need a LEFT

innodb engine breaks snapshot-based backup strategy

2005-08-11 Thread James G. Sack (jim)
Am I doing something wrong, or does the innodb engine design preclude loading a server with a readonly database snapshot? I'm talking about 4.1.x (or maybe 4.x) and linux lvm snapshots (lvm2) specifically about MySQL-4.1.12 (mysql-4.1.12-2.FC4.1.x86_64.rpm) tested on an AMD-64 + FC4

advanced group by

2005-08-03 Thread James M. Gonzalez
on and on. Any help will be greatly apprecieted. (Im begging for help) James

re: query hasn't worked properly since Mysql 5.0.6

2005-07-18 Thread James Black
nams.prefs AS p ON(sne.badge=p.badge) WHERE sne.badge=c.badge) AS UserFullname, - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http

re: mysql 5.07 results incorrect, mysql 5.0.6 results correct

2005-07-13 Thread James Black
in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC1R8dikQgpVn8xrARAjsfAJ4hsAKn81s0/rjP3V9N1MccjUVPIACdHbSV XiUuUvFYubdZgQnrfTGBNpw= =mAcq -END

Backup and Maintenance Strategies

2005-06-24 Thread James Tu
since the last backup is acceptable. -James

re: how to add comments to an existing table

2005-06-23 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 How would I add a comment to rows in an existing table, if I am not changing the row definition? This is for mysql 4.1 and 5.0. Thanx. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED

Choosing between FULLTEXT INDEX and regular INDEX

2005-06-22 Thread James
2 chars and above. This will make the index files huge no? -- -James -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Choosing between FULLTEXT INDEX and regular INDEX

2005-06-22 Thread James
performance? -James At 1:06 PM -0400 6/22/05, James wrote: I have a table which includes the following columns in addition to lots of other ones name - populated with just one name city - populated with just one city keywords - lots of keywords I'm definitely going to use a FULLTEXT

InnoDB: Space issues

2005-06-17 Thread James Green
for this are to use mysqldump to reload the tables. This isn't an option for us due to the size of the dataset and it's 24/7 availability, hence we bought innodb hot backup. And thus we are looking for suggestions. Any advice appreciated. Thanks, James -- MySQL General Mailing List For list

help joining tables in a query

2005-06-15 Thread James M. Gonzalez
will be greately appreciated. James.

RE: Considering migration from MyISAM to InnoDB

2005-06-15 Thread James Nobis
. Thoughts? -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] James Nobis Web Developer Academic Superstore 223 W. Anderson Ln. Suite A110, Austin, TX 78752 Voice: (512) 450-1199 x453 Fax: (512) 450-0263 http

re: is keys a restricted keyword

2005-06-09 Thread James Black
-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCqKXvikQgpVn8xrARAgLjAJ0aD8nDJu49TbD2xFAQPtoEgyXF3wCfXcRQ krNHXdaEqrieu8efbpTM41I

max_connections

2005-06-07 Thread James Sherwood
EMS mysqlmanager it says 100. I restarted the server etc. Any ideas as to why the max is not going to 200 in the variables list? Thanks, James -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: max_connections

2005-06-07 Thread James Sherwood
This error is thrown in a mask we use called Torque, it does the connection pooling but we have never had a problem with it such as this until now. James - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; mysql@lists.mysql.com Sent: Tuesday, June 07, 2005 1:23 PM

Re: max_connections

2005-06-07 Thread James Sherwood
Yes, we have been looking into that as well, the problem is is that some changes we have made seemed to have helped and it takes 12hours or so for the error to occur, making it a slow process:) James - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; mysql

re: file my.cnf is missing for Solaris 8, for mysql 5.0.6

2005-06-06 Thread James Black
is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCpFVBikQgpVn8xrARAhJaAJ0YINBpRLhq3VZ+YFkCSHMr1arxUACeKLTe 1ld

re: solution found for my.cnf problem in mysql 5.0.6

2005-06-06 Thread James Black
James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCpFlmikQgpVn8xrARAh9qAJ0ekN/cqiuFPRs2urLkU5e2ulbFlQCfQ5+r TJknK26B3tkDnFGa6hrlcXM= =oLsU -END PGP SIGNATURE- -- MySQL

re: error 1418 when creating stored procedure using mysql 5.0.6

2005-06-06 Thread James Black
it to work now. Thanx. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

Re: error 1418 when creating stored procedure using mysql 5.0.6

2005-06-06 Thread James Black
-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCpJYGikQgpVn8xrARAlslAKCMf8ChA6s+pngbJ82D5WWOjZYLvACeJDPD F4dI37k5oEv1H8SeaLfLB24= =7MBu -END PGP

problem loading dates from txt file

2005-05-31 Thread James M. Gonzalez
it and change the time format. From - 30-May-05 To - 2005-05-30 The txt file is initially generated from an excel sheet. Im using: MySQL 4.1.11 on Red Hat 9 with kernel 2.4.20 Any ideas? James Collado

Re: Fw: Inner workings of a JOIN

2005-05-31 Thread James Tu
Thank you for all of your answers and suggestions. I feel a lot more confident finishing my table designs -James

Query performance...two table design options

2005-05-25 Thread James Tu
, TABLE_B.Data FROM TABLE_A, TABLE_B WHERE Activity = 'draw' AND Age 24 AND TABLE_A.Data_ID = TABLE_B.Data_ID; (Aside: Would this query give me the same results as the above query?) -James

Inner workings of a JOIN

2005-05-25 Thread James Tu
internally? Does it first create some sort of CROSS JOIN with the two tables (resulting in a 5,000,000,000 row table) and then finding the matching rows based on the WHERE clause? -James

Upgrading from 4.0 to 4.1

2005-05-19 Thread James Tu
the contents of the data directory? Should that method work? -James

re: using OR seems faster than using IN

2005-05-17 Thread James Black
=? OR idx=? ... SELECT name, id FROM table WHERE idx IN(?,?,?) I am also using prepared statements, obviously, and looping through my function 100 times, to get a better idea as to speed, and using junit for the testing. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black

Performance of UNION vs alternative

2005-05-16 Thread James
the details of each activity when one of these records is selected. PERFORMANCE-wise, which is better? METHOD A using the UNION, or METHOD B, with a slight database modification. DATABASE DESIGN-wise which is better? Thanks! -- -James -- MySQL General Mailing List For list archives: http

Re: Solution to slow queries

2005-05-10 Thread James Nobis
://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] James Nobis Web Developer Academic Superstore 223 W. Anderson Ln. Suite A110, Austin, TX 78752 Voice: (512) 450-1199 x453 Fax: (512) 450-0263 http://www.academicsuperstore.com -- MySQL General Mailing List For list archives

Re: mysqld just ending...

2005-04-29 Thread James Nobis
: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] James Nobis Web Developer Academic Superstore 223 W. Anderson Ln. Suite A110, Austin, TX 78752 Voice: (512) 450-1199 x453 Fax: (512) 450-0263 http://www.academicsuperstore.com -- MySQL General Mailing List

re: determing number of Tuesdays within a date range

2005-04-28 Thread James Black
at 4pm. Thanx for any help. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

re: using if in select statement

2005-04-28 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 My boss and I were playing with using select statements, and we can actually execute subqueries as an option if the result is true or false. Is this expected behavior, or is it something that may be fixed in a revision, before I begin to depend on it

re: group by day of week and group by hour in day

2005-04-27 Thread James Black
-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCb6NkikQgpVn8xrARAhEpAJwK1Yp9gBn0bnfUJ07dbf2bVHpSiACfd8Wi HycjEYTbpk0NAPEtEgV5BpY= =3+gk -END PGP

re: Mysql 5.0.4 still broken for my stored procedures

2005-04-27 Thread James Black
at: com.mysql.jdbc.DatabaseMetaData.getCallStmtParameterTypes, line 6963 I am curious if anyone else is having a failure like this. Thanx. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG

re: getting hours from two datetime columns

2005-04-27 Thread James Black
hope this makes sense. I am thinking I am going to be doing this in my application. Thanx for any suggestions. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using

database design question

2005-04-26 Thread james tu
...and then perform my search on this NEW table? Thanks. -- -James -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: database design question

2005-04-26 Thread James
`... -James At 1:03 PM -0400 4/26/05, [EMAIL PROTECTED] wrote: james tu [EMAIL PROTECTED] wrote on 04/26/2005 12:06:34 PM: I have four different activities. Each has its own set of data that I want to save. So, I made four different tables to hold the saved data. Each record also has 'keywords

Re: database design question

2005-04-26 Thread James
Corporation - Spruce Pine James [EMAIL PROTECTED] wrote on 04/26/2005 02:15:49 PM: I tried that and maybe I'm doing something wrong but... -I have to select the same number of columns...for each UNION -And each of the records from the union fall under the same column headings as the first SELECT... I

possible bug left join and null

2005-04-21 Thread James Nobis
AND OrderLines.product_id =9 WHERE Order.customer_id IS NULL I would expect this to return a single row with Customer.id 2. Is there something obvious my coworkers and I are missing? James Nobis Web Developer Academic Superstore 223 W. Anderson Ln. Suite A110, Austin, TX 78752 Voice: (512) 450-1199

Re: possible bug left join and null

2005-04-21 Thread James Nobis
Thanks everyone for such quick and thorough responses! Quoting [EMAIL PROTECTED]: James Nobis [EMAIL PROTECTED] wrote on 04/21/2005 10:44:07 AM: The problem is something fairly simple but yet MySQL seems to make this complicated. Essentially, find a list of customers who have not bought product X

<    1   2   3   4   5   6   7   8   9   10   >