Re: default my.cnf?

2008-03-18 Thread Mike Spreitzer
I had the same problem. I found the distribution contains some prototypes, with slightly more elaborate names. Regards, Mike kalin m [EMAIL PROTECTED] 03/18/08 01:06 PM To mysql@lists.mysql.com cc Subject default my.cnf? hi all... i have a 5.0.33 build from source on a freebsd 4.10

ERROR 1062 (23000): Duplicate entry '1' for key 1 during SELECT

2008-03-12 Thread mike
Description: When running the statements below, MySQL errors out with: ERROR 1062 (23000) at line 5: Duplicate entry '1' for key 1 during SELECT How-To-Repeat: drop table if exists t; create table t (f int not null); insert into t values (1),(1); select 1 from t straight_join t as t2

Bogus unsubscribe!

2008-02-25 Thread Mike Spreitzer
I just got an email from the list robot asking me to confirm my request to unsubscribe. The only problem is, I did not ask to unsubscribe! Is anybody else getting this? Thanks, Mike

mysqldump: Got error: 1: Can't create/write to file 'dumpdir/tablename.txt' (Errcode: 13) when executing 'SELECT INTO OUTFILE'

2008-02-22 Thread Mike Spreitzer
$ Thanks, Mike

Re: mysqldump: Got error: 1: Can't create/write to file 'dumpdir/tablename.txt' (Errcode: 13) when executing 'SELECT INTO OUTFILE'

2008-02-22 Thread Mike Spreitzer
PROTECTED] /]# Thanks, Mike Jed Reynolds [EMAIL PROTECTED] 02/22/08 07:04 PM Please respond to [EMAIL PROTECTED] To Mike Spreitzer/Watson/[EMAIL PROTECTED] cc mysql list mysql@lists.mysql.com Subject Re: mysqldump: Got error: 1: Can't create/write to file 'dumpdir/tablename.txt' (Errcode: 13

Re: mysqldump: Got error: 1: Can't create/write to file 'dumpdir/tablename.txt' (Errcode: 13) when executing 'SELECT INTO OUTFILE'

2008-02-22 Thread Mike Spreitzer
-- 1 mysql mysql 29 Feb 22 20:46 foo.bar -rw-r--r-- 1 root root 742 Feb 22 20:46 red1_p2.sql -bash-3.00$ Thanks, Mike Jed Reynolds [EMAIL PROTECTED] 02/22/08 07:24 PM Please respond to [EMAIL PROTECTED] To Mike Spreitzer/Watson/[EMAIL PROTECTED] cc mysql list mysql@lists.mysql.com

Number of rows not constant

2008-02-21 Thread Mike Spreitzer
. Thanks, Mike

Re: Number of rows not constant

2008-02-21 Thread Mike Spreitzer
Thanks to both Dans, that's it. This even discussed in the refman, at ( http://dev.mysql.com/doc/refman/4.1/en/show-table-status.html). In my case, COUNT(*) found 25,682,600 rows and it took about 7 minutes. Thanks, Mike

Re: How bad is adding BLOB column and index at the same time?

2008-02-20 Thread Mike Spreitzer
and use another instance of the GUI administration tool. If I succeed in interrupting this operation, presumably the rollback will take quite a while. How can I tell whether I have successfully interrupted the operation and the rollback is what's nailing my machine? Thanks, Mike Spreitzer SMTP

How bad is adding BLOB column and index at the same time?

2008-02-19 Thread Mike Spreitzer
choice of batch operations. My second question is: if I have indeed done something grossly stupid, what is the best (if there is any at all!) way to interrupt it and proceed. I am running MySQL 5.0.51a-community on RHEL 4, storage on one local disk. Thanks! Mike

Re: How bad is adding BLOB column and index at the same time?

2008-02-19 Thread Mike Spreitzer
the final data in the new column. So I infer there is no big motivation to interrupt the operation I have going. Thanks, Mike Baron Schwartz [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 02/19/08 08:13 PM To Mike Spreitzer/Watson/[EMAIL PROTECTED] cc mysql@lists.mysql.com Subject Re: How bad

Order by Mixed Alpha/Numeric

2007-11-26 Thread Mike Blezien
is the correct syntax to order by the alpha characters, first?? TIA, Mike(mickalo)Blezien === Thunder Rain Internet Publishing Providing Internet Solution that Work http://www.thunder-rain.com === -- MySQL General Mailing List For list

RE: Problem with master/slave replication

2007-11-16 Thread Mike Johnson
Seconds_Behind_Master -- Mike Johnson -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

RE: MySQL - Replication (Master/Slave) Question

2007-11-15 Thread Mike Johnson
From: Dan Rogart [mailto:[EMAIL PROTECTED] On 11/14/07 4:01 PM, Mike Johnson [EMAIL PROTECTED] wrote: Correction to a couple of replies I've seen -- a slave server can have more than one master, but not to the same database. That is, Slave reads Database1 and Database3 from

RE: MySQL - Replication (Master/Slave) Question

2007-11-14 Thread Mike Johnson
to check on that. Not likely, though. As for how to set it all up, don't ask me. I just enjoy the results. :) (apologies if you get a dupe, Baron -- I accidentally hit reply, not reply-to-all) -- Mike Johnson -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

Re: Fulltext Relevancy not returning anticipated results?

2007-10-30 Thread Mike Morton
Ave. Farmington, CT 06032 860.674.8796 / FAX: 860.674.8341 www.the-infoshop.com www.giiexpress.com www.etudes-marche.com -Original Message- From: Mike Morton [mailto:[EMAIL PROTECTED] Sent: Monday, October 29, 2007 5:39 PM To: mysql@lists.mysql.com Subject: Fulltext Relevancy

Re: Fulltext Relevancy not returning anticipated results?

2007-10-30 Thread Mike Morton
. Regards, Jerry Schwartz The Infoshop by Global Information Incorporated 195 Farmington Ave. Farmington, CT 06032 860.674.8796 / FAX: 860.674.8341 www.the-infoshop.com www.giiexpress.com www.etudes-marche.com -Original Message- From: Mike Morton [mailto:[EMAIL PROTECTED

Re: Fulltext Relevancy not returning anticipated results?

2007-10-30 Thread Mike Morton
for the starting point for finding that mistake Baron! :) *knocks head against wall repeatedly* On 10/30/07 5:09 PM, Baron Schwartz [EMAIL PROTECTED] wrote: Mike, Mike Morton wrote: OK - I am at a total loss here :) We have added an addition fulltext field with the highest rating: match

Fulltext Relevancy not returning anticipated results?

2007-10-29 Thread Mike Morton
on this? The term vic used in this case is the search string submitted by the user. You can see the search in action at http://www.tienda.com/support/search.html -- Cheers Mike Morton * * Tel: 905-465-1263 * Email: [EMAIL PROTECTED

recursion or something recursion-esque

2007-09-24 Thread Mike Johnson
the solution is either remarkably simple or frustratingly difficult. Thanks in advance if you can help! -- Mike Johnson Smarter Travel Media LLC Applications Developer http://www.smartertravel.com/ -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

Re: #1017 - Can't find file: './support/orderpc.frm' (errno: 13)

2007-09-14 Thread Mike Zupan
[EMAIL PROTECTED] ~]# perror 13 OS error code 13: Permission denied check permissions that it is read/write for the mysql user On 9/14/07, Haig Dedeyan [EMAIL PROTECTED] wrote: Hi everyone, all of a sudden today, I keep getting the error mentioned in the subject when I open the dbase in

What should be a simple query...

2007-09-10 Thread Mike Mannakee
am I doing wrong? Any ideas? Mike -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: mysql error

2007-08-20 Thread Mike Zupan
A common issue a lot of people have is this rm logfile if the mysql server is still accessing that file it will not continue to write to that file again till mysql is restarted if that was the case the proper way to clear a log and keep the server running is cp /dev/null logfile On 8/20/07,

Re: Password storage

2007-08-18 Thread Mike Aubury
2007 16:19, Mogens Melander wrote: MD5() is not an encryption function. The MySQL manual states: -- Mike Aubury Aubit Computing Ltd is registered in England and Wales, Number: 3112827 Registered Address : Murlain Business Centre, Union Street, Chester, CH1 1QP -- MySQL General Mailing List

Re: MySql behaving slowly

2007-08-11 Thread Mike Zupan
turn on slow query logging.. maybe one or more of the db's got too big and your queries are running slow Mike On 8/10/07, Steve Grosz [EMAIL PROTECTED] wrote: I am running a MySql server, ver. 4.1.7-max on a P3 with 512meg of RAM. It has been running fine for the past year, nice and quick

Re: remove temporary table from SELECT query

2007-08-10 Thread Mike Zupan
buffer size or eliminating more rows from the query. -Original Message- From: Mike Zupan [mailto:[EMAIL PROTECTED] Sent: Friday, 10 August 2007 4:52 AM To: mysql@lists.mysql.com Subject: remove temporary table from SELECT query I have been pulling my hair out over a temporary table

Re: remove temporary table from SELECT query

2007-08-10 Thread Mike Zupan
neither of those have fixed the issue.. I can create a sample database if anyone wants it to be of some help. Mike On 8/10/07, Ananda Kumar [EMAIL PROTECTED] wrote: Also, its not good to set sort_buffer_size=256M, as this much of memory will get allocated to each session, and if u have more

Re: adding an index to a very large table (hours and hours??)

2007-08-10 Thread Mike Zupan
Yes it will take a long time depending on the size of the index also On 8/10/07, x x [EMAIL PROTECTED] wrote: I'm attempting to add an index to a table with 70 million rows. DB server running on a reasonably fast Intel Mac on a relatively slow drive. Should this take hours to complete ?

remove temporary table from SELECT query

2007-08-09 Thread Mike Zupan
I have been pulling my hair out over a temporary table being created in the following query SELECT SQL_NO_CACHE SQL_CALC_FOUND_ROWS entryid,title FROM friends_test INNER JOIN entries ON friendLink=userid AND userLink=2 order by entryid if I change userLink=2 to friendLink=2 it is fine and its

Birthday format

2007-06-25 Thread Mike Blezien
, but was wondering if this can be accomplished within the actual query itself. TIA, Mike(mickalo)Blezien === Thunder Rain Internet Publishing Providing Internet Solution that Work http://www.thunder-rain.com === -- MySQL General Mailing List

Re: Birthday format

2007-06-25 Thread Mike Blezien
Chris, - Original Message - From: Chris Boget [EMAIL PROTECTED] To: Mike Blezien [EMAIL PROTECTED]; MySQL List mysql@lists.mysql.com Sent: Monday, June 25, 2007 2:15 PM Subject: Re: Birthday format we have a simple query to calculate someones birthday: SELECT (TO_DAYS(CURDATE

Re: Birthday format

2007-06-25 Thread Mike Blezien
thanks, worked prefectly, Mike - Original Message - From: Jerry Schwartz [EMAIL PROTECTED] To: 'Mike Blezien' [EMAIL PROTECTED]; 'MySQL List' mysql@lists.mysql.com Sent: Monday, June 25, 2007 3:01 PM Subject: RE: Birthday format mysql SELECT FLOOR(54.75); +--+ | FLOOR

Re: Birthday format

2007-06-25 Thread Mike Aubury
2007 21:07, Mike Blezien wrote: thanks, worked prefectly, Mike - Original Message - From: Jerry Schwartz [EMAIL PROTECTED] To: 'Mike Blezien' [EMAIL PROTECTED]; 'MySQL List' mysql@lists.mysql.com Sent: Monday, June 25, 2007 3:01 PM Subject: RE: Birthday format mysql SELECT FLOOR

Re: Birthday format

2007-06-25 Thread Mike Blezien
- Original Message - From: Mike Aubury [EMAIL PROTECTED] To: mysql@lists.mysql.com; Mike Blezien [EMAIL PROTECTED] Cc: Jerry Schwartz [EMAIL PROTECTED] Sent: Monday, June 25, 2007 3:44 PM Subject: Re: Birthday format I might be wrong - but isn't that going to mess up on or around

Sorting by a list of possible results in a column....

2007-06-05 Thread Mike Morton
, but that is (in my opinion) an unnecessary step that could be handled at the database query Thanks! Sample query: Select * from development order by status -- Cheers Mike Morton * * Tel: 905-465-1263 * Email: [EMAIL PROTECTED

Re: select with like not working...

2007-05-25 Thread Mike Lockhart
! - -- Mike Lockhart Information Engineer ChoiceMed, Inc Email: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGVxxcgCgDHkdt5m8RAqTOAKCAdoL4JSjUzsKG1Y9/wdcTCeSdswCffwOy YO0ALUVivjv7ZDFfXUAbn1M= =J52W

Re: Data security - help required

2007-05-15 Thread Mike van Hoof
Well, you can save all data encoded in the database: http://dev.mysql.com/doc/refman/5.0/en/encryption-functions.html#function_encode - Mike Chris schreef: Ratheesh K J wrote: Hello all, I have a requirement of maintaining some secret information in the database. And this information

Re: Scheduled backups

2007-05-14 Thread Mike Blezien
quite nicely, on a LINUX system. MySQL Backup Script VER. 2.5 - http://sourceforge.net/projects/automysqlbackup/ Mike(mickalo)Blezien === Thunder Rain Internet Publishing Providing Internet Solution that Work http://www.thunder-rain.com

Re: Path information to a database

2007-05-11 Thread Mike Lockhart
anyone done this before?? on Paths and Storeing into a database anyone have code examples - -- Mike Lockhart Information Engineer ChoiceMed, Inc Email: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE

Re: FW: MySQL patches from Google

2007-04-26 Thread Mike OK
Hi I read the Google blog post regarding these patches. They admit using MySQL for some internal data storage needs but not in the general search system. Here is the link to the blog post http://google-code-updates.blogspot.com/2007/04/google-releases-patches-that -enhance.html Mike

ORDER BY question

2007-03-21 Thread Mike van Hoof
Hello everybody, I got a small problem with ordering on en ENUM field. The values in this field are: - to be started - started - finished - canceled And i want to order on this field, but in the direction the are above here (and not alpabetically). Is that possible? - Mike -- Medusa

Re: ORDER BY question

2007-03-21 Thread Mike van Hoof
WHEN 'now hiring' then 3 WHEN 'waiting' then 2 WHEN 'closed' then 6 END AS sorted_grade FROM v_issue_project_task ORDER BY sorted_grade - Mike Medusa, Media Usage Advice B.V. Science Park Eindhoven 5216 5692 EG SON tel

Re: MySQL Daylight Savings Time Patch - easy check

2007-02-24 Thread Mike Blezien
Out of curiousity, what should be done if they results are different. We checked on one of boxes and got two different results: SELECT UNIX_TIMESTAMP('2007-03-11 02:00:00'), - UNIX_TIMESTAMP('2007-03-11 03:00:00');

Re: MySQL Daylight Savings Time Patch - easy check

2007-02-24 Thread Mike Blezien
people have mentioned in this thread. But they all appear to be related to overseas timezones so I'm not too concerned about them. -Ryan Mike Blezien wrote: Out of curiousity, what should be done if they results are different. We checked on one of boxes and got two different results: SELECT

Re: Year - Field type

2007-02-19 Thread Mike Blezien
have you try using the datatype YEAR for you table field/column ? Mickalo - Original Message - From: John Berman [EMAIL PROTECTED] To: mysql@lists.mysql.com Sent: Monday, February 19, 2007 11:45 AM Subject: Year - Field type Hi Using mysql4 Sure this is an easy one a field in my

Table definitions not accepting data as defined...

2007-02-10 Thread Mike Morton
, `english` text, `spanish` text, `active` char(1) default 'n', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7096 ; -- Cheers Mike Morton * * Tel: 905-465-1263 * Email: [EMAIL PROTECTED

Fulltext relevance and weighting....

2007-01-31 Thread Mike Morton
PHP) TIA - hope someone can help! -- Cheers Mike Morton * * Tel: 905-465-1263 * Email: [EMAIL PROTECTED] * -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

Re: Fulltext relevance and weighting....

2007-01-31 Thread Mike Morton
Mike: :) I wish! Free ham for everyone! I had already changed the min length to 2 actually - so that is not the affecting factor... It is more of an issue to prioritizing fields for relevance, and whether it is possible to do this within a fulltext query, or whether it needs to be done

Re: simple alternate query

2007-01-29 Thread Mike Aubury
2 john 3 mary 4 lisa 5 me I need a select that always retrieves id 1 and an interval of my choice: -- Mike Aubury -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http

Re: General MySQL Question: Ed Reed (CA, United States ofAmerica) Medium

2007-01-29 Thread Mike Wexler
The area by the Santa Clara convention center is pretty dead, but you can take the light rail to downtown San Jose and there is a pretty lively nightlife there, lots of interesting restaurants, The Tech Museum and other things depending on you interests. Also there are lots more interesting

Slow query

2007-01-09 Thread Mike van Hoof
bether preformance from this query? - Mike

Re: Slow query

2007-01-09 Thread Mike van Hoof
Hello, I pinned down the problem to the order by line. If i leave this away the query is done in 0.05 seconds. - Mike Mike van Hoof schreef: Hello, i have the following query: SELECT DISTINCT ( Waarde ) AS bestemming FROM xml_kenmerk WHERE Omschrijving = 'Bestemming

MYSQL REGEXP help

2007-01-08 Thread Mike van Hoof
end) or a v followed by a space. so it should match: 'b test' 'test b' 'test b bv' 'bv b test' and NOT 'test bv' 'bv test' Any idea's?! Thanks, mike -- Medusa, Media Usage Advice B.V. Science Park Eindhoven 5216 5692 EG SON tel: 040-24 57 024 fax: 040-29 63 567 url: www.medusa.nl mail

MYSQL REGEXP help

2007-01-08 Thread Mike van Hoof
end) or a v followed by a space. so it should match: 'b test' 'test b' 'test b bv' 'bv b test' and NOT 'test bv' 'bv test' Any idea's?! Thanks, mike

Re: MYSQL REGEXP help

2007-01-08 Thread Mike van Hoof
) He shouldn't select this one, because it says 'bv' and no other b Mike ViSolve DB Team schreef: Hi, [ERROR 1139 (42000): Got error 'repetition-operator operand invalid' from regexp] because, In your query, '!' is an Operator and ? is a wild character. Only wildcharacters should be follow

Recommended Hardware Configurations

2006-12-17 Thread Mike Duffy
than than buying. If you think I am wrong on either of these points, please share your thoughts and send a link to a recommended system. Sincerely, Mike __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http

C API blobs

2006-12-08 Thread Mike Aubury
Can anyone point me in the direction of some examples of using the libmysqclient API for reading/writing blobs ? I'm currently reading the data from some dynamic SQL using mysql_stmt_bind_result mysql_stmt_fetch - and want to add the BLOB datatypes TIA -- Mike Aubury -- MySQL

Re: InnoDB Transaction and LAST_INSERT_ID()

2006-11-28 Thread Mike Kruckenberg
Andre Matos wrote: The idea is to have a audit trail to record the changes made. So, I want to insert a new record in the staff table and right after this, insert a record in the changes table. SET AUTOCOMMIT=0; START TRANSACTION; INSERT INTO staff (`Name`) VALUES ('ABC'); INSERT INTO changes

Re: InnoDB Transaction and LAST_INSERT_ID()

2006-11-28 Thread Mike Kruckenberg
Andre Matos wrote: SET AUTOCOMMIT=0; START TRANSACTION; INSERT INTO staff (`Name`) VALUES ('ABC'); INSERT INTO changes (`Key`, `Table`, `Value`) VALUES (LAST_INSERT_ID(), 'staff', 'ABC'); COMMIT; SET AUTOCOMMIT=1; This works fine in my test environment, however what about many users doing at

Re: InnoDB Transaction and LAST_INSERT_ID()

2006-11-28 Thread Mike Kruckenberg
Andre Matos wrote: Thanks Mike. I understand the possible gaps that I might have if I use the ROLLBACK. This is acceptable in my case. What I really want to avoid is what I am doing now: open one transaction to insert, or update, or delete certain information and close with the commit

Re: create function in mysql 5.0.26-3

2006-11-27 Thread Mike Kruckenberg
// mysql CREATE FUNCTION hello (s CHAR(20)) RETURNS CHAR(50) - DETERMINISTIC - LANGUAGE SQL - BEGIN - RETURN CONCAT('Hello, ',s,'!'); - END; - - // Query OK, 0 rows affected (0.01 sec) mysql delimiter ; mysql select hello(Mike); +---+ | hello(Mike

Re: Calling Stored Procedures from PHP

2006-11-27 Thread Mike Kruckenberg
Filipe Freitas wrote: Hi, This is not a mysql thing but maybe you can help me. I want to call a stored procedure from PHP, so I tried it like normal querys: mysql_query(CALL mySP();); with no success. What is happening when you make the call? That might help get some more precise advice. My

Re: How Do I Know If mySQL is using MyISAM or InnoDB?

2006-11-17 Thread Mike Kruckenberg
For any specific table if you do: show create table tablename; It will tell you what the able was created using. To create tables using a specific engine add ENGINE=name to the end of your create statement. To see the default that is used (I think this is what the table_type variable does):

Re: How Do I Know If mySQL is using MyISAM or InnoDB?

2006-11-17 Thread Mike Kruckenberg
This is in 4.0, it has changed in more recent versions. Mike Kruckenberg wrote: For any specific table if you do: show create table tablename; It will tell you what the able was created using. To create tables using a specific engine add ENGINE=name to the end of your create statement

Re: mysqlhotcopy errors osx

2006-11-17 Thread Mike Kruckenberg
that mysqlhotcopy is built to use. Mike James Tu wrote: The first time I tried to run the mysqlhotcopy script, I got an error that indicated that Perl couldn't find the DBI module. So, I found a site (http://www.quicomm.com/apm_dbddbi.htm) that stepped me through making and installing MySQL DBD

Re: storing URL 2083 characters

2006-09-12 Thread Mike Wexler
Peter Van Dijck wrote: Hi, URL's have a practical limit of 2083 characters it seems. To store these in a space efficient way (I have 1,000,000s of url rows), what's the best approach? varchar has a 255 maximum, right? Should I just use TEXT? I'm not searching *in* the urls, I am selecting like

Calculation distances

2006-08-20 Thread Mike Blezien
zipcode Perl modules on Cpan, but nothing for helping calculation distances. Can someone point me in the right direction to accomplish this ... thx's :) TIA, Mike(mickalo)Blezien -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http

Re: Calculation distances

2006-08-20 Thread Mike Blezien
Chris, this is something very similar to what we are attempting to accomplish: http://www.papajohnsonline.com/restlocator/RestaurantLocator Mike - Original Message - From: Chris W [EMAIL PROTECTED] To: Mike Blezien [EMAIL PROTECTED]; MYSQL General List mysql@lists.mysql.com Sent

Re: find in list

2006-08-16 Thread Mike van Hoof
someFieldInMyTable='%[1]%' Mike -- Medusa, Media Usage Advice B.V. Science Park Eindhoven 5216 5692 EG SON tel: 040-24 57 024 fax: 040-29 63 567 url: www.medusa.nl mail: [EMAIL PROTECTED] Uw bedrijf voor Multimedia op Maat -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

Re: AW: find in list

2006-08-16 Thread Mike van Hoof
someFieldInMyTable is CONCATed to ,1,2,3,4,5,6,9,21, and over that value the where clause is done... Maybe it helps Mike Charlie Schaubmair schreef: Hello Mike, thx, but isn't there another way? br Charlie -Ursprüngliche Nachricht- Von: Mike van Hoof [mailto:[EMAIL PROTECTED

Re: AW: find in list

2006-08-16 Thread Mike van Hoof
Sorry, query was wrong... has to be: SELECT *, CONCAT(',',someFieldInMyTable,',') as wherefield FROM MyTable WHERE wherefield LIKE '%,1,%' Mike van Hoof schreef: Hey Charlie, maybe there is, but i don't know why... because when you do a like query it also finds the 21 when you do a like

Random Error

2006-08-16 Thread Mike Blezien
Mike(mickalo)Blezien === Thunder Rain Internet Publishing Providing Internet Solution that Work http://www.thunder-rain.com === -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http

Re: Random Error

2006-08-16 Thread Mike Blezien
It's PHP I believe, oscommerce web site, MySQL 4.0.27. this is for an associate of ours and I am not much of a PHP programmer, strickly Perl :) Mike - Original Message - From: Dan Buettner [EMAIL PROTECTED] To: Mike Blezien [EMAIL PROTECTED] Cc: MySQL List mysql@lists.mysql.com Sent

Re: returning username/pass from 2 tables

2006-08-15 Thread Mike van Hoof
://dev.mysql.com/doc/refman/5.0/en/merge-storage-engine.html cheers, --renato Or if your tables are not identical you can use a LEFT JOIN: http://www.tizag.com/mysqlTutorial/mysqlleftjoin.php Mike -- Medusa, Media Usage Advice B.V. Science Park Eindhoven 5216 5692 EG SON tel: 040-24 57 024 fax: 040-29

Checking List

2006-08-04 Thread Mike Blezien
Is this list still working ? Mickalo -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: MySQL on AMD Althelon Dual Core processors

2006-07-31 Thread Mike Wexler
1. Get as much memory as possible. 2. Get the fastest disks you can. Ones with fast access time and 10 or 15K RPMs are best. 3. I think SCSI has a slight advantage over SATA but they are more expensive also. So only get them if it doesn't have a negative effect on 1 or 2. 4. Use whatever $$$

Re: undefined reference to 'mysql_init'

2006-07-23 Thread Mike Aubury
] : NULL); } } mysql_close(conn); return 0; } * Please help me in this regard. - Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. -- Mike Aubury

Anyone interested in a 4gl compiler ?

2006-07-21 Thread Mike Aubury
a very simple mysql connector already, as well as postgres, ODBC). -- Mike Aubury -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Converting TEXT to BLOB with special chars

2006-07-18 Thread Mike van Hoof
a workaround for this (and not converting to a BLOB is not an option... sorry) Mike -- Medusa, Media Usage Advice B.V. Science Park Eindhoven 5216 5692 EG SON tel: 040-24 57 024 fax: 040-29 63 567 url: www.medusa.nl mail: [EMAIL PROTECTED] Uw bedrijf voor Multimedia op Maat -- MySQL

Re: Converting TEXT to BLOB with special chars

2006-07-18 Thread Mike van Hoof
Addison, Mark schreef: From: Mike van Hoof Sent: 18 July 2006 12:18 To: Addison, Mark Subject: Re: Converting TEXT to BLOB with special chars Addison, Mark schreef: From: Mike van Hoof Sent: 18 July 2006 10:49 Hello, I am having

Re: Converting TEXT to BLOB with special chars

2006-07-18 Thread Mike van Hoof
Chris Sansom schreef: At 13:40 +0200 18/7/06, Mike van Hoof wrote: Well.. gonna try some text-converting in php then... And yeah, it really needs to be a blob field... not my choice, but we got a CMS which operates on field types from MySQL... and a blob field wil generate an WYSIWYG field

Re: quickie for a non-blonde!

2006-07-13 Thread Mike Aubury
can i get back 4 | ABC | new company 1 name 8 | DEF| new company 2 name -- Mike Aubury -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

MS SQL TOP Replacement

2006-06-29 Thread Mike
I have a SELECT statement for MS SQL that is SELECT TOP 1 id FROM menu_links ORDER BY id desc and need to convert it to MySQL. I cannot find what will do that. Help is greatly appreciated. TIA Mike -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

Re: MS SQL TOP Replacement

2006-06-29 Thread Mike Wexler
Mike wrote: I have a SELECT statement for MS SQL that is SELECT TOP 1 id FROM menu_links ORDER BY id desc and need to convert it to MySQL. I cannot find what will do that. Help is greatly appreciated. TIA Mike SELECT id FROM menu_links ORDER BY id desc LIMIT 1 -- MySQL

Re: MS SQL TOP Replacement

2006-06-29 Thread Mike
I guess I had the LIMIT in the wrong location. Thanks for the help! Mike Mike Wexler [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Mike wrote: I have a SELECT statement for MS SQL that is SELECT TOP 1 id FROM menu_links ORDER BY id desc and need to convert it to MySQL. I

Re: Leading zero where strlen 5

2006-06-26 Thread Mike Wexler
J.R. Bullington wrote: The best way to do this is with code, however, here is A way to do it (I am sure that there are more than one...) UPDATE tbl_Name SET ZipCodes = concat('0',ZipCodes) WHERE length(ZipCodes) = 4 How about UPDATE tbl_Name SET ZipCodes = right(concat('0',ZipCodes),

correct syntax

2006-06-08 Thread Mike Blezien
Hello, we need to query one of database tables that sore usernames, and many of them have spaces in them that need to be removed. what would be the correct function to identify each username column value that has a space(s) in them? TIA, Mike(mickalo)Blezien -- MySQL General Mailing List

Re: correct syntax

2006-06-08 Thread Mike Blezien
Gerald, - Original Message - From: Gerald L. Clark [EMAIL PROTECTED] To: Mike Blezien [EMAIL PROTECTED] Cc: MySQL List mysql@lists.mysql.com Sent: Thursday, June 08, 2006 8:40 AM Subject: Re: correct syntax Mike Blezien wrote: Hello, we need to query one of database tables

Baffled by query error syntax

2006-05-17 Thread Mike Blezien
would be much appreciated. Mike(mickalo)Blezien === Thunder Rain Internet Publishing Providing Internet Solution that Work http://www.thunder-rain.com === -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

Re: Baffled by query error syntax

2006-05-17 Thread Mike Blezien
Hi Sheeri, Is your 'u.modified' column a TIME datatype '00:00:00' Mike - Original Message - From: sheeri kritzer [EMAIL PROTECTED] To: Mike Blezien [EMAIL PROTECTED] Cc: MySQL List mysql@lists.mysql.com Sent: Wednesday, May 17, 2006 9:10 AM Subject: Re: Baffled by query error syntax

Baffled by error

2006-05-16 Thread Mike Blezien
= 9 AND SUM(c.agent_product_time) = '500' GROUP BY a.account_id ORDER BY mins ERROR: # - Invalid use of group function Any help appreciated... Mike(mickalo)Blezien === Thunder Rain Internet Publishing Providing Internet Solution that Work http://www.thunder

Re: Baffled by error

2006-05-16 Thread Mike Blezien
Tried that, still same error. If I remove the 'AND SUM(c.agent_product_time) = '500' then it works, but I need this in the query. Mike - Original Message - From: Ing. Edwin Cruz [EMAIL PROTECTED] To: 'Mike Blezien' [EMAIL PROTECTED]; 'MySQL List' mysql@lists.mysql.com Sent: Tuesday

Re: Baffled by error

2006-05-16 Thread Mike Blezien
corrected it and still the same error. Mike - Original Message - From: Chris Sansom [EMAIL PROTECTED] To: Mike Blezien [EMAIL PROTECTED]; MySQL List mysql@lists.mysql.com Sent: Tuesday, May 16, 2006 12:56 PM Subject: Re: Baffled by error At 12:29 -0500 16/5/06, Mike Blezien wrote

Re: Baffled by error

2006-05-16 Thread Mike Blezien
Peter, - Original Message - From: Peter Brawley [EMAIL PROTECTED] To: Mike Blezien [EMAIL PROTECTED] Cc: MySQL List mysql@lists.mysql.com Sent: Tuesday, May 16, 2006 1:07 PM Subject: Re: Baffled by error Mike Blezien wrote: Hello, MySQL 4.1.12 trying to figure out why I keep

Re: Baffled by error

2006-05-16 Thread Mike Blezien
Peter, - Original Message - From: Peter Brawley [EMAIL PROTECTED] To: Mike Blezien [EMAIL PROTECTED] Cc: MySQL List mysql@lists.mysql.com Sent: Tuesday, May 16, 2006 1:25 PM Subject: Re: Baffled by error Mike, How would this query be constructed with the HAVING clause, not real

Re: Baffled by error

2006-05-16 Thread Mike Blezien
Gordon, thank you, works prefectly now. Mike - Original Message - From: Gordon [EMAIL PROTECTED] To: 'Mike Blezien' [EMAIL PROTECTED]; 'MySQL List' mysql@lists.mysql.com Sent: Tuesday, May 16, 2006 3:17 PM Subject: RE: Baffled by error Try this SELECT c.account_id, a.name

Older version MySQL

2006-04-21 Thread Mike Blezien
of server without have to upgrade alot of other stuff ?? Or can we build it from source, and if so, what is the recommend configure options used to build from source ? TIA, Mike(mickalo)Blezien === Thunder Rain Internet Publishing Providing Internet Solution that Work

Re: Older version MySQL

2006-04-21 Thread Mike Blezien
we where hoping to avoid all that, if possible :) it's not much of a product server anymore, just for some small developement. I guess we'll stick with what's installed. Mike - Original Message - From: [EMAIL PROTECTED] To: mysql@lists.mysql.com Sent: Friday, April 21, 2006 5:38 PM

Re: Change datadir in rpm installation

2006-04-18 Thread Mike Blezien
under the mysql.server group add: [mysql.server] # datadir location datadir = /var/lib/mysql then restart MySQL and assuming you've create the necessary folder and related database(s) that will be stored there. Mike(mickalo)Blezien === Thunder Rain Internet

Download older versions

2006-04-13 Thread Mike Blezien
Hello, I'm trying to locate the RPM downloads for MySQL version 4.0.26(4.0.26-pc-linux-gnu-i686), for a RH/7.3 system, but can't seem to find them. Doesn't MySQL site have older version archives where these older RPM's can be downloaded ... if so, where would they be located ?? TIA, Mike

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