Re: Are you serious? mySQL 5.0 does NOT have a RENAME DATABASE?

2009-12-11 Thread Saravanan
if you have myisam alone tables you can rename the folder of the database. That can work like rename database. If you have innodb table you have to move one by one table because details of those tables will be stored in innodb shared table space. Moving folder cannot work. Thanks, Saravanan

Re: A tool

2008-11-17 Thread Saravanan
really nice tool.   Thanks, Saravanan --- On Mon, 11/17/08, lakshmi pathi <[EMAIL PROTECTED]> wrote: From: lakshmi pathi <[EMAIL PROTECTED]> Subject: A tool To: mysql@lists.mysql.com Date: Monday, November 17, 2008, 1:25 PM Hi all, If you are using mysql in linux with ext3 file syst

Re: kill process id.

2008-06-11 Thread Saravanan
If you kill the process in the middle of huge alter. It will take some time to reverse them back. It will be fast if you have good memory. Thanks, Saravanan --- On Wed, 6/11/08, Ananda Kumar <[EMAIL PROTECTED]> wrote: From: Ananda Kumar <[EMAIL PROTECTED]> Subject: kill process id

Re: Large import into MYISAM - performance problems

2008-06-05 Thread Saravanan
Hi Simon, what kind of table you are using. If it is myisam you can increase the max size of table by changing the following variable myisam_data_pointer_size = 7 as default it should be 6. Please let me know if that helps you. Thanks, Saravanan --- On Thu, 6/5/08, Simon Collins <[EM

Re: integer

2008-05-22 Thread Saravanan
what kind of datatype it is int(50) parent_id| int(50) is that big int? Saravanan --- On Thu, 5/22/08, Norbert Tretkowski <[EMAIL PROTECTED]> wrote: > From: Norbert Tretkowski <[EMAIL PROTECTED]> > Subject: Re: integer > To: mysql@lists.mysql.com > Date: T

enabling sync_binglog

2008-05-19 Thread Saravanan
Hi all, I tried with 5.1.23-rc why it is very slow while enable sync_binlog? It is normal and fast with 5.0. Thanks, Saravanan -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: how to escape new lines using select * into outfile

2008-05-13 Thread Saravanan
thanks velen. But I want to escape the newlines in the fields. It is annoying and new lines moves the values in separate line of excel sheet. Thanks, Saravanan --- On Wed, 5/14/08, Velen <[EMAIL PROTECTED]> wrote: > From: Velen <[EMAIL PROTECTED]> > Subject: Re: how to esca

how to escape new lines using select * into outfile

2008-05-13 Thread Saravanan
line characters? Thanks, Saravanan -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Best CPU config for a busy DB server

2008-05-09 Thread Saravanan
Yes it can use multiple cores. Mysqld is a multithreaded service. Saravanan --- On Sat, 5/10/08, JW <[EMAIL PROTECTED]> wrote: > From: JW <[EMAIL PROTECTED]> > Subject: Best CPU config for a busy DB server > To: mysql@lists.mysql.com > Date: Saturday, May 10, 2008

Re: Anybody can tell me how to reserve the comments in the procedure

2008-04-30 Thread Saravanan
Use alter procedure procedure_name comment 'comments string' Saravanan --- On Wed, 4/30/08, Moon's Father <[EMAIL PROTECTED]> wrote: > From: Moon's Father <[EMAIL PROTECTED]> > Subject: Anybody can tell me how to reserve the comments in the procedure

Re: Anybody can tell me how to reserve the comments in the procedure

2008-04-30 Thread Saravanan
Use alter procedure procedure_name comment 'comments string' Saravanan --- On Wed, 4/30/08, Moon's Father <[EMAIL PROTECTED]> wrote: > From: Moon's Father <[EMAIL PROTECTED]> > Subject: Anybody can tell me how to reserve the comments in the procedure

Re: mysql_install_db

2008-04-28 Thread Saravanan
in that server. Saravanan --- On Tue, 4/29/08, Mark-E <[EMAIL PROTECTED]> wrote: > From: Mark-E <[EMAIL PROTECTED]> > Subject: mysql_install_db > To: mysql@lists.mysql.com > Date: Tuesday, April 29, 2008, 3:22 AM > I have a question on this script. When you run t

Re: User Issue

2008-04-27 Thread Saravanan
Use my.cnf to point the data directory and the user details. [mysqld] user=mysql50 datadir=/home/mysql50 Saravanan --- On Mon, 4/28/08, Mark-E <[EMAIL PROTECTED]> wrote: > From: Mark-E <[EMAIL PROTECTED]> > Subject: User Issue > To: mysql@lists.mysql.com > Date: Mo

Re: procedure locks all statemens

2008-03-28 Thread Saravanan
It doesn't lock single table it locks all other select and update statements of other tables too which I don't use in procedure. Saravanan --- On Sat, 3/29/08, B. Keith Murphy <[EMAIL PROTECTED]> wrote: > From: B. Keith Murphy <[EMAIL PROTECTED]> > Subject: Re: p

procedure locks all statemens

2008-03-28 Thread Saravanan
blocks. i tried start transaction and commint for every single update. but the result is same Saravanan Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http

updating innodb records locks all table

2008-03-25 Thread Saravanan
eds of sql statements in the processlist. Any Ideas why this happens to me? Saravanan Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -- MySQL General Mailing List For list arch

how to search apostrophes in sql

2008-03-25 Thread Saravanan
hi lists, I want to count the number of rows containing "'" aphostrophe in a particular field. I tried with select count(*) from table where field like "%'%" i get only 0 counts. but I am sure that exists in many rows.

innodb transaction not works

2008-03-21 Thread Saravanan
updates the table waits for long time. How can achieve isolation correctly make other statements proceed without waiting. And my script updates record by record not as bunch. should I use transactional statements like "start transaction" and "commit" to achieve ? thanks in

records ordered incorrectly

2008-02-25 Thread Saravanan
| 2008-02-24 | 70 |0 | 2008-02-24 18:10:54 | | 2008-02-24 | 90 |0 | 2008-02-24 18:10:54 | | 2008-02-24 |100 |0 | 2008-02-24 18:10:54 | Saravanan

how to add index

2008-02-15 Thread Saravanan
Hi lists, I have innodb tables with millions of records. How can i add index without locking the table. Saravanan Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -- MySQL

innodb crash

2008-02-13 Thread Saravanan
erating system error number 13 in a file operation. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'open'. InnoDB: Cannot

how to find the statement was successfull in procedure

2008-02-12 Thread Saravanan
Hi List, I am trying to write a procedure. I want to know whether the last statement updated correctly. Then I can add the count. anybody can help me. Saravanan Looking for last minute shopping deals

Re: The Use database command is too slow

2008-02-02 Thread Saravanan
p-auto-rehash Saravanan MySQL DBA --- On Sat, 2/2/08, imad <[EMAIL PROTECTED]> wrote: > From: imad <[EMAIL PROTECTED]> > Subject: The Use database command is too slow > To: mysql@lists.mysql.com > Date: Saturday, February 2, 2008, 6:14 AM > Hello, > > I have l

Re: transfer huge mysql db

2008-01-24 Thread Saravanan
do binary copy. sql dump will be slow. Saravanan --- On Thu, 1/24/08, Ivan Levchenko <[EMAIL PROTECTED]> wrote: > From: Ivan Levchenko <[EMAIL PROTECTED]> > Subject: transfer huge mysql db > To: mysql@lists.mysql.com > Date: Thursday, January 24, 2008, 6:12 PM > Hi

Re: Where can I get mysql.so?

2008-01-19 Thread Saravanan
Hi, Try the following link ftp://ftp.pbone.net/mirror/remi.collet.free.fr/rpms/fc6.x86_64/php-mysql-5.2.5-1.fc6.remi.x86_64.rpm if that doesn't match your need search http://rpm.pbone.net Saravanan --- On Sun, 1/20/08, Apple <[EMAIL PROTECTED]> wrote: > From: App

Re: another slave loading question

2008-01-18 Thread Saravanan
did you check time in master and slave servers? saravanan --- On Sat, 1/19/08, Paul Berry <[EMAIL PROTECTED]> wrote: > From: Paul Berry <[EMAIL PROTECTED]> > Subject: another slave loading question > To: "MySql" > Date: Saturday, January 19, 2008, 7:56 AM

Re: another slave loading question

2008-01-18 Thread Saravanan
Hi, I am new to MySQL. I am not sure how to set timezones. But your slave status and slave processlist doesn't show any problem. It replicated correctly and wait for I/O thread to update the relay log. use '\G' instead of ';' Saravanan --- On Sat, 1/19/08, Pau

Re: turn a slave back into its own master

2008-01-18 Thread Saravanan
i am ok with this mysql> change master to master_host=''; Query OK, 0 rows affected (0.01 sec) mysql> show slave status\G Empty set (0.01 sec) Saravanan --- On Sat, 1/19/08, Paul Berry <[EMAIL PROTECTED]> wrote: > From: Paul Berry <[EMAIL PROTECTED]> > Subje

Re: turn a slave back into its own master

2008-01-18 Thread Saravanan
Hi, will removing the master.info help instead of executing change master? or >stop slave; >reset master; --- On Sat, 1/19/08, Paul Berry <[EMAIL PROTECTED]> wrote: > From: Paul Berry <[EMAIL PROTECTED]> > Subject: Re: turn a slave back into its own master > To: "MySql" > Date: Saturday, Janu

RE: creating temp file, modifying data and putting into other table

2008-01-18 Thread Saravanan
Kerry, Post the error you get. First select the database you are going to use in the right panel. execute the create table statement. update the table. execute the select statement as last. Saravanan --- On Sat, 1/19/08, Kerry Frater <[EMAIL PROTECTED]> wrote: > From: Kerry Frate

Re: basic style shema question

2008-01-18 Thread Saravanan
Hi, Split frequently used columns from other non frequently used. Splitting them will improve the disk access. You don't need to separate as too many tables. You need to index all the tables if you split into many. Saravanan --- On Fri, 1/18/08, Alex K <[EMAIL PROTECTED]> wro

Re: basic style shema question

2008-01-18 Thread Saravanan
Hi, Split frequently used columns from other non frequently used. Splitting them will improve the disk access. You don't need to separate as too many tables. You need to index all the tables if you split into many. Saravanan --- On Fri, 1/18/08, Alex K <[EMAIL PROTECTED]> wro

Re: upgrading mysql on RHEL4

2008-01-18 Thread Saravanan
://dev.mysql.com/doc/refman/5.1/en/installing.html Saravanan --- On Fri, 1/18/08, perl pra <[EMAIL PROTECTED]> wrote: > From: perl pra <[EMAIL PROTECTED]> > Subject: upgrading mysql on RHEL4 > To: mysql@lists.mysql.com > Date: Friday, January 18, 2008, 10:21 PM > Hi Gurus, >

RE: creating temp file, modifying data and putting into other table

2008-01-18 Thread Saravanan
Hi, Are you using mysql browser? If yes. It will run only the current line statement. It will not execute all the three statements. So try one after the other. Saravanan --- On Fri, 1/18/08, Kerry Frater <[EMAIL PROTECTED]> wrote: > From: Kerry Frater <[EMAIL PROTECTED]>

Re: Error

2008-01-15 Thread Saravanan
Hi, Post the error. Saravanan --- On Wed, 1/16/08, Pastor Steve <[EMAIL PROTECTED]> wrote: > From: Pastor Steve <[EMAIL PROTECTED]> > Subject: Error > To: "MySQL List" > Date: Wednesday, January 16, 2008, 3:32 AM > Greetings, > > I am tryin

Re: Help with HOST LOGIN PASS NAME

2008-01-15 Thread Saravanan
Hi, You don't need to change the hostname to reflect the new server if you run php from the same server. Could you post the error you get when you insert new records. Saravanan --- On Wed, 1/16/08, meridklt <[EMAIL PROTECTED]> wrote: > From: meridklt <[EMAIL PROTECTED]>

Re: Prepared SQL statements - Faster performance?

2008-01-14 Thread Saravanan
Hi, Server parses the statement only once and executes them with the small difference. It reduces parsing time. Clients don't need to send the full statement again and again. It reduces traffic. Saravanan --- On Mon, 1/14/08, mos <[EMAIL PROTECTED]> wrote: > From: mos <

Re: Ghost Tables

2008-01-14 Thread Saravanan
. Try to remove them before dropping the database. Saravanan --- On Mon, 1/14/08, OldManRiver <[EMAIL PROTECTED]> wrote: > From: OldManRiver <[EMAIL PROTECTED]> > Subject: Re: Ghost Tables > To: mysql@lists.mysql.com > Date: Monday, January 14, 2008, 11:23 PM > Al

mysqladmin: connect to server at 'localhost' failed

2003-07-23 Thread Saravanan Kulandaivelu
Hi, I am getting the following error: mysqladmin: connect to server at 'localhost' failed > error: 'Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)' if some one knows the answer . Pl. let me know. Thanks, Saravanan K

Need help in Mysql

2003-02-19 Thread saravanan saravanan
Dear sir I am using mysql for my project.I am finding problems of using FOREIGN KEY and STORED procedures in version 4.0.please help me and send the details as earlier as possible by Saravanan __ Do you Yahoo!? Yahoo! Tax Center - forms

Linux Installation (make) problem

2002-08-01 Thread Saravanan C
> To: [EMAIL PROTECTED] > From: Saravanan C <[EMAIL PROTECTED]> > Subject: From Saravanan, REC, INDIA > Date: Thu, 1 Aug 2002 13:05:17 GMT > - > Hi Lists, > > I recently downloaded mysql-3.23.51-pc-linux-gnu-i686 from mysql.com for linux > platform. >

From Saravanan, REC, INDIA

2002-08-01 Thread Saravanan C
makefile found. Stop. [root@neelsl mysql-3.23.51-pc-linux-gnu-i686]# make install make: *** No rule to make target `install'. Stop. What is the problem, I am following the instructions provided in the manual.txt. I am new to this. Regards, Sara