Re: how would mysqld restart affect dynamically set global variables?

2007-03-14 Thread William R. Mussatto
time mysql is restarted (for example on a reboot). --- William R. Mussatto, Senior Systems Engineer http://www.csz.com Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL

Re: ENCODE() and DECODE()

2007-03-12 Thread William R. Mussatto
On Mon, March 12, 2007 8:04, Neil Tompkins said: I've been researching the best method to store credit card numbers in a database which are saved encrypted. My version of mysql is 3.23 therefore I think the only function I could use is ENCODE() and DECODE(). I've tried these functions and

Re: Best Practice: Timezones and web development

2007-03-06 Thread William R. Mussatto
On Tue, March 6, 2007 9:40, Marcus Bointon said: On 6 Mar 2007, at 17:12, David T. Ashley wrote: Best practice is that all times maintained in a database (or anywhere on the server) are UTC, and are only converted to local timezone and/or adjusted to daylight savings time as required to

Re: MySQL Daylight Savings Time Patch - easy check

2007-02-28 Thread William R. Mussatto
On Wed, February 28, 2007 14:10, Ryan Stille said: I am on 4.1.20-1. Maybe your OS isn't patched? Try this: SELECT @@global.time_zone; Won't help if you are on debian which is still on 4.0. If you get back SYSTEM, then MySQL is looking to the OS for timezone data. And its only loaded when

[Fwd: RE: [PART 2/2] InnoDB - Different EXPLAINs for same query]

2007-01-18 Thread William R. Mussatto
Please post to the list not to me personnally. Original Message Subject: RE: [PART 2/2] InnoDB - Different EXPLAINs for same query From: John Anderson [EMAIL PROTECTED] Date:Thu, January 18, 2007 10:24 To: William R. Mussatto

Re: [PART 2/2] InnoDB - Different EXPLAINs for same query

2007-01-17 Thread William R. Mussatto
innodb_flush_method=O_DIRECT innodb_open_files=8192 innodb_sync_spin_loops=32 innodb_thread_sleep_delay=1000 innodb_autoextend_increment=1024M innodb_file_per_table=TRUE [client] socket=/tmp/mysql.sock John Anderson --- William R. Mussatto, Senior Systems Engineer http

Re: OT: LAMP appliance for non-profit use

2006-12-07 Thread William R. Mussatto
Have you looked at ubuntu distribution of linux. I think they have a 'school' variant which might be close to what you need. Also, the people there might be able to give you more help. Good luck. On Thu, December 7, 2006 9:39, Saqib Ali said: Hello All, I know this is little bit off-topic

test email

2006-11-16 Thread William R. Mussatto
Sorry, but I haven't gotten any emails from the list and I'm trying to determine if there is a blockages. Sorry to disturb the list. --- William R. Mussatto, Senior Systems Engineer http://www.csz.com Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list

Re: Alter Table Add Column - How Long to update

2006-10-20 Thread William R. Mussatto
the time might be realistic. It depends on the hardware you are using and what else is going on on the system. Hope this helps. --- William R. Mussatto, Senior Systems Engineer http://www.csz.com Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http

Re: Simple JOIN on three tables

2006-10-18 Thread William R. Mussatto
related to each other? Do you want all the information from each of the tables (which are NOT related to each other) between the specified dates? If that is the case you are looking at a UNION rather than a strait JOIN. --- William R. Mussatto, Senior Systems Engineer http://www.csz.com Ph

Re: Simple JOIN on three tables

2006-10-18 Thread William R. Mussatto
for the UNION of the separate information from table a, where it meets its WHERE conditions, and the information from table b where it meets its WHERE conditions. The fact that both where conditions are the same doesn't matter. Hope this helps. --- William R. Mussatto, Senior Systems Engineer http

Re: Simple JOIN on three tables

2006-10-18 Thread William R. Mussatto
otherwise you are looking at a table scan which is always slow. --- William R. Mussatto, Senior Systems Engineer http://www.csz.com Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http

RE: RE: How to rewrite query

2006-10-17 Thread William R. Mussatto
Would it not be best to have the field with the fewest repeats (i.e., the closest to unique) first, or is that what you meant. Bill On Tue, October 17, 2006 10:12, Jerry Schwartz said: I didn't think of that (combinations). You are probably right. Due to my background, I tend not to think a lot

Re: Windows Server Configuration

2006-08-25 Thread William R. Mussatto
Just noticed that you said partitions. I am assuming that you meat multiple drives in a raid array. Bill David Lazo said: Thanx again. For the time being, we will keep 4 drives with Dan's suggestion. OS and MySQL running from there. On 8/25/06 11:03 AM, Dan Buettner [EMAIL PROTECTED]

Re: file i/o operations...

2006-08-25 Thread William R. Mussatto
A couple of comments: - Simultaneous connections can be increased, but at some point the user than runs the mysqld process will run out of file handles it can allocate (each table takes 2 or 3). - If we are talking about a database server and test server being the same box then what are you trying

Re: 1 to many relationships

2006-08-16 Thread William R. Mussatto
customers can have the same issue (row) then you will need an intermediate table which has two columns: customerID and issueID. --- William R. Mussatto, Senior Systems Engineer http://www.csz.com Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives

RE: LIMIT Question

2006-06-29 Thread William R. Mussatto
. These last 50 might be the most recent entries, for example. Can this be done in single query? Dirk Bremer - Senior Systems Engineer - ESS/AMS - NISC Lake St. Louis MO - USA Central Time Zone 636-755-2652 fax 636-755-2503 [EMAIL PROTECTED] www.nisc.coop -- --- William R

Re: Connection Pooling

2006-05-08 Thread William R. Mussatto
romyd misc said: Hi Everyone, I'm developing an application using C# .NET and mysql as database. It's a multithreaded application, we open a mysql database connection at the very beginning when the application is started and all the database requests use the same connection. But under

Re: New User Setting up MYSQL

2006-04-13 Thread William R. Mussatto
error number 2003 stating I can't connect to MYSQL server. Is there something that someone can suggest? Thanks, Chuck --- William R. Mussatto, Senior Systems Engineer http://www.csz.com Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives

Re: table keys

2006-03-28 Thread William R. Mussatto
need to specify that the index is UNIQUE (see changes above) --- William R. Mussatto, Senior Systems Engineer http://www.csz.com Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http

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

2005-09-29 Thread William R. Mussatto
this. --- William R. Mussatto, Senior Systems Engineer http://www.csz.com Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Difference between Blob and varchar binary

2005-08-02 Thread William R. Mussatto
I was storing some 8 bit information in a varchar binary field (encrypted stuff) and I think its getting corrupted. I thought they were (except for size) interchangable? I'm running debian GNU Linux and haven't moved to sarge so I'm still on 3.23.x but will be moving shortly. --- William R

Re: Difference between Blob and varchar binary

2005-08-02 Thread William R. Mussatto
Gleb Paharenko said: Hello. In my opinion, one of the causes of the problem can be the processing of trailing spaces in varbinary fields. See: http://dev.mysql.com/doc/mysql/en/binary-varbinary.html Thanks, you may be right since the results are too short. William R. Mussatto [EMAIL

Re: Sharing a Database Between Websites

2005-03-23 Thread William R. Mussatto
David Blomstrom said: I discovered by accident that I can link any website on my reseller account to one database. That would be far more convenient than working with six separate databases, and it would also cut down on file size overall, since there are certain tables that I share between

Re: database pooling problem

2005-03-07 Thread William R. Mussatto
Eric Bergen said: Apache 1.3 with php (not sure about tomcat) is a pre forked daemon. Any connection pooling numbers will be per child. Try setting your connection numbers per child (for most php apps this is 1) and let us know what happens. I'm guessing it will create as many connections as

RE: insert data

2005-02-28 Thread William R. Mussatto
joe -- William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: moving DB from one box to another.

2004-12-16 Thread William R. Mussatto
. Edit the dump file and see. - ian Or it could be that a table name is now a reserved word. DIV in my case -- William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

Re: Mysql client that does export and import

2004-12-14 Thread William R. Mussatto
(if any) will have to be adjusted so that traffic on the correct port is allowed from only that IP. Just a thought. -- William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

Re: Ok now connector/J doesn't work.

2004-11-22 Thread William R. Mussatto
William R. Mussatto said: Mark Matthews said: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William R. Mussatto wrote: Keith Ivey said: William R. Mussatto wrote: I've been googling for 1/2 hr w/o any answers. sorry if I've missed the obvious. Problem. Fresh install of mysql 4.7.1

Re: [PHP-DB] Upgrading mySQL

2004-11-22 Thread William R. Mussatto
Warning!! Make sure the php module will handle the new password scheme in 4.1. DBD::mysql from AS will not. There are work arounds. I'm having to fall back to 4.0 because I can't get .jsp to work with 4.1 database (no connection). GH said: What I have been asking for... is that the upgrade

Re: Ok now connector/J doesn't work.

2004-11-22 Thread William R. Mussatto
Hassan Schroeder said: William R. Mussatto wrote: Tried it and now I get connection timed out after three tries. I'm running the testbed using the tomcat buried in netbeans. Frankly, the whole concept of running a server from within an IDE sounds so sketchy to me -- but I'm definitely

Re: Ok now connector/J doesn't work.

2004-11-22 Thread William R. Mussatto
Mark Matthews said: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William R. Mussatto wrote: Tried it and now I get connection timed out after three tries. I'm running the testbed using the tomcat buried in netbeans. Cut and pasted the example from the on line docs. Put the jar

Ok now connector/J doesn't work.

2004-11-21 Thread William R. Mussatto
Mark Matthews said: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William R. Mussatto wrote: Keith Ivey said: William R. Mussatto wrote: I've been googling for 1/2 hr w/o any answers. sorry if I've missed the obvious. Problem. Fresh install of mysql 4.7.1, AS perl 5.8 DBI and DBD-Mysql

Re: What changed in 4.1.7 to break DBD::Mysql

2004-11-16 Thread William R. Mussatto
Michael Stassen said: Rudy Lippan wrote: On Mon, 15 Nov 2004, Patrick Galbraith wrote: William, I'm not sure about this, because it involves windows/active state, and those ppm packages used for active state perl are pre-compiled to run. I'll talk to the current maintainer about this

Re: Mysql-4.1.7 and client library - Client does not support authentication protocol requested by server; consider upgrading MySQL client

2004-11-16 Thread William R. Mussatto
') function Look at http://dev.mysql.com/doc/mysql/en/Password_hashing.html for the details as well as work arounds. When they update DBD::mysql this should go away. -- William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list

What changed in 4.1.7 to break DBD::Mysql

2004-11-15 Thread William R. Mussatto
at stdconfig.ph line 2 Any thoughts on how far I need to fall back to get around this? -- William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL

Re: What changed in 4.1.7 to break DBD::Mysql

2004-11-15 Thread William R. Mussatto
Keith Ivey said: William R. Mussatto wrote: I've been googling for 1/2 hr w/o any answers. sorry if I've missed the obvious. Problem. Fresh install of mysql 4.7.1, AS perl 5.8 DBI and DBD-Mysql via ppm. Client does not support authnticaiton protocol What version of MySQL were you using

Re: What changed in 4.1.7 to break DBD::Mysql

2004-11-15 Thread William R. Mussatto
Mark Matthews said: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William R. Mussatto wrote: Keith Ivey said: William R. Mussatto wrote: I've been googling for 1/2 hr w/o any answers. sorry if I've missed the obvious. Problem. Fresh install of mysql 4.7.1, AS perl 5.8 DBI and DBD-Mysql

Re: What changed in 4.1.7 to break DBD::Mysql

2004-11-15 Thread William R. Mussatto
can think to do (assuming you can't ask which version is supported) is to try the long and then the short version of the passwords, or to allow the default behavior of the DBI- connect function to be altered by a parameter. On Nov 15, 2004, at 5:14 PM, William R. Mussatto wrote: Mark Matthews said

Re: MySQL 4.0 and concat

2004-10-11 Thread William R. Mussatto
www.acyc.com - www.clshonduras.com - SolCom -- William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: bad quot;too many connectionsquot; error (os x)

2004-09-01 Thread William R. Mussatto
the answer the query each time, on a busy server you may end up with quite a few connecitons. Just a thougth. -- William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

Re: ANNC: MySQL Administrator 1.0.11

2004-08-26 Thread William R. Mussatto
Alfredo Kengi Kojima said: MySQL Administrator 1.0.11 has been released. MySQL Administrator is a GUI management console for MySQL, with support for tasks such as managing users, configuring MySQL, performing backups, editing table definitions etc. More information at:

Re: Problem with Mysql 4.0.18 + Debian

2004-08-03 Thread William R. Mussatto
a php mail system and I've had to increase the number of connections because of its connection pooling. -- William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

Re: InnoDB TableSpace Question

2004-08-03 Thread William R. Mussatto
, it won't be of any use in shrinking it). A number of products allow the extants to be added onto automatically when the initial assignment is exceeded. I thought one of the newer versions of MySQL did that as well but I don't know if its in a stable release yet. -- William R. Mussatto, Senior Systems

RE: Problem with Mysql 4.0.18 + Debian

2004-08-02 Thread William R. Mussatto
know that the site is getting virtually no traffic, so the problem is not that it is being overloaded. I have tried this scenario at least a dozen times, and the same thing always happens. Ryan Are you running mod_perl? -- William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext

Re: Problem with Mysql 4.0.18 + Apache

2004-07-21 Thread William R. Mussatto
by any chance? You might check to make sure that you are calling 'disconnect' at the end of each call. With mod_perl connections may stay open. I see a similar problem with php. Also, mod_perl will cause the children to be larger. -- William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext

RE: Where are BLOBs / TEXTs stored?

2004-06-17 Thread William R. Mussatto
the database after large numbers of deletes/updates/inserts because the space in the file will not become fragmented. -- William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

Re: DBI and last_insert_id()

2004-06-15 Thread William R. Mussatto
an auto_increment column. What's going on? Dan ($pk) = $dbh-selectrow_array('SELECT LAST_INSERT_ID()'); BTW this also works in java. -- William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

Re: load data into 2 tables and set id

2004-06-09 Thread William R. Mussatto
url_id. insert the user record using the url_id you now have. repeat until you run out of records. Not elegent but it will get the job done. Note look into documentation on how to get the new url_id after you do an insert. Its in the DBD::mysql for perl. -- William R. Mussatto, Senior Systems

Re: load data into 2 tables and set id

2004-06-09 Thread William R. Mussatto
J S said: Hi, I need some help please! I have 60GB of proxy logs to parse and load into a mysql database. I've written a parsing script but I'm stuck now on how to load the data in. I have a database called PROXY_LOG with 2 tables: USER_TABLE user_id date_time url_id

Re: Unable to Programatically Create DB Connection

2004-05-25 Thread William R. Mussatto
here this.conn = DriverManager.getConnection(this.DBUrl,this.dbuser,this.dbpasswd); where DBUrl is a string like jdbc:mysql://localhost:3306/+this.dbname; and dbuser and dbpasswd are the strings containing the username and password. -- William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154

Re: MySQL and NPTL

2004-05-18 Thread William R. Mussatto
vs 2.6.x from kernel for base? -- William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Backups with version 4.1

2004-05-17 Thread William R. Mussatto
' and use the following script: echo -n 'Dumping at ' date cd ../mysql for d in `find -type d -maxdepth 1 -mindepth 1 | sed 's/^\.\///'` do mysqldump -u root --password={your mysql root password here} --add-drop-table -l $d ../mysqlback/$d.dmp done Obviously for a linux setup. -- William R

Re: MySQL Website

2004-04-26 Thread William R. Mussatto
Robert A. Rosenberg said: This is a re-submission of a 4/21 reply that was bounded by the list. At 09:14 -0400 on 04/21/2004, Lou Olsten wrote about Re: MySQL Website: I have not been able to access the mysql.com server for about a day and a half now from my office. From home, it's fine.

Re: files stored in fields

2004-04-21 Thread William R. Mussatto
system in the database. Last time I checked fixed length database records process much faster. What computer language are you using to do the work. That would help in answering the rest of the question. -- William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061

Re: DateDiff function in SqlServer ... How do it in MySql ?

2004-03-09 Thread William R. Mussatto
/Date_and_time_functions.html Michael For finergrain accuracy: (UNIX_TIMESTAMP(TIStop)-UNIX_TIMESTAMP(TIStart))/60 This gets difference in minutes. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http

RE: InnoDB, mysqldump/mysql timeout dropping table (disaster recovery)

2004-02-27 Thread William R. Mussatto
How about if you dumped to a compressor and stored the result? Steve Williams said: Hi, The problem with doing a myqldump to a file (via cron) is that at some point it will hit the filesize limitiations. By streaming it over the network, that problem is avoided on both ends of the pipe.

Re: order by: more that one field

2004-02-13 Thread William R. Mussatto
_ Choose now from 4 levels of MSN Hotmail Extra Storage - no more account overload! http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/ yes. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives

Re: mysqld hangs with no CPU activity...

2004-01-30 Thread William R. Mussatto
chip on motherboard. Moral: if you can't trust the hardware, all bets are off. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL

Re: ISP and users

2004-01-19 Thread William R. Mussatto
, but giving direct create and destroy rights to our customers is a bit of a security hole IMHO. And yes the web page is on a secured server. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http

Re: What does this Mean

2004-01-12 Thread William R. Mussatto
Chris L. White said: C:\MySQL\binmysql show ERROR 1045 (28000): Access denied for user: 'ODBC'@'localhost' (Using password: YES) C:\MySQL\binmysql show -u root ERROR 1045 (28000): Access denied for user: 'root'@'localhost' (Using password: YES) Your musql setup requires a password

RE: What Does This Mean

2004-01-12 Thread William R. Mussatto
with ; or \g. Your MySQL connection id is 4 to server version: 5.0.0-alpha-max-debug-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql Chris L. White Network Administrator Coe-Truman Technologies, Inc. Email: [EMAIL PROTECTED] William R. Mussatto, Senior Systems

Re: select lock - How reliable?

2004-01-09 Thread William R. Mussatto
. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Sleeping Processes

2004-01-06 Thread William R. Mussatto
. Win 98 source code? Eight monkeys, five minutes. -- NullGrey I have one php application with php and mysql where php is imbedded in the apache children and when connection pooling is on, there is a connection for each apache child process. William R. Mussatto, Senior Systems Engineer Ph. 909-920

Re: OT: MySQL amp; NAT

2003-11-18 Thread William R. Mussatto
of the NAT firewall. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: max_user_connections problem after upgrading

2003-11-12 Thread William R. Mussatto
are they not being closed? Is the user running show processlist allowed to see all processes (e.g. 'root')? William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

Re: aes encryption bug

2003-11-07 Thread William R. Mussatto
? http://www.mysql.com/certification/ So a char(16) binary would work fine as well? William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com

RE: Multiuser Programming

2003-10-29 Thread William R. Mussatto
thought this list wanted bottom posting? Sorry if I've got it backwards. How does connection pooling figure into this? I would assume a drop table command would be needed since from MySQL's point of view, the connection never gets dropped. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154

Re: What are the effects of key_buffer on a dedicated slave [also]

2003-09-30 Thread William R. Mussatto
, processed 590,020,855 queries (404/sec. avg) Have you tried mytop with debian and 3.23.49 -- version in Debian stable? we keep getting core dumps. Does it have to be run as root? Sorry if OT William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General

Re: InnoDB / Linux

2003-09-29 Thread William R. Mussatto
Marvin Wright said: Hi, I'm in the process of setting up a new database server that will run on redhat linux. The machine will be dual processor with 4GB ram and about 16GB disk. The machine is going to be used purely with InnoDB tables and will have a few very large tables acting as cache

Re: last_insert_id()

2003-09-24 Thread William R. Mussatto
. If the second table also has a auto-increment column you will have to get its value after that insert. Hope this helps. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

Re: How much user LOAD can Mysql bear???

2003-09-03 Thread William R. Mussatto
if you told us what hardware you are planning to use or what kinds of questions or environment it will support. Then the list can get more specific. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http

Re: Too many hours - brain not working.....

2003-08-28 Thread William R. Mussatto
. -- NullGrey Welcome to 'Group By' Table: Date (y-m-d),amount (decimal),dealercode select sum(amount),dealercode from table where date 'date1' and date 'date2' group by dealercode William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List

Re: Atomicity of a SELECT/UPDATE

2003-07-28 Thread William R. Mussatto
transactions; however, InnoDB does. Please see docs for details. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: [Q] about AUTO_INCREMENT...

2003-07-25 Thread William R. Mussatto
deleting the contents of the table and any related tables. (Its for a conversion program and I delete everything if the conversion fails). William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http

Re: Java API to mySQL

2003-07-17 Thread William R. Mussatto
Hello I want to know if there is java API to mySQL like its available for C and C++. Bye Kalika SMS using the Yahoo! Messenger;Download latest version. Look for Connector/J on the MySql site. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061

Re: How can I display images from a mySQL Database in a web page?

2003-07-15 Thread William R. Mussatto
. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: !!! NEWBIW !!! how to start? !!! NEWBIE !!!

2003-07-14 Thread William R. Mussatto
it with mysqladmin William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: SELECT TOP

2003-07-14 Thread William R. Mussatto
ON h.serverid = s.serverid WHERE h.employeeid = 9 ORDER BY h.historyid DESC Works fine once I remove the TOP 20 from the query. If this isn't supported, is there an equivalent? Thanks, Jim remove TOP 20 from front, add 'limit 20' to back. William R. Mussatto, Senior Systems Engineer Ph. 909

Re: Mysql - Dual Xeon or Dual Opteron

2003-07-10 Thread William R. Mussatto
/ noXtension You mean they have solved the problem of having to used matched CPU's. Used to be that you had to throw out the old CPU's and get all new. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http

Re: date and time

2003-07-08 Thread William R. Mussatto
use the datetime field type since you will simplify sorting and conditionals. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL

Re: Newbie SELECT problem

2003-07-02 Thread William R. Mussatto
and Time values. c. something else entirely. Also, are you running this in a procedureal language (e.g., perl, java)? This will give us other options. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http

Re: Newbie SELECT problem

2003-07-02 Thread William R. Mussatto
solution to this I noticed that you have a separate date and time field. Is there a reason for this. It would be easier to get single row for each sessionID if they were one field. Otherwise I think you will have to go with the method Peter proposed above. William R. Mussatto, Senior Systems

Re: Newbie SELECT problem

2003-07-02 Thread William R. Mussatto
tea.. ok how about this: select sessionID,max(concat(idate,' ',itime)) from test group by sessionID Note I thought date and time were reserved so I substituted.. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list

Upgrade from mm to Connector/J under tomcat

2003-06-18 Thread William R. Mussatto
? Anyone done this? William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

RE: RAID hardware suggestions/experience

2003-06-17 Thread William R. Mussatto
I'm wrong). So, unless you have a spare in the back you will end up replacing 3 drives (assuming Raid 5). That may be why the WD model has such low capacity compared with the normal IDE drives. Just my 2 cents worth. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909

Re: Java/JDBC - Connection refused on Linux

2003-06-17 Thread William R. Mussatto
= DriverManager.getConnection(this.DBUrl,this.dbuser,this.dbpasswd); } catch (Exception e) { e.printStackTrace(); } Hope this helps.. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives

Re: Which version do I install?

2003-06-12 Thread William R. Mussatto
. -- This is a x86 (32 bit) chip. It may or may not have 'hyperthreading' where it can act as two processors. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http

Re: MySQL Connector/J

2003-06-10 Thread William R. Mussatto
Somehow you are still using the older org.gjt.mm.mysql drivers not connector/J. When I asked many moons ago I was told that they could not both be used at the same time by Tomcat even in separate contexts, but YMMV. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608

Re: Why does auto increment not take into account deleted rows?

2003-06-03 Thread William R. Mussatto
there not that a new one had been substituted. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Join problem

2003-05-31 Thread William R. Mussatto
users.username='sator') Susan Ator Online Services Engineer National Public Radio Distribution Division [EMAIL PROTECTED] Short answer is mysql does not do sub-selects (i.e., a select inside of a select). The join part is not this issue. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154

Re: Join problem

2003-05-31 Thread William R. Mussatto
- Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com I sit corrected, 4.1x but its alpha from the manual: Subqueries are supported in MySQL version 4.1. I run a production IPP so we run debian with is very far BACK from the bleeding edge. William R. Mussatto, Senior Systems

RE: Join problem

2003-05-31 Thread William R. Mussatto
this in the past. For speed recommend user_id's in all tables be indexed. Obviously replace 'WHATEVER' with the userID value. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

Migrating to Connector/J

2003-05-30 Thread William R. Mussatto
We run Tomcat4. Currently we are using the older mm- drivers. Is there anyway to move to connector /J one context at a time rather than all at once? William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list archives: http

RE: Storing Images in MySQL

2003-03-28 Thread William R. Mussatto
and the image on the disk? Only case where this would be a problem would be if the numbers of images were so large that the file look up mechanism of the file system began to be a factor. In cases like that I use a tree of subdirectories tied to something like ISBM number. William R. Mussatto, Senior

RE: Slow Inserts

2003-03-27 Thread William R. Mussatto
, or blob type field then MySQL silently converts all character fields longer than one character to varchar. This may be why you see it sometimes converting the fields. William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061 -- MySQL General Mailing List For list

Re: Foreign keys and being FIRST index

2003-03-06 Thread William R. Mussatto
see why they have to be FIRST! Ugh. Major performance hit would be a guess. Otherwise the database would have to do a table scan. Think about how it would find the related record. I think is a requirement of db2 as well William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX

Re: Temporary Tables

2003-03-04 Thread William R. Mussatto
each can create a TEMPORARY table with the same name. Only the table created by a given client is visible to that client. I use MySQL 4.0.7 on Red Hat. Thanks, Mamatha William R. Mussatto, Senior Systems Engineer Ph. 909-920-9154 ext. 27 FAX. 909-608-7061

RE: MySQL or PostgreSQL

2003-02-28 Thread William R. Mussatto
Since you're posting on a MySQL list, you could probably expect some biased responses. Could you post more about what you need to use a database for, i.e., what are your needs, wants, what kind of data are you handling, connection rates, serving platform, code base, etc. Here are a few URLs

Re: count rows

2003-02-28 Thread William R. Mussatto
mysql_num_rows() In perl:$numRows = $sth-rows; Note the following warning from the DBI man page: Generally, you can only rely on a row count after a non-SELECT execute (for some specific operations like UPDATE and DELETE), or after fetching all the rows of a SELECT statement. Bye! William R

  1   2   >