Omit another where clause from original query

2017-09-19 Thread Don Wieland
o find Former Clients who have not been seen after the date range - Lapsed Client Report Don Wieland d...@pointmade.net http://www.pointmade.net https://www.facebook.com/pointmade.band

Conditional ODER BY Clause HELP

2016-03-19 Thread Don Wieland
;,"Exc","E","S”), tr.Score DESC WHEN tr.Placed != "X" THEN tr.ride_time ASC END How does one deal with CONDITION study like this? Thanks in advance for any assistance Don

Conditional ODER BY Clause HELP

2016-03-19 Thread Don Wieland
;,"Exc","E","S”), tr.Score DESC WHEN tr.Placed != "X" THEN tr.ride_time ASC END How does one deal with CONDITION study like this? Thanks in advance for any assistance Don

Select Earliest Related Row

2016-02-09 Thread Don Wieland
cl_date, "%M %Y") AS mo_label FROM tl_items_classes ic LEFT JOIN tl_items i ON ic.item_id = i.item_id WHERE i.active = 1 AND ic.cl_cancelled IS NULL ORDER BY ic.cl_date ASC; Any help would be appreciated. Don Wieland d...@pointmade.net http://www.pointmade.net https://www.facebook.com/pointmade.band

Narrow A First Set Of Records

2015-12-17 Thread Don Wieland
art) >= UNIX_TIMESTAMP(DATE_SUB( NOW(), INTERVAL 24 MONTH)) AND last_appt IS NOT NULL AND count(a.client_id) >= 2; BUT, how do I add the other “condition b” to the query to get an accurate end result. I’d appreciate any help. Don Wieland D W D a t a C o n c e p t s ~~

Narrow A First Set Of Records

2015-12-17 Thread Don Wieland
_id GROUP BY a.client_id HAVING max(a.time_start) >= UNIX_TIMESTAMP(DATE_SUB( NOW(), INTERVAL 24 MONTH)) AND last_appt IS NOT NULL AND count(a.client_id) >= 2; BUT, how do I add the other “condition b” to the query to get an accurate end result. I’d appreciate any help. Don

Re: Query Summary Help...

2015-10-22 Thread Don Wieland
tried that - actually the SUM I need is on the JOIN relationship - results should be: 1,Banana,3 2,Orange,5 3,Melon,6 Thanks! Don Wieland d...@pointmade.net http://www.pointmade.net https://www.facebook.com/pointmade.band

Query Summary Help...

2015-10-22 Thread Don Wieland
invoice_InvoiceLines i ON p.pk_ProductID = i.fk_ProductID AND i.fk_InvoiceID IN (1,2,3) WHERE p.pk_ProductID IN (1,2,3) GROUP BY i.fk_ProductID; but it is not working. Little help please. Thanks! Don Wieland d...@pointmade.net http://www.pointmade.net https://www.facebook.com/pointmade.band

Re: Query Help...

2015-10-22 Thread Don Wieland
ransaction_id WHERE ht.donor_id = 730 AND ht.tr_date BETWEEN "2015-01-01 00:00:00" AND "2015-12-31 23:59:59" GROUP BY ht.`transaction_id` ORDER BY ht.tr_date DESC, ht.rec_code ASC; Don Wieland d...@pointmade.net http://www.pointmade.net https://www.facebook.com/pointmade.band

Query Help...

2015-10-20 Thread Don Wieland
showing one row of the “hiv_transactions” table when there are multiple rows. On the GROUP_CONCAT I am trying to get a comma delineated list of the child rec_code with no duplicates Appreciate any help. Hopefully a small mod ;-) Don Wieland D W D a t a

LAMP Support

2014-10-15 Thread Don Wieland
Hey gang, I need a few hours of support from a LAMP developer to resolve a few issues via TeamViewer or GoToMeeting. Anyone who is interested, has the skills, and can offer this to me, please contact me PRIVATELY. Please include your support hourly rate. Thanks! Don Wieland d

INTO OUTFILE ERROR...

2014-09-19 Thread Don Wieland
TERMINATED BY ',' ENCLOSED BY ''] Don Wieland d...@pointmade.net http://www.pointmade.net https://www.facebook.com/pointmade.band

Re: INTO OUTFILE ERROR...

2014-09-19 Thread Don Wieland
asap. Don Wieland d...@pointmade.net http://www.pointmade.net https://www.facebook.com/pointmade.band

Re: INTO OUTFILE ERROR...

2014-09-19 Thread Don Wieland
' Do I need to perform this query in a different place? Sigh… Don On Sep 19, 2014, at 8:03 AM, Reindl Harald wrote: into outfile is *not* a db-specific permission http://lmgtfy.com/?q=mysql+permissions+into+outfile http://stackoverflow.com/questions/6091427/mysql-into-outfile-access-denied

Re: INTO OUTFILE ERROR...

2014-09-19 Thread Don Wieland
! Don Wieland d...@pointmade.net http://www.pointmade.net https://www.facebook.com/pointmade.band

ERROR in syntax...

2014-09-06 Thread Don Wieland
); END IF; INSERT INTO content_asset_statistics (content_asset_id, statistic_type_code, seq) SELECT NEW.id, statistic_type_code, seq from content_asset_statistic_types where content_asset_type_code = NEW.content_asset_type_code; END; Appreciate it. Don Wieland -- MySQL

Stored Procedure help

2014-07-13 Thread Don Wieland
= (a := a + 1) WHERE document_category = category ORDER BY sort_id; END // Don Wieland d...@pointmade.net http://www.pointmade.net https://www.facebook.com/pointmade.band -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

mySQL Query support/assistance...

2014-02-11 Thread Don Wieland
contact me, privately, if you can assist. I am located in California, USA (PST). Thanks! Don Wieland d...@pointmade.net http://www.pointmade.net

PHP/mySQL Developer Partner needed...

2012-07-02 Thread Don Wieland
for the work they do on the site ;-) If you are interested, please contact me PRIVATELY and include a few examples of your work (websites,etc...). Thanks. Don -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql

Simple Email System (SES) Provider

2012-06-01 Thread Don Wieland
on how many emails my server can send per hour. They recommended I find a 3rd party service provider with support PHP API connections. My budget is limited. Does anyone have any suggestions of companies that might work for my scenario? Any feedback is appreciated ;-) Don -- MySQL General

Query help...

2012-05-28 Thread Don Wieland
be earlier than the start of the date range. If they have a count of ZERO appts prior to the earliest appt within the date range, the are a NEW CLIENT else a FORMER CLIENT. Any assistance would be appreciated. Thanks! Don Wieland -- MySQL General Mailing List For list archives: http

Query weirdness...

2012-05-25 Thread Don Wieland
'1321903800' --- end query 4 --- Don Wieland D W D a t a C o n c e p t s -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql

Query assistance...

2012-05-21 Thread Don Wieland
AND appt_status_id = '3' AND FROM_UNIXTIME(time_start,'%Y-%m-%d') between '2012-01-01' and '2012-05-20'; dr_all_ther_qty = 8 I appreciate any enlightenment on this. Thanks! Don -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http

Query help,,,

2012-05-17 Thread Don Wieland
tl_appt table) LESS THAN the stime 0 I am sure I need a multiple select query, but I am having a hard time wrapping my head around it. Thanks for any feedback. Don -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql

mySQL Query and Report Builder

2012-04-30 Thread Don Wieland
will be exported or printed? Graphs would be nice, too. I know I can build this from scratch, but would rather get a hold of something already pre-built (open source or shareware) to save me a bunch of coding time. I appreciate any feedback you can offer! Don

Multi select Query help...

2012-03-01 Thread Don Wieland
IN ((select group_concat(payment_id) from tl_trans_pmt_items where inv_id = 1033911)) AND client_id != 251719 I do not get the same results. Am I missing something? Hopefully something simple ;-) Don -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

Query help...

2012-02-29 Thread Don Wieland
) as d, regardless of the combination I use, invalid relationships come back as NULL - need to return 0 so I can use it in a math formula. Probably simple - maybe ;-) Don -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql

Re: opening a server to generalized queries but not too far

2010-06-18 Thread Don Cohen
Raj Shekhar writes: One option here might be to use mysql proxy as a man-in-the-middle and filter out unwanted queries... This seems more or less the same as what I'm doing now with php. The same question applies there - what would you look for in your filter? -- MySQL General Mailing List

opening a server to generalized queries but not too far

2010-06-16 Thread Don Cohen
This seems like a topic that must have been studied, but I'm having trouble figuring out what to search for in Google, since the usual discussion of sql injection is not what I'm looking for here. If anyone knows of references that discuss the issue, I'd like to see them. I'm also interested in

Re: opening a server to generalized queries but not too far

2010-06-16 Thread Don Cohen
Adam Alkins writes: Sounds like you just want to GRANT access to specific tables (and with limited commands), which is exactly what MySQL's privilege system does. How about this part? Finally, suppose I want to limit access to the table to the rows where col1=value1. If I just add that

RE: opening a server to generalized queries but not too far

2010-06-16 Thread Don Cohen
Daevid Vincent writes: For the love of God and all that is holy, do NOT put the user/pass on the URL like that!! What's so unholy (or even unwise) about it? Or use mod_auth_mysql to maintain your 'authorized' users to your page. Why is this so much better? In my case it's worse cause

RE: opening a server to generalized queries but not too far

2010-06-16 Thread Don Cohen
Daevid Vincent writes: For the love of God and all that is holy, do NOT put the user/pass on the URL like that!! What's so unholy (or even unwise) about it? Oh my goodness, where to begin... Well barring the fact that it'll be in the user's cache and browser It won't because

Re: Merging deltas from one table to another?

2010-03-10 Thread Don Read
/tmp/db.sql ... -- Don Readdon_r...@att.net It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

Re: Split query result into two part

2010-01-09 Thread Don Read
, -- Don Readdon_r...@att.net It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

Re: two processes update the same column in short time

2009-12-25 Thread Don Read
', 'scan', 'done') not null default 'new'; When proc two runs, it should UPDATE noticed='scan' WHERE noticed='new' Then repeat the scan with SELECT ... WHERE noticed='scan' ... and finally it should UPDATE domain=whatever, ... noticed='done' Regards, -- Don Read

Re: two processes update the same column in short time

2009-12-25 Thread Don Read
On Sat, 26 Dec 2009 10:43:55 +0800 Eva said: 2009-12-26 2:36, Don Read : Change noticed to enum('new', 'scan', 'done') not null default 'new'; When proc two runs, it should UPDATE noticed='scan' WHERE noticed='new' Then repeat the scan with SELECT ... WHERE noticed='scan

Re: Several languages for content

2009-11-27 Thread Don Read
know or haven't yet found the proper translation for a phrase it will default to the english language. * Note the locale field is varchar(5). There is a de, a de_DE, and a de_CH locale! Have fun! -- Don Readdon_r...@att.net It's always darkest before

Re: ad hoc replication for 3 X 40 000 rows

2009-10-21 Thread Don Read
SET seen='GOT' WHERE seen='GET'; lather, rinse, repeat. -- Don Readdon_r...@att.net It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. -- MySQL General Mailing List For list

Re: Slow query Performance

2009-07-16 Thread Don Read
is that the query runs faster the second time around but i dont have ... snipage -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? Anybody else see the irony here? -- Don

Re: avoiding use of Nulls (was: The = operator)

2009-03-15 Thread Don Read
invented the things we are talking about (http://en.wikipedia.org/wiki/Edgar_F._Codd) Cheers Claudio Nanni And Claudio for the WIN! -- Don Read donr...@sbcglobal.net It's always darkest before the dawn. So if you are going to steal the neighbor's

RE: Mysql Hogging all system resources

2007-04-13 Thread Don O'Neil
:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 11:38 AM To: Don O'Neil Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Mysql Hogging all system resources On Apr 12, 2007, at 1:17 PM, Don O'Neil wrote: [ ... ] Is there a way to prioritize or set the amount of resources that MySQL is allowed

RE: Mysql Hogging all system resources

2007-04-13 Thread Don O'Neil
Nevermind on the badly formatted number... I specified the full path /usr/bin/nice and it worked ok this time :-) However, I still want to know if there is a way to specify a nice level for an entire users processes. Thanks! -Original Message- From: Don O'Neil [mailto:[EMAIL PROTECTED

RE: Mysql Hogging all system resources

2007-04-13 Thread Don O'Neil
his processes (old and new) with a nice of 0. Is there something else I'm missing? -Original Message- From: Dan Nelson [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 2:57 PM To: Don O'Neil Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Mysql Hogging all system resources

Mysql Hogging all system resources

2007-04-12 Thread Don O'Neil
I have a customer that loaded up a HUGE table and was doing all sorts of fancy stuff in it, and not waiting for the process to finish before sending the same query, and eventually loading up the server to the point where the only thing I could do was unplug it. Is there a way to prioritize or set

what can cause a query to be much slower the second time?

2007-03-27 Thread Don Cohen
This is using version: 5.0.18-log on linux. I have a stored procedure that takes .2 sec the first time, 12 the second, 12 the third. The data is unchanged. The relevant part of the procedure looks like this. ... drop temporary table if exists temptab; create temporary table temptab (index

Problem with query on 5.11

2006-10-20 Thread Don O'Neil
Why does this query return no results: SELECT * FROM FileList WHERE MATCH Filename AGAINST (9640) When there are entries in the Filename list that have 9640 in them? I'm using MySQL 5.1.11. Thanks! -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:

RE: Problem with query on 5.11

2006-10-20 Thread Don O'Neil
Yes, there is a full text index, there are about 12,000 rows or so. Don -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 11:47 PM To: Don O'Neil Cc: mysql@lists.mysql.com Subject: Re: Problem with query on 5.11 Don O'Neil wrote: Why does

RE: Problem with query on 5.11

2006-10-20 Thread Don O'Neil
I just deleted and re-created my indexes and the query works now... I guess the index got corrupted somehow. Strange that I never saw any indications of this in messages, just that 0 rows were returned. Don -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Thursday

RE: What's the best way to INSERT a long list of email addresses and names into a TABLE?

2006-09-12 Thread Don
insert into our tables. Works like a champ. Don -Original Message- From: axis [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 9:10 PM To: [EMAIL PROTECTED] Cc: mysql@lists.mysql.com Subject: What's the best way to INSERT a long list of email addresses and names into a TABLE

RE: What's the best way to INSERT a long list of email addresses and names into a TABLE?

2006-09-12 Thread Don
with '../../Customer_Data.csv'? Axis On 9/12/2006 10:22:01 PM, Don ([EMAIL PROTECTED]) wrote: Presuming your csv is set up in the structure of your table - this may help BULK INSERT tablename FROM 'C:\filelocation\my_data.csv' WITH ( FIELDTERMINATOR =',', ROWTERMINATOR

problem running mysql_install_db

2006-05-14 Thread don-temp28
you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h don

Re: query problem

2006-03-12 Thread Don Read
($qry, 'area', $area); if (! empty($interest)) $qry = andclause($qry, 'interest', $interest); echo 'span class=ddt', $qry, '/span'; $res = SQLQuery($qry); ... Have fun. -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you

MySQL 4.1.18 Client - FreeBSD Build

2006-02-23 Thread Don O'Neil
Where are the client libraries and such for the FreeBSD 4.x Build of MySQL 4.1.18? I downloaded the MAX binary yesterday, and tried to install it, but none of the libmysqlclient files are present in the distribution. Do I need to download the sources and build it, or are the client files located

RE: MySQL 4.1.18 Client - FreeBSD Build

2006-02-23 Thread Don O'Neil
Yeah, I know about that... But the 4.1.18 client/server isn't there.. Only 4.0.7 or some such older version. Thanks! -Original Message- From: Julian C. Dunn [mailto:[EMAIL PROTECTED] Sent: Thursday, February 23, 2006 9:39 AM To: Don O'Neil Cc: mysql@lists.mysql.com Subject: Re: MySQL

Build Backwards Compatible MySQL Client Libs

2006-02-23 Thread Don O'Neil
Hi all... I have some OLD programs I don't have the source for that were built with the MySQL 3.23.55 client libraries. They still work great, even when using those libraries to connect to 4.1.18 Mysql (I have a copy of the old lib in the new lib dir) However, is there some way I can build a

Re: mysqld crashes and restarts on connect attempt

2005-10-28 Thread Don Doumakes
, there don't seem to be any symbols in the executable: # nm -n /usr/sbin/mysqld nm: /usr/sbin/mysqld: no symbols Nor is there a file anywhere on the system named mysqld.sym.gz. -- Don Doumakes -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http

mysqld crashes and restarts on connect attempt

2005-10-27 Thread Don Doumakes
I'm installing MySQL 4.1.14 on a new Gentoo box. When I try to connect to the mysqld daemon, it crashes and restarts itself, which just doesn't seem right. I enter these commands: cd /usr; /usr/bin/mysqld_safe mysqladmin -u root password 'foobar' and get this response: mysqladmin: connect

Multi-Table Insert Strategy

2005-07-02 Thread Don Parris
the reading - but my Google search seems to turn up more info about multi-table deletes than inserts. I realize that MySQL doesn't support a single multi-table insert function, but are the two approaches I see good, bad, common?? Thanks, Don -- evangelinuxGNU Evangelist http://matheteuo.org

Are partial searches possible?

2005-06-08 Thread Don
for a partial entry. For example. If I have an entry where Booking is 'TSIN15' and I search on the string 'TSIN15', it is found. How can I get it to find a partial match if the string I enter is only '15' ? Thanks, Don -- MySQL General Mailing List For list archives: http

RE: Are partial searches possible?

2005-06-08 Thread Don
with a '12345' in it. Hence, partial matches Thanks, Don -Original Message- From: Gordon Bruce [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 3:31 PM To: Don; mysql@lists.mysql.com Subject: RE: Are partial searches possible? You can try if($queryID = mysql_query(SELECT

RE: Are partial searches possible?

2005-06-08 Thread Don
Maybe a good question to ask is where can I find documentation on: MySQL WHERE where_definition Specifically, all the options available for the 'where_definition' -Original Message- From: Don [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 3:40 PM To: mysql@lists.mysql.com

4.0 - 4.1 undocumented incompatible change w/float?

2005-05-27 Thread Don MacAskill
releases... Don smime.p7s Description: S/MIME Cryptographic Signature

4.0 - 4.1 undocumented incompatible change w/float?

2005-05-27 Thread Don MacAskill
as they did in prior releases... Don smime.p7s Description: S/MIME Cryptographic Signature

Need help adding database to multi server mysql?

2005-04-23 Thread Don Vaillancourt
] Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist 050423 12:07:20 mysqld ended -- Don Vaillancourt Director of Software Development WEB IMPACT INC. phone: 416-815-2000 ext. 245 fax: 416-815-2001 email: [EMAIL

Nesting Query Calls

2005-03-01 Thread Don Huff
didn't read all the results of query 2, so they may show up somewhere I don't want them? Is there a way to do this, does it work and I am missing something? Thanks, Don. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com

Re: Nesting Query Calls

2005-03-01 Thread Don Huff
this by creating a new select statement and running it. It seems this is not possible if the framework tries to use a single global connection to the daemon, yes? no? Can another connection be made? thanks, Don. --- [EMAIL PROTECTED] wrote: The parent-child type of query you want to make

Re: export from older version

2004-12-31 Thread Don Stefani
Eric Bergen wrote: If you can use mysqldump to export the data from 3.23 with the -Q switch to quote all db, table, and column names. Thanks for the input, that has worked for me in the past, but it's on a hosted db server and I don't think I have rights to run mysqldump on it. I was hoping to

export from older version

2004-12-30 Thread Don Stefani
Hello, I am trying to import a table structure from ver 3.23.52 to ver 4.1.7-max and I am getting an error: --- error - |#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'wish_list_id`

follow-up: export from older version

2004-12-30 Thread Don Stefani
Don Stefani wrote: Hello, I am trying to import a table structure from ver 3.23.52 to ver 4.1.7-max and I am getting an error: --- error - |#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use

Re: MySQL and PHP

2004-12-29 Thread Don Stefani
GH wrote: I am using IIS :( On Windows... Which do i install first? PHP or MySQL? Apache. :) If your just working on a local dev box, it may not be that big of a deal. PHP using IIS is a bit easier to install than Apache since PHP5 does not have an installer that auto-configs

Re: Calculating User Ranks (SQL Query Question)

2004-12-24 Thread Don Read
()) $rank[$row['user_id']] = $row['rank']; $dbconn-Execute('UPDATE user SET rank=0'); foreach($rank as $id = $r) { $qry = UPDATE user SET rank=$r WHERE user_id=$id; $dbconn-Execute($qry); } } Regards, -- Don Read

How to change root password - getting error

2004-12-23 Thread Don
root flush-privileges password newpwd I get the error: mysqladmin: unable to change password; error: 'Can't find any matching row in the user table' I think my user table is screwed up but how can I get in to fix it??? Worst case, do I just uninstall and reinstall mysql? Thanks, Don

Dyna III electronic ignition install questions R80/7

2004-10-04 Thread Don Dachner
as per the instructions that came with it, and i can't get the test light to come on at all which says something, I think. Any help appreciated. Thanks, Don

InnoDB backup + replication problem?

2004-09-29 Thread Don MacAskill
, Don -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Date Indexing

2004-09-23 Thread Don Read
. hittime DATETIME NOT NULL DEFAULT '-00-00', prd MEDIUMINT UNSIGNED NOT NULL DEFAULT 0, ... KEY idx_p (prd), ... UPDATE tbl SET prd=EXTRACT(YEAR_MONTH FROM hittime) ... Then query it with SELECT ... WHERE prd=200408 etc. -- Don Read [EMAIL

Aborted connection error (error reading comm packets) ?

2004-07-08 Thread Don MacAskill
. These are the stock compiled .tar.gz distributions. My service seems to still run fine, and it's not reporting not being able to connect. Multiple hosts get the error, not just one IP. Any ideas? Thanks, Don -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http

General log file in v3.23.52

2004-06-09 Thread Don Dachner
How do I turn on the General log file in version 3.23.52? Can I put an entry in the my.cnf file and reboot? Thanks, Don

Lost connection to MySQL server during query

2004-06-08 Thread Don Dachner
to a port so I'm figuring it's using the default 3306. I can ping the server. Any ideas? Thanks, Don

Re: What is your mysql debugging strategy?

2004-04-28 Thread Don Read
error near .. very useful or am I giving up to easy? Howzabout : mysql_query($qry) or die(sprintf('pBorked query at file %s line %d :br /%s', __FILE__, __LINE__, nl2br($qry)) .'br /' .mysql_errno() .'br /' .mysql_error()); -- Don Read [EMAIL

Re: Doubt about TINYINT type

2004-04-28 Thread Don Read
mediumint(6) unsigned zerofill NOT NULL auto_increment, idcust mediumint(5) unsigned zerofill NOT NULL, ... ); You can make some pretty decent reports with a shell script if the DB lends a hand with formatting. -- Don Read [EMAIL PROTECTED] -- It's

If() syntax question

2004-04-21 Thread Don Dachner
Is it possible to do something like this? If(select * from xxx, if record found..update it, if record not found ..insert it) Thanks, Don

Re: Query question

2004-04-21 Thread Don Read
A; This return's up to ten characters after the name, somethimes this is to much, sometimes to many. Does anybody knows how to go from here. LEFT(SUBSTRING_INDEX(foo, ';', 1), 10) Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So

XFS or ReiserFS?

2004-04-19 Thread Don Dachner
is the leader in supporting Access Control Lists...is that a consideration for a MySQL server? Thanks, Don

Re: AW: command not found: trying to start mysql

2004-04-16 Thread Don Dachner
I ran ./bin/safe_mysqld and got: [1] 3328 root # Starting mysqld daemon with databases from /usr/local/mysql/data and the cursor hangs on the next line down ... thanks, don Try ls to see whether safe_mysqld is in the directory and the run: Safe_mysqld Note! You have to be root

Re: AW: command not found: trying to start mysql

2004-04-16 Thread Don Dachner
Ok, that worked. Thanks. I guess now my only question is is there something wrong with my environment since I have to type: ./bin/mysql -u root instead of mysql -u root? Thanks, Don At 9:30 -0700 4/16/04, Don Dachner wrote: I ran ./bin/safe_mysqld and got: [1] 3328 root

BUG and workaround (Was: Table lock problem on INSERT with FULLTEXT index?)

2004-04-16 Thread Don MacAskill
work fine, but INSERT hangs. Thanks, Don Jaroslav Kocourek wrote: FWIW, I'm still having this problem. I've completely dropped the table and re-built it from the ground up. It's a bizarre problem... The table is totally simple. A primary key, and then three varchar fields. The FULLTEXT

Re: AW: command not found: trying to start mysql

2004-04-16 Thread Don Dachner
Thanks for the help! Worked perfectly. Don Paul DuBois [EMAIL PROTECTED] wrote: At 10:01 -0700 4/16/04, Don Dachner wrote: Ok, that worked. Thanks. I guess now my only question is is there something wrong with my environment since I have to type: ./bin/mysql -u root instead of mysql -u

Re: BUG and workaround (Was: Table lock problem on INSERT with FULLTEXT index?)

2004-04-16 Thread Don MacAskill
Success with the bug entry. Nice system, too. http://bugs.mysql.com/bug.php?id=3483 Thanks, Don Don MacAskill wrote: This problem is completely repeatable, I'm not the only one having it, and I've found a (temporary) workaround. I'm not sure if it affects other machines than AMD64

command not found: trying to start mysql

2004-04-15 Thread Don Dachner
if not all of those files. Don

Re: [Q] moving database to server in new timezone

2004-04-12 Thread Don Read
and run the query: UPDATE tbl SET ts= DATE_SUB(ts, INTERVAL 10 HOUR) WHERE ... Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. -- MySQL General

Re: Table lock problem on INSERT with FULLTEXT index?

2004-04-12 Thread Don MacAskill
pretty tiny. A mysqldump of the table is only 442K. Has no-one else seen anything like this? I can't imagine I'm the only one. Thanks, Don Don MacAskill wrote: Hi there, I've got a bizarre problem I can't seem to solve. I have a small MyISAM table (6533 rows) with a small FULLTEXT index

ADODB.Connection - How do I open a DB, create if not there, open table, create if not there and add a single record?

2004-04-10 Thread Don Anthony
This should be simple, no? I can't make it work Objective: - bring up a panel to ask for MySQL User/Host/Password and save settings if we get logged in. - when we start (likely on a new machine) create a new Weather DB if it doesn't exist - when we start ( ) create a new TimeTable table if

Table lock problem on INSERT with FULLTEXT index?

2004-04-07 Thread Don MacAskill
. Any help would be greatly appreciated! Thanks, Don -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: How to optimize ugly order by?

2004-03-25 Thread Don Read
(membershiptype + 1, '2', '0', '1') ASC -- or -- MAKE_SET(membershiptype, 'a','b') DESC Regards -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. -- MySQL

Re: counting rows in all tables

2004-03-25 Thread Don Read
On 25-Mar-2004 [EMAIL PROTECTED] wrote: Not using perl or php I came up with: mysqlshow -u user --status db_name | awk -F| '{print $2,$5}' | grep -i pattern Is there a query to do the same thing? SHOW TABLE STATUS -- Don Read [EMAIL PROTECTED

Re: fulltext search always returns no results

2004-02-26 Thread Don Dikunetsis
W [EMAIL PROTECTED] To: Don Dikunetsis [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: fulltext search always returns no results Date: Thu, 26 Feb 2004 01:26:17 -0600 Hi Don, No, full-text search was added in MySQL 3.23.23, I believe (4.0.1 just added boolean searches along with more speed

RE: fulltext search always returns no results

2004-02-26 Thread Don Dikunetsis
Lovatt [EMAIL PROTECTED] To: Matt W [EMAIL PROTECTED], Don Dikunetsis [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: fulltext search always returns no results Date: Thu, 26 Feb 2004 07:57:21 - Hi Full text can have some strange results. It ignores common words, like the, if, and, etc

fulltext search always returns no results

2004-02-25 Thread Don Dikunetsis
Summary: When I run a fulltext search, it always returns no results. I have added a fulltext index to the column being searched. Also, I am searching for a term that is in the table, but not in more than 50% of the rows. I notice that when I add EXPLAIN to my search, the key_len of my fulltext

Re: fulltext search always returns no results

2004-02-25 Thread Don Dikunetsis
Hi, thanks for your reply, but it looks like: As of Version 3.23.23, MySQL has support for full-text indexing and searching. --according to: http://www.mysql.com/doc/en/Fulltext_Search.html However, I would be unsurprised (though disappointed) to find that the answer is some variant of this

Re: A current row updating counter for a mass Update or similar?

2004-02-10 Thread Don Read
TEMPORARY TABLE Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

  1   2   3   4   5   >