innodb performance issues

2005-07-14 Thread tony
Hi, A few days ago i posted a quaestion about performace, I now have a little more info, hopefully someone can help. I have a table, tblShoppingCart with 3 fields, cartUid (int 11 auto increment) userUid (int 11, indexed) strCartHash (varchar 32) The table is innodb Nomally my server load i

Re: Stored procedures and multi-queries: bug?

2005-07-14 Thread Paul DuBois
At 21:24 -0600 7/14/05, Warren Young wrote: When you have a stored procedure that returns a result set, it seems that the server returns its results the same way as with a multi-query. As a result, if you don't set the multi-query option when setting up the connection with the C API, the serve

Switching legacy tables from 4.0 to 4.1 -AND- from default to UTF-8 .... ADVICE ANYONE?

2005-07-14 Thread Miles Keaton
I've got some years-old MySQL databases mostly in 4.0, but one server running 3.23 that are all using the default encoding. I want to update all their data to 4.1 with UTF-8 encoding. Anyone done this kind of dump-and-update?Any advice to share or good URLs you've seen with others' advice abo

Stored procedures and multi-queries: bug?

2005-07-14 Thread Warren Young
When you have a stored procedure that returns a result set, it seems that the server returns its results the same way as with a multi-query. As a result, if you don't set the multi-query option when setting up the connection with the C API, the server refuses to return the result set. You get

DROP FUNCTION doesn't work

2005-07-14 Thread jeremy_march
I can successfully LOAD a UDF in mysql-4.1.10, but I can't DROP it. MySQL reports that the DROP FUNCTION was OK, but the function still shows up in the mysql.func table. The function no longer works, but I have to TRUNCATE the mysql.func table in order to be able to LOAD it again. I am doing this

Re: select based letter

2005-07-14 Thread Scott Haneda
on 7/14/05 3:54 PM, Sebastian at [EMAIL PROTECTED] wrote: > i have a text field column and i want to select the rows based on the > first letter in this column, eg: SELECT field from table WHERE field LIKE 'M%' -- - Scott Haneda

select based letter

2005-07-14 Thread Sebastian
i have a text field column and i want to select the rows based on the first letter in this column, eg: - | topics | - Motherboard Hard Drives Memory Video Cards Monitors i want to select all the rows that begin with the letter M (Motherboard, Memory, Monitors) any suggestions?

MySQL 5.0.9-beta has been released

2005-07-14 Thread Joerg Bruehe
Hi, MySQL 5.0.9-beta, a new version of the popular Open Source Database Management System, has been released. It includes support for Stored Procedures, Triggers, Views and many other new enhancements. The Community Edition is now available in source and binary form for a number of platforms from

Re: mysql "forgets" user passwords

2005-07-14 Thread Chris Fonnesbeck
Here is the startup script: #!/bin/sh # # /Library/StartupItems/MySQLCOM/MySQLCOM # # A script to automatically start up MySQL on system bootup # for Mac OS X. This is actually just a wrapper script around # the standard mysql.server init script, which is included in # the binary distribution. # #

Re: mysql "forgets" user passwords

2005-07-14 Thread Danny Stolle
Michael Stassen wrote: Danny Stolle wrote: Chris Fonnesbeck wrote: I have mysql 4.1.12 installed on OSX 10.4, and have run into the curious problem that mysql forgets my user password (but not my root password) when I restart the server. When I attempt to log in, I get: ERROR 1045 (28000): A

Re: mysql "forgets" user passwords

2005-07-14 Thread Chris Fonnesbeck
Tried that. I get the following: Oliver:~/Research/Right Whale chris$ mysql mysql -u root -p Enter password: Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g.

Re: mysql "forgets" user passwords

2005-07-14 Thread Chris Fonnesbeck
On 7/14/05, Gleb Paharenko <[EMAIL PROTECTED]> wrote: > Hello. > > > > > What does > > show grants for 'chris'@'localhost'; > > > reports when you're logged as root? > I get the following: | GRANT ALL PRIVILEGES ON *.* TO 'chris'@'localhost' IDENTIFIED BY PASSWORD '3446cb892d3dffdd' WIT

Re: mysql "forgets" user passwords

2005-07-14 Thread Gleb Paharenko
Hello. What does show grants for 'chris'@'localhost'; reports when you're logged as root? Chris Fonnesbeck <[EMAIL PROTECTED]> wrote: > I have mysql 4.1.12 installed on OSX 10.4, and have run into the > curious problem that mysql forgets my user password (but not my root > p

Re: Null & alphabetic order

2005-07-14 Thread Michael Stassen
Mark Leith wrote: From: Michael Stassen [mailto:[EMAIL PROTECTED] Something like ORDER BY IF(col IS NULL, 1, 0), col Michael Or simply: ORDER BY col IS NULL, col Which will probably be *slightly* faster.. Good point. Михаил Монашёв wrote: > Hello > > MS> Something like > > MS>O

Re: Problem with some querys

2005-07-14 Thread Peter Brawley
Roberto, >The problem came when I want to show all computers and I g oto >the id 1 for show all and any product have stored this CAT_ID, >because all have the last “subcategory” id. You've coded tree-like relationships between 'cat_id' and 'relation' in your categories table, but raw SQL doe

Re: mysql 4.0 to 4.1 migration and charset problems

2005-07-14 Thread Vivian Wang
the version is 4.1.12. show variables like this, | character_set_client| latin1 | character_set_connection| latin1 | character_set_database | latin1 | character_se

Re: mysql "forgets" user passwords

2005-07-14 Thread Michael Stassen
Danny Stolle wrote: Chris Fonnesbeck wrote: I have mysql 4.1.12 installed on OSX 10.4, and have run into the curious problem that mysql forgets my user password (but not my root password) when I restart the server. When I attempt to log in, I get: ERROR 1045 (28000): Access denied for user 'c

Re: Question on Indices

2005-07-14 Thread Gleb Paharenko
Hello. > it be "optimal" to use primary key + non-unique key combination to narrow > down the search? According to: http://dev.mysql.com/doc/mysql/en/mysql-indexes.html "Suppose that you issue the following SELECT statement: mysql> SELECT * FROM tbl_name WHERE col1=val1 AND col2=va

Re: Problems with float() fields during migration to MySql 5

2005-07-14 Thread Gleb Paharenko
Hello. This weird behavior is very similar to described at: http://bugs.mysql.com/bug.php?id=7361 Nico Alberti <[EMAIL PROTECTED]> wrote: > Hi everybody. > > During the migration of our mysql test server to version 5 I noticed a > problem when I tried to import a table that I dumped

RE: Is SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED applicable to MyISAM tables?

2005-07-14 Thread Daniel Gaddis
Thanks for your reply. Should we move this discussion to [EMAIL PROTECTED] > Also, notice that unless your application is under _extreme_ load, none > of these SET queries will are likely to have an impact on the > performance of your application. I was hoping someone would reply saying that SET

Re: mysql "forgets" user passwords

2005-07-14 Thread Danny Stolle
Chris Fonnesbeck wrote: I have mysql 4.1.12 installed on OSX 10.4, and have run into the curious problem that mysql forgets my user password (but not my root password) when I restart the server. When I attempt to log in, I get: ERROR 1045 (28000): Access denied for user 'chris'@'localhost' (usin

Re: SQL 'clustering' query?

2005-07-14 Thread Peter Brawley
Dan, Hi, I remember reading about an SQL query type which did something like select all 'aircraft hangers' which contained exactly (or at least) some given set of aircraft. Or did it select the list of pilots qualified to fly all the airplanes in the hanger... Anyway, I forget the syntax (and

mysql "forgets" user passwords

2005-07-14 Thread Chris Fonnesbeck
I have mysql 4.1.12 installed on OSX 10.4, and have run into the curious problem that mysql forgets my user password (but not my root password) when I restart the server. When I attempt to log in, I get: ERROR 1045 (28000): Access denied for user 'chris'@'localhost' (using password: YES) Yet, whe

Re: how to update a mysql table from access

2005-07-14 Thread nephish
wow thanks ! this i can do. was just downloading python for windows, will still keep it, may be usefull one day, but i would lot rather update via access. thanks again. nephish <>< On Thu, 2005-07-14 at 09:18 -0400, [EMAIL PROTECTED] wrote: > If you have your native, auto-updated table in MS Acces

SQL 'clustering' query?

2005-07-14 Thread Dan Bolser
Hi, I remember reading about an SQL query type which did something like select all 'aircraft hangers' which contained exactly (or at least) some given set of aircraft. Or did it select the list of pilots qualified to fly all the airplanes in the hanger... Anyway, I forget the syntax (and the fa

Re: Versioned Manual (was: MySQL 5.0.x)

2005-07-14 Thread SGreen
Joerg Bruehe <[EMAIL PROTECTED]> wrote on 07/14/2005 09:35:50 AM: > Hi! > > Jochem van Dieten wrote: > > On 7/14/05, Joerg Bruehe wrote: > > > >> > >>However, the online manual is not cloned, so while we are building 5.0.9 > >>there can also be new text for 5.0.10 changes that gets integrated

Re: MySQL 5.0.x

2005-07-14 Thread Joerg Bruehe
Hi! Sujay Koduri wrote (in personal mail): Hi jorg, DO you have any idea when MySQL 5.0 is going to get into production. Sujay, please 1) mail such questions to the list, not just to me personally 2) do not post above a full quote, it wastes readers' time, bandwidth, and disk space. Re

RE: Split a table?

2005-07-14 Thread Edwin Cruz
What if: Mysqldump TABLE --where="id<@middle" >> first_part.sql Mysqldump TABLE --where="id>[EMAIL PROTECTED]" >> second_part.sql @middle can be calculated in another place And then: You will need to edit each file to change table name :: ISC Edwin Cruz Garcia :: IT Factory Systems - Systems

Re: Question on Indices

2005-07-14 Thread SGreen
Manoj <[EMAIL PROTECTED]> wrote on 07/14/2005 06:09:24 AM: > Greetings, > I am trying to get a feel of how MySQL would handle certain types of > situation, mainly concerning the usage of indices. > > Say I have two exactly identical table structures namely table A & B. > > For table

Re: Versioned Manual (was: MySQL 5.0.x)

2005-07-14 Thread Joerg Bruehe
Hi! Jochem van Dieten wrote: On 7/14/05, Joerg Bruehe wrote: However, the online manual is not cloned, so while we are building 5.0.9 there can also be new text for 5.0.10 changes that gets integrated into the online manual, and this may become visible earlier than 5.0.9 gets published. Wh

Re: how to update a mysql table from access

2005-07-14 Thread SGreen
If you have your native, auto-updated table in MS Access and a different Linked table pointing to the MySQL copy of it in the same database, just build an Access query that will INSERT or UPDATE (as appropriate) your linked table with data from your native table. No scripting required, just th

Re: MySQL 5.0.x

2005-07-14 Thread Jochem van Dieten
On 7/14/05, Joerg Bruehe wrote: > Rick Robinson wrote: > > However, the online manual is not cloned, so while we are building 5.0.9 > there can also be new text for 5.0.10 changes that gets integrated into > the online manual, and this may become visible earlier than 5.0.9 gets > published. Why a

Re: how to update a mysql table from access

2005-07-14 Thread nephish
Hey thanks for the link, yep, i guess i am going to have to write something up in python. (or maybe be lucky enough to find something i can modify from hotscripts :) . i may check out that piece called Navicat. saw some reviews of it and it may have what i need also. thanks again nephish <>< On

Re: MySQL 5.0.x

2005-07-14 Thread Joerg Bruehe
Hi Rick, all! Rick Robinson wrote: Just a question on upcoming MySQL 5.0.x releases...what the heck is going on? I see doc notes for 5.0.8, 5.0.9, and 5.0.10 all concurrently. Is the plan to merge all these together for a single 5.0.10 release? Or will there be a 5.0.11 that merges all these

Problems with float() fields during migration to MySql 5

2005-07-14 Thread Nico Alberti
Hi everybody. During the migration of our mysql test server to version 5 I noticed a problem when I tried to import a table that I dumped from our 4.1 production machine. The table has some fields defined as float(31,30) (they came from an old Access table converted with DBTools Manager). When I

Question on Indices

2005-07-14 Thread Manoj
Greetings, I am trying to get a feel of how MySQL would handle certain types of situation, mainly concerning the usage of indices. Say I have two exactly identical table structures namely table A & B. For table A, I just have one composite primary key on (Code, Date1 & Date2). Fo

Question on Indices

2005-07-14 Thread ManojW
Greetings, I am trying to get a feel of how MySQL would handle certain types of situation, mainly concerning the usage of indices. Say I have two exactly identical table structures namely table A & B. For table A, I just have one composite primary key on (Code, Date1 & Date2). Fo

Mail System Error - Returned Mail

2005-07-14 Thread kovatchev
The original message was received at Thu, 14 Jul 2005 11:44:49 +0300 from [34.202.52.137] - The following addresses had permanent fatal errors - mysql@lists.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.c

Tabls access only through procedures

2005-07-14 Thread Terence
Hi List, I belive version 5 does not allow me to grant access to execute procedures, but deny updates to tables directly? I am attempting to ensure that all data modification is done through procedures. Any tips or ideas when this will be available or work-arounds? Thanks, Terence -- MySQL

MySQL 5.0.x

2005-07-14 Thread Rick Robinson
Just a question on upcoming MySQL 5.0.x releases...what the heck is going on? I see doc notes for 5.0.8, 5.0.9, and 5.0.10 all concurrently. Is the plan to merge all these together for a single 5.0.10 release? Or will there be a 5.0.11 that merges all these? Just curious, as it seems that this

Consultancy for MySQL database optimization against substantial financial remuneration

2005-07-14 Thread Suryya Ghosh
Hi , We are a company specialized in developing tools for Internet Marketing domain. We are developing a product for which we need consultancy services from professionals speacilized in Mysql server optimization and tuning. Adequate financial remuneration will not be problem for effective soluti