Re: Underline or minus sign ?

2005-05-10 Thread Eric Bergen
Back in the day '_' and '-' meant different things. In recent versions of mysql they are interchangable. Philippe Poelvoorde wrote: Gabriel PREDA wrote: I'm going to start the InnoDB engine... and I want to know if the syntax for the CNF file unified at last ? Can I use: innodb-file-per-tab

Re: SELECT Row Numbers?

2005-05-10 Thread Eric Bergen
Here, off the top of my head are situations in mysql where you can trust that the data is ordered in some fasion. 1. Using an order by clause on a query. 2. Using a group by the data will come out in ascending order of the column that was grouped on. 3. alter table order by has been performed and

Re: missing file ( msyql.sock)

2005-05-10 Thread Eric Bergen
Keep in mind that this "file" will only exist when mysqld is running. Gleb Paharenko wrote: Hello. You may create my.cnf from the examples which're shipped with MySQL distribution. MySQL will create the socket file if it doesn't exists. It's location could be specified in configuration file or in c

Re: missing library

2005-05-10 Thread Eric Bergen
you need to install your distro's ncurses and ncurses-devel packages. -Eric ganesan malairaja wrote: ok i found the source file .. tarball mysql-4.1.11.tar.gz after executing the ./configure command i does some checking the it gives this error checking for termcap functions library ... configure :

Re: Binlog corruption

2005-05-09 Thread Eric Bergen
Try upgrading to the newest 4.0 release of mysql. 4.0 up until about .19 or .20 had odd replication problems. Scott M. Grim wrote: I recently installed SUSE 9.1 64bit with MySQL 4.0.18 on a new server and have been getting the following errors: 050509 10:53:14 Error reading packet from server:

Re: amPiguous!

2005-05-06 Thread Eric Bergen
He's right in saying that mysql is capable of knowing. My thoughts are that it's not worth the speed loss, extra code, and potential guess work by mysql just so you don't have to type a table name. Eric Jensen wrote: The way he is joining tables is fine. You can specify how to link the using ON

Re: select's with various levels

2005-05-04 Thread Eric Bergen
It's possible starting with mysql 4.1 -Eric [EMAIL PROTECTED] wrote: Dear all at mysql list I'dd like to know if it is possible (and the right sintax) to execute a nested (2 or more levels) select... something like this. select * from products where productId IN ( select idNumber from othe

Re: mysql<->mysqld connection

2005-05-03 Thread Eric Bergen
If you really really want it it's in the internals doc from the mysqldoc bk tree. -Eric Reggie Burnett wrote: Just to echo the thoughts from Jeremiah, we have several freely available open source connectors that work *VERY HARD* tracking the protocol so it's hard to understand a situation where y

Re: Determining if a table exists

2005-05-02 Thread Eric Bergen
riginal Message ----- From: "Eric Bergen" <[EMAIL PROTECTED]> To: "Jim McAtee" <[EMAIL PROTECTED]> Cc: Sent: Monday, May 02, 2005 11:31 AM Subject: Re: Determining if a table exists I don't remember what commands are available in 3.21 but try these show tables like &

Re: Determining if a table exists

2005-05-02 Thread Eric Bergen
I don't remember what commands are available in 3.21 but try these show tables like 'table_name'; then check mysql_num_rows on the result. describe table; check mysql_num_rows show tables; then pick out the table name; 3.21 is old as alabama (forrest gump) it's time for an upgrade :) Jim McAtee wro

Re: mysql import or write my own Perl parser

2005-04-19 Thread Eric Bergen
oad data and when should > I write my own Perl parser to help load the table? > > What criteria would be needed to decide to read a file into a hash? > > > > Also, if I decide to use mysqlimport is there anything I should watch out > for? >

Re: 4==4something: equal vs identical

2005-04-18 Thread Eric Bergen
number > and a numeric comparison is done. '4aef' converts to 4. > > I suppose you could convert the integer to string instead: > > WHERE CONCAT(`id`) = "4aef" > > -- > Paul DuBois, MySQL Documentation Team > Madison, Wisconsin, USA > MySQL

Re: Warning (reformulated)

2005-04-18 Thread Eric Bergen
; GAT/O/CM d- s:+ a- C UL P+ L+++ E--- W+++ N++ o+ K w--- O+++ M- V > PS+ PE++ Y+ PGP+++ t+ 5-- X R !tv b DI+++ D++ G e-- h+ r--- y+ > -- ---END GEEK CODE BLOCK-- > > Check out these few php utilities that I released > under the GPL2 and that are meant for use with a > php cli binary: > > http://www.vlaamse-kern.com/sas/ > -- > > -- > > > -- Eric Bergen [EMAIL PROTECTED] http://www.ebergen.net -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: optimal number of connections?

2005-04-18 Thread Eric Bergen
hot topic, I'm wondering if we're missing out > somehow. > > Thanks > > Jeff > -- Eric Bergen [EMAIL PROTECTED] http://www.ebergen.net -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: mysql import or write my own Perl parser

2005-04-18 Thread Eric Bergen
into a hash? > > Also, if I decide to use mysqlimport is there anything I should watch out for? > > thanks! > > > ----- > Post your free ad now! Yahoo! Canada Personals > > -- Eric Bergen [EMAIL PROTECTED] http://www.ebergen.ne

Re: Mysqladmin bug

2005-04-18 Thread Eric Bergen
and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept by > MIMEsweeper for the presence of comp

Re: Help restoring

2005-04-18 Thread Eric Bergen
50418 > > I'm getting > ERROR at line 84: > > Line 84 is all garbled text... > > Working with 3.23.58 ... Any thoughts? > > -- > Patrick Campbell > OurVacationStore.com > Website Administrator > Tel. 602.896.4729 > > -- Eric Bergen [EMA

Re: Wait for data to change

2005-03-21 Thread Eric Bergen
communicate a > change in data than a "passive detect" like you are doing? How much > control do you have over what can and cannot change your data > (specifically the field you keep polling)? What other application-based > options are open to you? > > Shawn Green > Database Administrator > Unimin Corporation - Spruce Pine > > -- Eric Bergen [EMAIL PROTECTED] http://www.ebergen.net -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Adding fields to db table (primary key and other type)

2005-03-16 Thread Eric Bergen
r fields at the moment. How can I add more fields? I want to > add a primary key column which autoincrements, how can I do that? Thanks a > lot > -- Eric Bergen [EMAIL PROTECTED] http://www.ebergen.net -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

Re: Replication only DB

2005-03-11 Thread Eric Bergen
; > > > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.7.2 - Release Date: 3/11/2005 > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > T

Re: php - mysql connection

2005-03-08 Thread Eric Bergen
ost", "test", "test"))){ > echo mysql_error() . "\n"; > exit(); > } > > It will give you a more descriptive error if there is one > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql >

Re: database pooling problem

2005-03-07 Thread Eric Bergen
dozens, > > you know...), HOW you initialize your pool (again many methods > > available), HOW you take and return connections from your pool > > (ditto), and which languages are in use in this entire process > > (again dozens of options). Just telling us that you use a web

Re: Sum() unequal number of rows

2005-03-07 Thread Eric Bergen
ble structures (SHOW CREATE TABLE xxx\G) and your > sample data (SELECT * FROM xxx;), then show us what you think your queries > SHOULD have given you (your expected results) and we can start to help. > The xxx in the sample commands was just a placeholder for the actual table > name

Re: Join Limits

2005-03-07 Thread Eric Bergen
-mail. > Please note that e-mail may be susceptible to data corruption, interception > and unauthorised amendment. Alchemetrics does not accept any liability for > any such corruption, interception, amendment or the consequences thereof. > **

Re: Exporting Data via Command Line

2005-03-04 Thread Eric Bergen
> > > > > > Thanks > > > > Try reading up on these commands: > > (from a command shell prompt) mysqldump > http://dev.mysql.com/doc/mysql/en/mysqldump.html > > (from within a MySQL client) SELECT ... INTO OUTFILE > http://dev.mysql.com/doc/mysql/en/select.h

Re: Speed of Inserts into MyIsam tables from mysqlbinlog

2005-03-04 Thread Eric Bergen
MyIsam table as the bin_logs are played back on > the system? This is also used to help gauge performance, so this method > of inserting data is important to the process as a whole. > > Regards, > > Thomas. > > -- Eric Bergen [EMAIL PROTECTED] http://www.ebergen.net

Re: Difficulty starting mysql

2005-02-23 Thread Eric Bergen
ld > > ./usr/libexec/mysqld > > ./usr/local/libexec/mysqld > > ./home/webcollab/mysql-4.1.10/sql/mysqld > > > > What do I need to do to make it start properly? Thanks in advance! > > > > Kelly S. Brace > > Information Technology Exchange Center > &

Re: Configuring two mysql servers on one linux server

2005-02-20 Thread Eric Bergen
List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] http://www.ebergen.net -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: queries slower on InnoDB

2005-02-14 Thread Eric Bergen
14 Feb 2005 15:52:21 -0600, Eric Bergen <[EMAIL PROTECTED]> wrote: > > Total row count is cached in the header for MyISAM tables. InnoDB has > > no such mechanism for this because transactions make it impossible to > > keep an exact row count. In order for InnoDB to get

Re: Empty 'Relay_Master_Log_File'?

2005-02-14 Thread Eric Bergen
4 Feb 2005 15:55:49 -0800 (PST), Atle Veka <[EMAIL PROTECTED]> wrote: > > On Mon, 14 Feb 2005, Eric Bergen wrote: > > > Did you copy the relay-log.info and relay logs from the seed slave? > > > > Relay_Master_Log_file is line 3 in the relay-log.info file. This file

Re: Empty 'Relay_Master_Log_File'?

2005-02-14 Thread Eric Bergen
ve got a copy of the > replicated DB + master.info from an existing slave. > > Thanks, > > Atle > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric

Re: queries slower on InnoDB

2005-02-14 Thread Eric Bergen
t; For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Two versions of MySQL on same machine

2005-02-11 Thread Eric Bergen
details above and > > > > then > > > >>delete this e-mail. > >>Please note that e-mail may be susceptible to data corruption, > >>interception > >>and unauthorised amendment. Alchemetrics does not accept any > > > > liability > > > >>for > >>any such corruption, interception, amendment or the conseq

Re: "show table status" extremely slow

2005-02-10 Thread Eric Bergen
advance. > > Regards, > Zhe > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] http://www.bleated.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Setup question on mysql under Linux

2005-01-19 Thread Eric Bergen
gt; For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] http://www.bleated.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: ? MySql Server on Suse Linux & XP Workstations?

2005-01-17 Thread Eric Bergen
Installing.html > > Thanks, > > Teddy > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] http://www.bleated.com -- MySQL

Re: Rollback and INSERT_ID() or LAST_INSERT_ID()

2005-01-17 Thread Eric Bergen
to avoid to use the function MAX() to get the > last ID inserted. > > Thanks for any help. > > Andre > > -- > Andre Matos > [EMAIL PROTECTED] > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:

Re: Can Mysql hold possible field values?

2005-01-17 Thread Eric Bergen
; > I feel that creating the application this way would ensure that no invalid > data can be entered into the table. > > Thanks for your help > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lis

Re: Upgrade correpted InnoDB tables

2005-01-13 Thread Eric Bergen
from happening when upgrading the > other servers? > > Thanks in advance, >Mattias J > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Berg

Re: export from older version

2004-12-30 Thread Eric Bergen
; > - dstefani > | > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] http://www.bleated.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: BIG InnoDB problems!

2004-12-30 Thread Eric Bergen
log sequence number 0 241346554 > InnoDB: !!! innodb_force_recovery is set to 5 !!! > 041230 16:46:01 [Warning] mysql.user table is not updated to new > password format; Disabling new password usage until > mysql_fix_privilege_tables is run > 041230 16:46:01 [Warning] Can'

Re: Copying users?

2004-12-29 Thread Eric Bergen
in computer? > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] http://www.bleated.com -- MySQL General Mailing List For list archives: htt

Re: Replication update bug/error/problem.

2004-12-07 Thread Eric Bergen
,1,1,1,1,1,1,1,1,1,1,now(),now()); > > On the slave get the data with "load data from master". > Both slave and master shows : > +++ > | content_id | overall_rating | > +++ > |243 | 1.00 | > +

Re: Upgrading from 3.23.58 to 4.1

2004-12-07 Thread Eric Bergen
t; > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] http://www.bleated.com -- MySQL General Mailing List For list archives: http://list

Re: Excel 2 mysql

2004-12-07 Thread Eric Bergen
like navicat but i dont see where you actually start the > app , if that is what happens. Any help is highly appreciated. > > cheers > > -Z > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.m

Re: Query Cache

2004-12-07 Thread Eric Bergen
> > Do you know if this is available thru the C API .. Could a User Defined > Function be written to return this? > > Any more ideas would be great.. > > Thanks > > Skex > > > -Original Message- > From: Eric Bergen [mailto:[EMAIL PROTECTED] &g

Re: Query Cache

2004-12-07 Thread Eric Bergen
Array["status"]["cached"]=1; > Array["status"]["count"]=1; > Array["data"][0][field1]=1; > Array["data"][0][field2]=2; > Etc... > > Any ideas would be greatly appreciated... > > Skex > > -- > MySQL Genera

Re: Newbie, MySQL test fails, spent hours, please help

2004-12-06 Thread Eric Bergen
; the only one I entered was the one when MySQLadmin.exe installed... is > that the username and password that should be used? > > Thanks very much. > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] http://www.bleated.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: More efficient way?

2004-12-04 Thread Eric Bergen
ck > followed by either an insert or an update? The MySQL version is 3.2x > using MyISAM tables. > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Ber

Re: Help me optimize this query

2004-12-03 Thread Eric Bergen
out such optimizations for update query. > > TIA, > - Manish > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] bleated.com --

Re: a query to insert values into two different tables using mySQL Server

2004-12-03 Thread Eric Bergen
chives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] bleated.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Table Names Begin with '#'

2004-12-03 Thread Eric Bergen
mambo (open source CMS) table names begin with a "#" > character. How does one describe a table that begins with "#"? > > > > -DK > > > > Daniel Kemper > > Lead Programmer > > Intellisys, Inc. > > > &g

Re: COMPRESS() vs myisampack

2004-12-03 Thread Eric Bergen
L General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] bleated.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: quote and null

2004-11-10 Thread Eric Bergen
hing like: > --- > QUOTE(str) > ... If the argument is NULL, the return value is NULL. ... > --- > > Does this seem correct? Have I missed or overlooked something? > > Cheers. > Toro > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Innodb log file

2004-10-28 Thread Eric Bergen
gt; 041028 0:10:49 Aborting > > thanks in advance > > Alejandro > > -- Eric Bergen [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: counting rows

2004-10-19 Thread Eric Bergen
> > Thanks, > Marco > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lis

Re: Table Lock Delays and Connection Pooling

2004-10-18 Thread Eric Bergen
with another query from a different client. Not to mention the over head of scheduling on the client side. If you have enough lock contention for table locks to be a problem you should switch to the InnoDB storage engine. -- Eric Bergen [EMAIL PROTECTED] On Mon, 18 Oct 2004 16:58:04 -0700,

Re: date time functions don't return not null rows

2004-10-16 Thread Eric Bergen
1 | NULL | NULL | NULL | NULL | 10 | > | 1098560298 | 2355 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | 11 | > +----+--+--+--+--+--+--+--+--++ > > did i something wrong? > -- Eric Bergen [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Adding DSN into Coldfusion Admin?

2004-10-14 Thread Eric Bergen
is > actually running? > > Thanks very much!! > > Steve > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] -- MySQL Ge

Re: How to flush process which are in sleep state

2004-10-13 Thread Eric Bergen
t killing them > > Thanks in advace > ANil > DBA > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] -- MySQL General Mailin

Re: Replication and LOAD DATA LOCAL INFILE

2004-10-13 Thread Eric Bergen
ineer > Senvid, Inc. > 2445 Faber Place, Suite #200 > Palo Alto, CA 94303 > phone: 650-354-3612 > fax: 650-354-8890 > email: [EMAIL PROTECTED] > http://www.senvid.com > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To un

Re: Login error

2004-10-13 Thread Eric Bergen
rd for root ? > Q2. How do I know if root IS the admin for MySql ? > Q3. How can I add a Database ? > Q4. How can I add a New User to a New Database ? > > Thanks in Advance, > > -Kamal. > > -- > MySQL General Mailing List > For list archives: http://lists.mys

Re: mysql dynamic librairie client

2004-10-13 Thread Eric Bergen
t; Thanks you, Romain > > Sorry for my bad english :( > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] -- MySQL General Maili

Re: Data store over NFS with multiple READERS

2004-10-12 Thread Eric Bergen
r if the above post meant > the db had to be totally read only, or just read only from all the other > machines except the writer > > Thanks > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.my

Re: splitting a large table - does it improve performance?

2004-10-12 Thread Eric Bergen
gt; much.) Also smaller tables will occupy less disk space so if the drive is > defragged, there is less work for the hard drive to find the data. You can > experiment with smaller tables and use Merge tables when appropriate. > > Mike > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Does anyone has the experience on migrating mysql server from 32bit sysem to a 64bit system?

2004-10-04 Thread Eric Bergen
u Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > -- Eric Bergen [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Images

2004-09-28 Thread Eric Bergen
non issue. -- Eric Bergen [EMAIL PROTECTED] On Tue, 28 Sep 2004 09:19:47 -0700, Ed Lazor <[EMAIL PROTECTED]> wrote: > What do you mean "chunked"? > > I figured it would be easier to track about 32,000 images in MySQL than in > files, so I setup a test to see what t

Re: Problems with phpMyAdmin, GD library, and jpegs

2004-09-27 Thread Eric Bergen
If you are storing a complete image in MySQL you don't need gd at all. Just output the correct header and the image file. GD is for creating images on the fly. Also if you can store the image in a file on disk and the path to the image in MySQL. -- Eric Bergen [EMAIL PROTECTED] On Mo

Re: Images

2004-09-27 Thread Eric Bergen
It is possible but not very logical. MySQL isn't a filesystem. Unless you have an extreme situation you should store the path in MySQL and the image itself in a file. -- Eric Bergen [EMAIL PROTECTED] On Mon, 27 Sep 2004 18:20:02 -0400, GH <[EMAIL PROTECTED]> wrote: > I was wonder

Re: server timezone and system timezon

2004-09-27 Thread Eric Bergen
Have the location selecting adjust the timezone when it selects. Example select t + interval 6 hour from t -- Eric Bergen [EMAIL PROTECTED] On Mon, 27 Sep 2004 12:24:36 -0600, Elim Qiu <[EMAIL PROTECTED]> wrote: > Hi, I'm looking for help on timezone issues. > > I

Re: help!!!!!!!!!!

2004-09-22 Thread Eric Bergen
another document that will help you get help online easier. http://www.catb.org/~esr/faqs/smart-questions.html -- Eric Bergen [EMAIL PROTECTED] On Sun, 19 Sep 2004 07:50:14 +0200, Sven <[EMAIL PROTECTED]> wrote: > > > Warning: mysql_query() [http://www.mysql.com/doc]: Your query

Re: Upgrading MySQL. Caveats or Cautions anyone?

2004-09-17 Thread Eric Bergen
d pointers to docs would be appreciated. > > Thanks much > tim > -- > Tim Johnson <[EMAIL PROTECTED]> > http://www.alaska-internet-solutions.com > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lis

Re: FW: Backup / Restore

2004-09-06 Thread Eric Bergen
p/restore methodology assuming we still do lock tables and use the > binary log. This approach does take some additional admin effort if we add > or drop tables. > > -- Eric Bergen [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Fwd: please explain why this query isn't optimized

2004-09-03 Thread Eric Bergen
AX(changed) | > ++ > | 20040826202123 | > ++ > 1 row in set (0.00 sec) > > Getting the same answer, from a simpler query, in infinitely > less time, just seems wrong to me. > > > > > -- > MySQL General Mailing List > For list archives:

Re: multi inserts and duplicate key handling

2004-09-03 Thread Eric Bergen
gt; > INSERT IGNORE INTO ... > > -- > Paul DuBois, MySQL Documentation Team > Madison, Wisconsin, USA > MySQL AB, www.mysql.com > > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.

Re: please explain why this query isn't optimized

2004-09-03 Thread Eric Bergen
00 | > > | > > | sync_date| datetime | YES | | -00-00 00:00:00 | > > | > > +------+---+--+-+-+--- > > + > > 10 rows in set (0.03 sec) > > > > > > -- > > MySQL General Mailing List > > For list archives: http://lists.mysql.com/mysql > > To unsubscribe: > > http://lists.mysql.com/[EMAIL PROTECTED] > > > > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: grant tables update backward compatibility

2004-09-03 Thread Eric Bergen
e:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: temporary tables and replication

2004-09-01 Thread Eric Bergen
I believe some versions of 4.0 have problem with auto dropping temporary tables in replication. The easy fix is to drop temporary tables when you are finished with them instead of relying on mysql to do it for you. -- Eric Bergen [EMAIL PROTECTED] On Wed, 1 Sep 2004 08:16:43 -0600, Alfredo

Re: Mysql and errno 13 on RedHat

2004-08-31 Thread Eric Bergen
t; > Yannick > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Query Cache

2004-08-07 Thread Eric Bergen
; > Regards > Terry Riley > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > -- Eric Bergen [EMAIL PROTECTED] -- MySQL General Mailing List For list archives:

Re: stress test

2004-07-17 Thread Eric Bergen
super-smack: http://jeremy.zawodny.com/mysql/super-smack/ Or for stress testing the box itself checkout bonnie++ or http://people.redhat.com/dledford/memtest.html which isn't a memtest script but more of a general i/o cpu test. -Eric On Sat, 17 Jul 2004 00:07:12 -0700, Brad Waddell <[EMAIL PRO

Re: mysqld ended error (but no /var/lib/mysql/mysql.sock file exists!)

2004-07-15 Thread Eric Bergen
mysqld is trying to tell you that it doesn't have permission to create /var/lib/mysql/mysql.sock to accept incoming connections. You either need to have mysql create the sock file in another place (such as /tmp/) or give it write permission to /var/lib/mysql/ -Eric On Thu, 15 Jul 2004 17:05:13 -

Re: another left join question - multiple "left join" statements

2004-07-05 Thread Eric Bergen
You only need to specify from tabel on the first table. Like this. select cattbl.name as cat, dogtbl.name as dog, birdtbl.name as bird from dogtbl left join cattbl on cattbl.id=dogtbl.catid left join birdtbl on birdtbl.dogid=dogtbl.id; -Eric On Mon, 5 Jul 2004 09:28:02 -0700, bruce <[EMAIL PRO

Re: date and time functions.

2004-07-04 Thread Eric Bergen
Date modification functions are listed in the manual here: http://dev.mysql.com/doc/mysql/en/Date_and_time_functions.html If you are just trying to add a year to a column try something like this. update table set col = col + interval 1 year; -Eric On Sun, 4 Jul 2004 18:22:04 +1000, Hari Yell

Re: threading problems in linux C client

2004-06-30 Thread Eric Bergen
If you have multiple threads accessing the same connection remember to make sure that only one thread enters mysql_query() mysql_connect() or mysql_store_result() after you store the result another thread will be able to use that connection without problems. -Eric On Wed, 30 Jun 2004 11:01:35 +00

Re: FULLTEXT

2004-06-30 Thread Eric Bergen
alter table t add fulltext (col) -Eric On Wed, 30 Jun 2004 22:28:03 +0200, Schalk <[EMAIL PROTECTED]> wrote: > > I am using the following command on MySQL 4.0.18 > > ALTER TABLE tablename MODIFY columnname FULLTEXT; > > I keep getting an error regarding FULLTEXT. Where am I going wrong? > > K

Re: Memory to Memory INSERTS

2004-06-29 Thread Eric Bergen
http://dev.mysql.com/doc/mysql/en/Insert_speed.html -Eric On Tue, 29 Jun 2004 09:43:04 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I am proposing this as a hypothetical situation and I would like the full > feedback of the group: > > Could Alejandro re-use the sections of the MyS

Re: Server tuning

2004-06-29 Thread Eric Bergen
If it starts swapping you have key_buffer set to high. -Eric On Tue, 29 Jun 2004 15:41:20 -0500, Victor Pendleton <[EMAIL PROTECTED]> wrote: > > max_memory is roughly equivalent to ==> key_buffer_size + (read_buffer_size > + sort_buffer_size) * max_connections > > > -Original Message-

Re: reading past "bogus data in log event" error in binary log in 4.0.18 ?

2004-06-28 Thread Eric Bergen
I had this same problem. This isn't fool proof or recomended but what i ended up doing was calling mysqlbinlog over and over again incrementing --position (or --offset i can't remember) until it picked up a good record again and kept going. Chances are you will lose queries but it does work. -ERic

Re: MySQL Storage Engines and Table Types.....

2004-06-28 Thread Eric Bergen
Show table status\G Will give you a list of tables the Type: field for each table is the storage engine. Your installation probably defaults to MyISAM -Eric On Mon, 28 Jun 2004 11:51:40 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > You can see a list of the available storage types

Re: mysql client connectivity and "orphaned" connections

2004-06-28 Thread Eric Bergen
When a connection is dropped most read only queries will be immediatly dropped, write queries such as your optimize table will continue until they complete as not to corrupt any table data or leave anything unfinished. -Eric On Mon, 28 Jun 2004 17:29:22 -0400, Jim <[EMAIL PROTECTED]> wrote: > >

Re: Query problem

2004-06-27 Thread Eric Bergen
Post the table structure, what that query it returning and what you think it should return. -Eric On Sun, 27 Jun 2004 23:33:55 +0200, Schalk <[EMAIL PROTECTED]> wrote: > > Why is the following query retuning doctype's different to what is asked > for? > SELECT * FROM documents WHERE jstate = 'Ca

Re: insert into text field

2004-06-27 Thread Eric Bergen
desc is a reserved word. http://dev.mysql.com/doc/mysql/en/Reserved_words.html In most cases to use desc as a column you will have to escape it with backticks like this `desc`. -Eric On Sat, 26 Jun 2004 16:19:37 +0530, Nitin <[EMAIL PROTECTED]> wrote: > > Hi all, > > There's a problem. When

Re: File locking & mysql 4

2004-06-24 Thread Eric Bergen
MySQL itself doesn't require file locking. Infact there is an option to turn it off. --skip-external-locking that disables using the flock() system call. Just watch out that you don't accidently start two mysqlds on the same datadir. -Eric On 24 Jun 2004 13:42:33 -0700, Shelly Zhang <[EMAIL PROT

Re: table across multiple files

2004-06-24 Thread Eric Bergen
Another option depending on your needs would be the MERGE table type. -Eric On Thu, 24 Jun 2004 22:21:58 +0100, Andrew Pattison <[EMAIL PROTECTED]> wrote: > > The standard MySQL distribution comes with InnoDB support. You can also > split tables into up to 255 blocks using MyISAMs RAID support.

Re: Mysql oracle migration

2004-06-24 Thread Eric Bergen
But unix timestamp doesn't support milliseconds either. You could store the timestamp in one column and the milliseconds in an extra smallint column. Then combine the two on output. -Eric On Thu, 24 Jun 2004 12:25:19 +0200, Gianpaolo Fasoli <[EMAIL PROTECTED]> wrote: > > Hi, > > We are looking

Re: Fetching 12 columns or 1 TEXT field?

2004-06-24 Thread Eric Bergen
If you are reading from a myisam variable length row table the table handler actually reads the entire row from disk regardless of the columns you choose. I would say store them in separate columns so you can use those in other parts of your queries (where statement ect) Also you don't incur the ov

Re: mysql control center documentation

2004-06-22 Thread Eric Bergen
mysql.com (php.net and freshmeat.net) sites all have a search features where a if a requested file is not found it performs a search for it as a key word. Example finding the mysql control center manual is as easy as requesting http://www.mysql.com/mysql control center or depending on your brows

Re: replication

2002-04-09 Thread Eric Bergen
un your database on some flavor of linux or if your really partial to it, a flavor of bsd. If the *nixes are out of the question at least upgrade to windows 2000 server or something based off of NT. I have also had corruption issues running under very high load on IDE drives, if you can afford it go

<    1   2