Best way to tune substr,min,max query

2012-02-07 Thread Andrey Dmitriev
I have a query that I need to tune. Basically, substr a text, and select first and last entry. The table is currently a few million rows big. Index is on FromHost (text field) and ReceivedAt (index field) Is the best way to optimize my query. 1) create an index on substr() and the two date columns

group by different time period than functions allow

2009-06-11 Thread Andrey Dmitriev
Can someone point a link, or show an example. basically, i have something like select week(mydate), count(mystuff) from table group by week(mydate); however, I need week to start on Wed 9am and end next Wed. What's the easiest way to accomplish that? thanks, andrey -- MySQL General Ma

Recommend a tool for editing data

2009-04-16 Thread Andrey Dmitriev
ne by one... yes, i know there are app drawbacks to my approach, but it's an inventory db. I am open to other suggestions (e.g. I think something like that might be doable via Access too, but it's obviously not web based) Thanks, -Andrey -- MySQL General Mailing List For list archiv

nested function does not work

2008-07-23 Thread Andrey Dmitriev
Is there are a reason why this wouldn't work? select upper( monarch.group_decode(lower(hg.alias)) ) from nagios.nagios_hostgroups hg; ++ | upper( monarch.group_decode(lower(hg.alias)) ) | ++ | database

Replication for reporting

2008-05-21 Thread Andrey Dmitriev
ohts or streams. Thanks, andrey -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

JDBC error: sql: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'gname' at row 0

2008-04-15 Thread Andrey Dmitriev
Have identical versions installed, in one query works fine, in another, pukes with the error in the subject. When I query by hand (via mysql client) works fine. Not even that much data to complain about! mysql> select -> group_concat(concat('',hosts.name,'') order by hosts.name asc separa

group_concat display limit

2008-01-07 Thread Andrey Dmitriev
All, We are using group_concat but there seems to be some sort of display limit. Is there are a way to unset or increase it? Thanks, Andrey

one-liner perfectionist function question

2007-11-07 Thread Andrey Dmitriev
DROP FUNCTION IF EXISTS secs_to_hrs; DELIMITER | create function secs_to_hrs (secs varchar(10)) returns varchar(13) DETERMINISTIC BEGIN return CONCAT_WS(' h ',lpad(secs/60 div 60,3,' ') , CONCAT(lpad(round(secs/60 mod 60),2,' '),' mins') ); END; | DELIMITER ; What if I wanted to not display mi

RE: query question

2007-10-30 Thread Andrey Dmitriev
I knew I’ve seen this error before ☺ Thanks a lot. -andrey From: Peter Brawley [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 1:55 AM To: Andrey Dmitriev Cc: mysql@lists.mysql.com Subject: Re: query question >Thanks.. It doesn't seem

RE: query question

2007-10-29 Thread Andrey Dmitriev
o:[EMAIL PROTECTED] Sent: Monday, October 29, 2007 4:00 PM To: Andrey Dmitriev Cc: mysql@lists.mysql.com Subject: Re: query question Hi, Andrey Dmitriev wrote: > This is kind of achievable in Oracle in either sqlplus mode, or with the > use of analytical functions. Or in the worst case by w

query question

2007-10-29 Thread Andrey Dmitriev
omething like | SSH | mt-ns4, tsn-adm-core, tsn-juno, tsn-tsn2 | Can this be done w/o writing procedural code in mysql? We are running ver5. Thanks, Andrey

View pocedures/backup procedures

2007-07-10 Thread Andrey Dmitriev
RMAN or EXP. Thanks, Andrey -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: How to know configure parameters on compiled MySQL

2007-06-20 Thread Andrey Kumykov
\On Saturday 16 June 2007 02:56:02 Andrey Kumykov wrote: \> Hello,all. \> There is the function "phpinfo" in the PHP interpreter, which allows to\> know configure options. Is there analog ability in Mysql? \The equivalent command for mysql is: mysql> show variable

Re: How to know configure parameters on compiled MySQL

2007-06-20 Thread Andrey Kumykov
\On Saturday 16 June 2007 02:56:02 Andrey Kumykov wrote: \> Hello,all. \> There is the function "phpinfo" in the PHP interpreter, which allows to\> know configure options. Is there analog ability in Mysql? \The equivalent command for mysql is: mysql> show variable

Re: [Q] event for client?

2007-06-20 Thread Andrey Kotrekhov
on 2-d server. Changes go to the 1-st server by replication. And only then replication of this changes is done the cashes of data must be updated That is why I need the condition of changing some tables on 1-st table. Hi Andrey. Andrey Kotrekhov wrote: SQL Hello! Is there any way to inform

How to know configure parameters on compiled MySQL

2007-06-18 Thread Andrey Kumykov
Hello,all. There is the function "phpinfo" in the PHP interpreter, which allows to know configure options. Is there analog ability in Mysql? -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

[Q] event for client?

2007-06-13 Thread Andrey Kotrekhov
second process? Best regards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport тел. +380 562 34-00-44 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com

date function question

2007-06-12 Thread Andrey Dmitriev
Can someone advise the best way to determine a) the # of days since the first of the month from last month (e.g. from 5/1/07) b) the # of days since the end of last month (e.g. from 5/31/07) Is there are a good way to determine the # of workdays in a month. Thanks, Andrey -- MySQL General

RE: how to tell if something hasn't happened yet

2007-04-13 Thread Andrey Dmitriev
It depends on what's in the datetime column. http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html Something like this: select store.storeid, store.stName from store left outer join transaction on(store.storeid = transaction.storeid) where transaction.created IS NULL and store.ac

RE: creating a function in mysql

2007-04-13 Thread Andrey Dmitriev
Thanks, that works.. Next question Does MySql support using it's own functions within this code? E.g. I tried set str = select concat (str,'hello'); set str = concat (str, 'hello'); And it didn't seem to like either. Thanks, -andrey _ From

RE: Mysql Hogging all system resources

2007-04-13 Thread Andrey Dmitriev
Perhaps a better solution is to determine why mysql is 'hogging' resources in the first place. There is a tuning section in MySQL manual. -a -Original Message- From: Chuck Swiger [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 5:46 PM To: Don O'Neil Cc: [EMAIL PROTECTED]; [EMAIL

creating a function in mysql

2007-04-13 Thread Andrey Dmitriev
All, I've been trying to create a function that will generate URLs so that I wouldn't have to wrote ugly SQL all the time. After no success, I've determined that I don't seem to be able to create functions at all. I am relatively new to mysql development (or management), so any advice is apprec

Re: SQL restore deleted records

2007-04-13 Thread Andrey Kotrekhov
st regards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport тел. +380 562 34-00-44 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

SQL restore deleted records

2007-04-13 Thread Andrey Kotrekhov
gards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport тел. +380 562 34-00-44 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Mysql-4.1.8 library name bug

2004-12-24 Thread Andrey Kotrekhov
Добрый день. Yes, this has been reported on this list a couple times already. Really baffling how this one made it out of QA. Thank you for your answer. Are there any plans to release snapshort bugfix? Josh On Thu, 23 Dec 2004 21:43:27 +0200 (EET) Andrey Kotrekhov <[EMAIL PROTECTED]> wrot

Mysql-4.1.8 library name bug

2004-12-23 Thread Andrey Kotrekhov
4.1.8 4.1.7 compiled on the same PC at the same time with .so suffix in library names. Best regards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport тел. +380 562 34-00-44 -- MySQL General Mailing List For list archives:

Re: importing data into mysql from oracle using a text file

2004-09-29 Thread Andrey Hristov
I did the following (before that I have created the table) : mysql> load data local infile "/home/andrey/Desktop/sample2.txt" into table ALARM FIELDS ESCAPED BY '\\'; Query OK, 1 row affected, 1 warning (0.03 sec) Records: 1 Deleted: 0 Sk

Re: importing data into mysql from oracle using a text file

2004-09-29 Thread Andrey Hristov
Can you post one or 2 sample lines from alarm.txt ? Regards, Andrey P.S. (i am not on [EMAIL PROTECTED] so add me to the CC:) [EMAIL PROTECTED] wrote: Hi, I tried with the spool option to get the data from the tables in the oracle. For this go to pl/sql editor, go to file menu, select

Re: FreeBSD and MySQL - mysqld eats CPU alive

2004-08-02 Thread Andrey Kotrekhov
-db \ --without-isam \ --without-innodb \ --enable-thread-safe-client because I need koi8 charset and etc... And I don't have any problem Andrey Kotrekhov <[EMAIL PROTECTED]> wrote: Did you compile mysql from source or you use precompiled binary package? I use mysql with different versions

Re: FreeBSD and MySQL - mysqld eats CPU alive

2004-08-02 Thread Andrey Kotrekhov
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] Best regards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport тел. +380 562 34-00-44 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

[q] 4.1.2 Collation how to...

2004-06-23 Thread Andrey Kotrekhov
hould I set that my programs/clients have character_set_client and etc is set to koi8r ? Is this possible? May be it is bug? Best regards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport тел. +380 562 34-00-44 -- MySQL Gen

Re: collation problem

2004-06-17 Thread Andrey Kotrekhov
then client gives to server string withanother charset as column 'price', but comparing two strings is possible only if they have identical charsets and collations . Thats all Andrey Kotrekhov wrote: Добрый день. Andrey Kotrekhov wrote: SQL Hi, all! I have a problem afte

Re: FreeBSD 5.x

2004-06-10 Thread Andrey Kotrekhov
/ www.mysql.com > > > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > Best regards. ___ Andrey Kotrekhov [EMAIL PR

Re: FreeBSD 5.x

2004-06-07 Thread Andrey Kotrekhov
" ?? > gpg: ÷???: ??! > gpg: ??? ?? ?? ??. http://www.gnupg.org/faq.html > gpg: ??? ??? ???, 6 2004 ?. 16:09:38 EEST ?? DSA ? ID > 663AF798 > gpg: ?? ? ???: ?? ??

collation problem

2004-06-05 Thread Andrey Kotrekhov
t where price rlike '_R'; ERROR 1267 (HY000): Illegal mix of collations (koi8r_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation 'regexp' I can't find this in docs. I try to set LC_COLLATE in environtment variables like setenv LC_COLLATE ru_RU.KOI8-R But there

Re: MySQL and NPTL

2004-05-19 Thread Andrey Kotrekhov
e &" has worked > > for anyone. In order to turn that on, I will need to take our site > > down completely, which is (of course) not desirable. > > > > Thanks! > > > > Steve Meyers > > > > > -- > MySQL General Mailing List > For list archives:

Re[2]: Performance problem with 4.0.18

2004-03-11 Thread Andrey Chernyh
VP> Can you supply us with an example? Some explain plans to corroborate your VP> reported slowness. Of course. Here is the query. It is big and ugly, I'm curently working on system optimization. But why the same query is good at one machine and bad at another? I've made some experiments and can

Re[2]: Performance problem with 4.0.18

2004-03-09 Thread Andrey Chernyh
VP> Can you supply us with an example? Some explain plans to corroborate your VP> reported slowness. Of course. Here is the query. It is big and ugly, I'm curently working on system optimization. But why the same query is good at one machine and bad at another? SELECT ... FROM positionReports p

Performance problem with 4.0.18

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

Re: 4.0.X with 4.1.1

2004-02-25 Thread Andrey Kotrekhov
/ // /\ \/ /_/ / /__ [EMAIL PROTECTED] > > /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net > ><___/ www.mysql.com > > > > > > > > > > > > -- > > MySQL General Mailing List > > For list archives: http://lists.mysql.co

Re: 4.0.X with 4.1.1

2004-02-25 Thread Andrey Kotrekhov
__ ___ __ > / |/ /_ __/ __/ __ \/ /Victoria Reznichenko > / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] > /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net ><___/ www.mysql.com > > > > > > -- > MySQL General Mailing List &

Re: 4.0.X with 4.1.1

2004-02-25 Thread Andrey Kotrekhov
SQL Hi! > Andrey Kotrekhov <[EMAIL PROTECTED]> wrote: > > SQL > > Hi, All! > > Is 4.1.1 replication compatible with 4.0.x? > > > > I have problem to replicate data from 4.0.17 to 4.1.1 > > show slave status show all are OK > > perlicate positi

4.0.X with 4.1.1

2004-02-24 Thread Andrey Kotrekhov
. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport тел. +380 562 34-00-44 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Grant problem, existent grants ended to work (fwd)

2003-12-28 Thread Andrey Kotrekhov
ng mysqld, grants work again. >How-To-Repeat: Fix: I don't know. But restarting server restore grants working. >Submitter-Id: >Originator:Andrey Kotrekhov >Organization: >MySQL support: [none | licence | email support | extended email support ] Synopsis:existent gr

Re: 100,000,000 row limit?

2003-12-24 Thread Andrey Kotrekhov
gt; -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > Best regards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport т

Re[2]: Locking the tables

2003-12-19 Thread Andrey Subbotin
Hello Binay. Friday, December 19, 2003, 2:04:51 PM, you wrote: B> Hi Andrey, B> many thanks for quick response. plz find my further query below. >> AFAIR, you usu. do that with: >> LOCK TABLE mytbl WRITE; >> // do smth. here >> UNLOCK TABLE mytbl; B> ++

Re: Locking the tables

2003-12-18 Thread Andrey Subbotin
/ do smth. here UNLOCK TABLE mytbl; -- See you, Andrey. [ [EMAIL PROTECTED] | ICQ# 114087545 | 2:5090/[EMAIL PROTECTED] ] ...I know on which side my bread is buttered. -- John Heywood -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.

Re: Problem with replication

2003-12-17 Thread Andrey Kotrekhov
p > SET analit.status=price_grp.status, analit.currency=price_grp.currency > WHERE analit.price=price_grp.price AND analit.service=price_grp.service > AND analit.city=price_grp.city AND label=1070931600'. > Default database: '' _ 0_ 2210187 _ &g

Re: MySQL -- Sequences -- Do they exist

2003-12-10 Thread Andrey Subbotin
re'); or INSERT INTO ttt (id, name) VALUES (NULL, 'some name here'); INSERT INTO ttt (id, name) VALUES (NULL 'another name here'); Anyway, you'll get the following two records after that: 1, 'some name here' 2, 'another name here' I hope t

Problem with replication

2003-12-09 Thread Andrey Kotrekhov
SQL Hi all! Nearly very night I have this problem. This query is done every 3 hours. But problem is happened only at 3:00 Both master and slave are 4 CPU (2 with HTT) computers. Both have mysql 4.0.16 And when I test table analit. There are many records which have the same conditions as in WHERE s

Re: inserting white spaces

2003-12-08 Thread Andrey Subbotin
length. Values are not padded; instead, trailing spaces are removed when values are stored. (This space removal differs from the SQL-99 specification.) [taken from 6.2.3.1 The CHAR and VARCHAR Types of MySQL Reference Manual] -- See you, Andrey. [ [EMAIL PROTECTED] | ICQ# 114087545 | 2:50

Re: Repeated 100% CPU problem in FreeBSD

2003-11-28 Thread Andrey Kotrekhov
; For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > Best regards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport тел. +380 562 34-00-44 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: SQL [Q] how to migrate 4.0 -> 4.1

2003-11-20 Thread Andrey Kotrekhov
www.mysql.com > > > > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] > > Best regards. ___ Andrey Kotrekhov [EMAIL

Re: SQL [Q] how to migrate 4.0 -> 4.1

2003-11-11 Thread Andrey Kotrekhov
Добрый день. > Andrey Kotrekhov <[EMAIL PROTECTED]> wrote: > > Hi, All. > > Other question is: > > Can I create case sensitive field with right ordering of national > > characters. > > > > Take a look at collation name: "ci" at the end of th

Re: SQL [Q] how to migrate 4.0 -> 4.1

2003-11-07 Thread Andrey Kotrekhov
use fields as binary. > But I don't want binary on each field. > I need old types on fields. > > How can I resolv this? > > Best regards. > ___ > Andrey Kotrekhov [EMAIL PROTECTED] > ISP Alkar Teleport > тел. +38

SQL [Q] how to migrate 4.0 -> 4.1

2003-11-07 Thread Andrey Kotrekhov
on't want binary on each field. I need old types on fields. How can I resolv this? Best regards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport тел. +380 562 34-00-44 -- MySQL General Mailing List For list

Re: Replication question

2003-09-18 Thread Andrey Kotrekhov
SQL > Andrey Kotrekhov <[EMAIL PROTECTED]> wrote: > > > > Sorry. I am wrong. Situation is worse. > > Both tables aren't replicate to the slave. > > But query try run it on slave :( > > > > slave: mysql-4.0.13 > > master: mysql-4.0.14

Re: Replication question

2003-09-18 Thread Andrey Kotrekhov
r example, master has tables A, B > But slave has only A table > > The problem: > > query: UPDATE A,B SET A.a=B.a WHERE A.c=B.c; > the result: crash replication on slave; > > Is it right? > > > Best regards. > ___ >

Replication question

2003-09-18 Thread Andrey Kotrekhov
? Best regards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport тел. +380 562 34-00-44 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: php version

2003-09-08 Thread Andrey Astashov
ual/en/install.windows.php -- Astashov Andrey, Web developer Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

what does it mean? bug or feature?

2003-07-29 Thread Andrey V. Ignatov
/mysql --user=mysql --pid-file=/var/lib/mysql/sight2.pid --skip-locking --log-slow-queries >>/var/lib/mysql/server.err 2>&1 Number of processes running now: 1 mysqld process hanging, pid 31502 - killed 030730 00:45:52 mysqld restarted -- Best regards, Andrey

Resource temporarily unavailable - What does that mean?

2003-07-16 Thread Andrey Mishenin
While accessing MySQl data base by means of perl the value of variable $! sometimes equals " Resource temporarily unavailable". At the mean time everything works correct. What does that mean? ___ http://chat.bigmir.net/ - ñàìûé óäîáíûé

LIMIT question

2003-07-11 Thread Andrey
deas would be highly appreciated! Thank you, Andrey PS. Please respond to my email address directly, as i am not able to subscribe to the mailing list. - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

Problem using TEMPORARY TABLE

2003-07-03 Thread Andrey Mishenin
I've got a problem using temporary tables. Tring to make one (mysql> CREATE TEMPORARY TABLE ... ) I recieve an error message: ERROR 1044: Access denied for user: '[EMAIL PROTECTED]' to database 'hardware' At the mean time all other sql requests work correctly. How

Problem using TEMPORARY TABLE

2003-07-03 Thread Andrey Mishenin
I've got a problem using temporary tables. Tring to make one (mysql> CREATE TEMPORARY TABLE ... ) I recieve an error message: ERROR 1044: Access denied for user: '[EMAIL PROTECTED]' to database 'hardware' At the mean time all other sql requests work correctly. How

RPM missing files

2003-03-12 Thread Andrey
Hi, I jusr downloaded the latest release of mySQL server in RPM for Linux and when i've installed it i found that some tools such as mysqladmin are mising...Any suggestions? Thank you,Andrey __ Do you Yahoo!? Yahoo! Web Hosting - establish

mysql and BDB tables

2003-02-13 Thread Andrey Lebedev
Hi, I've got a problem: I'm using Berkeley DB tables in my database, but mysql fails to restart after dropping such database. Mysql claims that it can't restore some of database tables on start and fails to do it, because tables' files do not physically exists after database dropping... I can r

Re: Recovery in MySql

2003-01-29 Thread Andrey V. Ignatov
Recovery after crash mechanism in mySql? IO> Thanks, Inbal http://www.mysql.com/doc/en/Disaster_Prevention.html -- Best regards, Andreymailto:[EMAIL PROTECTED] - Before posting, ple

Nothing about logs in startup options but logs created

2003-01-11 Thread Andrey V. Ignatov
From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Nothing about logs in startup options but logs created >Description: It's nothing in /etc/init.d/mysql.server and my.cnf files about logs. But if i start mysqld with '/etc/init.d/mysql.server start' or standala

Re[3]: How disable query log?

2003-01-10 Thread Andrey V. Ignatov
l3.pid Saturday, January 11, 2003, 2:16:29 AM, you wrote: PD> At 23:45 +0300 1/10/03, Andrey V. Ignatov wrote: >>It's *nothing* about query logging in configuration files! PD> Okay, that's strange. Next step: PD> - What's the name of the log file that the server is

Re[2]: How disable query log?

2003-01-10 Thread Andrey V. Ignatov
ut=20 --set-variable=innodb_thread_concurrency=6 Friday, January 10, 2003, 10:25:00 PM, you wrote: PD> At 18:59 +0300 1/10/03, Andrey V. Ignatov wrote: >>Hi, all! >> >>I am compile mysql-4.0.9 for PPC64 with GLIBC64. It's nothing about >>logging in mysql.server sta

How disable query log?

2003-01-10 Thread Andrey V. Ignatov
Hi, all! I am compile mysql-4.0.9 for PPC64 with GLIBC64. It's nothing about logging in mysql.server startup script and in my.cnf, but mysqld create log file and write a lot of queries to it. How i can disable this? My configure options: ./configure --without-berkley-db --with-named-curses-libs=

Re: mysql 2 servers on 1 DB

2002-11-14 Thread Andrey Kotrekhov
äÏÂÒÙÊ ÄÅÎØ. > On Thu, Nov 14, 2002 at 02:44:47PM +0200, Andrey Kotrekhov wrote: > > Hi, All! sql > > > > Can I run 2 mysqld that use the same DB? > > Not replication , 1 DB on my HDD but 2 mysqld work with this DB. > > > > For example I have external RAID a

mysql 2 servers on 1 DB

2002-11-14 Thread Andrey Kotrekhov
regards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport ÔÅÌ. +380 562 34-00-44 - Before posting, please check: http://www.mysql.com/manual.php (the manual

show table status is broken when tables are locked

2002-11-01 Thread Andrey Gubarev
>Description: If a thread grabs a lock on a table, the __unlocked__ tables don't show properly in "show table status". In particular, almost all fields (except for table name) are returned as NULL. >How-To-Repeat: show table status from mysql; lock tables my

Re: Problem with select.

2002-10-23 Thread Andrey Hristov
- Original Message - From: "gerald_clark" <[EMAIL PROTECTED]> To: "Andrey Hristov" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 23, 2002 6:23 PM Subject: Re: Problem with select. > > > Andrey Hristov wrote: >

Problem with select.

2002-10-23 Thread Andrey Hristov
gards Andrey Hristov - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscr

re: re: [Q] Replication & temporary tables (fwd)

2002-10-04 Thread Andrey Kotrekhov
> AK> And after close connection table will destroy. > AK> What is the reason to replicate it? > > Andrey, you can use temporary tables in INSERT ... SELECT statement, in > multi-table deletes etc. Thank you. I understand. Best regards. ___

re: [Q] Replication & temporary tables (fwd)

2002-10-03 Thread Andrey Kotrekhov
äÏÂÒÙÊ ÄÅÎØ. sql > Andrey, > Tuesday, October 01, 2002, 11:53:41 AM, you wrote: > > AK> Why is temporary tables replecated? > AK> Is it true? > > Yes, temporary table are replicated properly since 3.23.29: > http://www.mysql.com/doc/en/Replication_Features.h

[Q] Replication & temporary tables (fwd)

2002-10-01 Thread Andrey Kotrekhov
sql,query Hello, All! Why is temporary tables replecated? Is it true? Best regards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport ÔÅÌ. +380 562 34-00-44

Re: Multiple Referral Levels

2002-09-25 Thread Andrey Hristov
. So: Select * from user_table as tb1 left join user_table as tb2 on (tb2.referer = tb1.id) left join user_table as tb3 on (tb3.referer = tb2.user_id) and so on. AFAIK the you can join up to 32 tables in a join. Andrey - Before

Re: MySQL : Store Procedure

2002-08-30 Thread Andrey Hristov
Hi, No, it does not support stored procedures. Best regards Andrey Hristov - Original Message - From: "Kepa Zalbide" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 30, 2002 10:56 PM Subject: MySQL : Store Procedure > > > Good morni

[Q] about GRANT

2002-07-17 Thread Andrey Kotrekhov
Hello. In mysql tables Db, User, Host I can use templates as host ,for example. But can I use templates in tables_priv as table name? For example I want to set INSERT permission to H_% tables. How can I set it? Best regards. ___ Andrey Kotrekhov

Re: problem with libmysqlclient_r.so

2002-05-16 Thread Andrey Kotrekhov
me in thread programs. > Regards, > Monty > Best regards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport ÔÅÌ. +380 562 34-00-44 - Before posting,

Re: problem with libmysqlclient_r.so

2002-04-26 Thread Andrey Kotrekhov
äÏÂÒÙÊ ÄÅÎØ. > Andrey> Are mysql know about this!!! > > Sorry but if your OS doesn't support gethostbyname_r(), then > mysql_real_connect() is not thread safe (I have just updated our > documentation about this) Thank you. > > Another issue is that if your client

Re: problem with libmysqlclient_r.so

2002-04-25 Thread Andrey Kotrekhov
gt; > $1 = (char **) 0x0 > > (gdb) p state->func > > Cannot access memory at address 0x8. > > (gdb) > > > > > > Best regards. > > ___ > > Andrey Kotrekhov [EMAIL PROTECTED] > > ISP Alkar Teleport > > ÔÅ

Re: problem with libmysqlclient_r.so

2002-04-25 Thread Andrey Kotrekhov
äÏÂÒÙÊ ÄÅÎØ. > Andrey Kotrekhov writes: > > Hi! > > > > %> g++ -v > > Using builtin specs. > > gcc version 2.95.3 20010315 (release) [FreeBSD] > > And libstdc++ is include in compiller > > How can I see version of libstdc++ ? > > In /u

Re: problem with libmysqlclient_r.so

2002-04-24 Thread Andrey Kotrekhov
Hi! > Andrey Kotrekhov writes: > > > > > > my program crash in another plase > > (gdb) bt > > #0 _db_enter_ (_func_=0x280fe4dc "mysql_ping", > > _file_=0x280fdd48 "libmysql.c", _line_=2248, _sfunc_=0xbfa87d3c, > > _sfile_=

Re: problem with libmysqlclient_r.so

2002-04-23 Thread Andrey Kotrekhov
1 and let us know the values for the > following parameters : > > const char *dir, const char *config_file, const char *ext, TYPELIB *group) > Best regards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport ÔÅÌ. +

Re: problem with libmysqlclient_r.so

2002-04-22 Thread Andrey Kotrekhov
äÏÂÒÙÊ ÄÅÎØ. > Andrey Kotrekhov writes: > > Hello, All! > > > > I have program which try to connect to different mysql servers twice at > > the same time. > > When I use libmysqlclient.so sometimes one or two mysql connection freeze > > in mysql_rea

Re: problem with libmysqlclient_r.so

2002-04-22 Thread Andrey Kotrekhov
t; Permanent e-mail address : [EMAIL PROTECTED] > [EMAIL PROTECTED] > - Original Message - > From: Andrey Kotrekhov <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, April 21, 2002 4:55 PM > Subject: problem with

problem with libmysqlclient_r.so

2002-04-21 Thread Andrey Kotrekhov
client_flag $7 = 0 (gdb) OS FreeBSD 4.4-RC mysql version 3.23.42, but I try to use 3.23.49 with the same effect Will anybody help me? Best regards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport ÔÅÌ. +380 562 34-00-44 --

Re: FreeBSD+MySQL

2002-03-25 Thread Andrey Kotrekhov
gt; [mysqld] > set-variable = table_cache=512 > > > -- > Dan Nelson > [EMAIL PROTECTED] > Best regards. ___ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport ÔÅÌ. +380 562 34-00-44

Re: FreeBSD+MySQL

2002-03-22 Thread Andrey Kotrekhov
sql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > Best regards. _

Substract tables. Hard query. Non-trivial problem?

2001-11-02 Thread Andrey
DB for speed up query speed. Many thanks! Andrey. - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail &

Spontaneous restarting of mysqld

2001-10-24 Thread Andrey Zhiblovsky
stuck. Andrey. - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe,

RE: --How to dump only table structure with MySQLDump?

2001-10-03 Thread Andrey Kotrekhov
ysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > Best regards. ___

connect to other PC with TCP/IP

2001-07-16 Thread Andrey Goncharenko
Please, help. How connect to other PC with TCP/IP? (i.e. I have mysql-server on some PC and want connect(and access to Data Bases) with him as mysql-client). - Before posting, please check: http://www.mysql.com/manual.php (

(win 2000 + mysql) = problem

2001-07-13 Thread Andrey Goncharenko
I install mysql (v 3.23.39) on Windows 2000 pro, but server is not run:( Plese, help me... What I must to make? ó Õ×ÁÖÅÎÉÅÍ, áÎÄÒÅÊ. - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://li

Query from two different databases ?

2001-07-04 Thread Andrey F. Mindubaev
Hi, How to create query to get data from tables of two different databases ? Best regards, Andrey [EMAIL PROTECTED] - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com

  1   2   >