Re: copy data from prod to test - when database name is not the same name

2007-02-23 Thread Rolando Edwards
Sent: Friday, February 23, 2007 10:48:27 AM (GMT-0500) Auto-Detected Subject: copy data from prod to test - when database name is not the same name Hello All, We have two mysql environment PROD and TEST. I would like to copy data from PROD to TEST. The PROD database name is Mysql_prod and the TEST d

copy data from prod to test - when database name is not the same name

2007-02-23 Thread Brown, Charles
Hello All, We have two mysql environment PROD and TEST. I would like to copy data from PROD to TEST. The PROD database name is Mysql_prod and the TEST database name is mysql_TEST. Using mysqldump or any applicable utility can someone show me how to migrate my production data from prod to test

Re: How to rename database name

2006-12-08 Thread Dominik Klein
1. 'mysqldump' the current database, drop it and create a new database. Move the dumped data into the new database. This should work with any engine. 2. Stop mysqld. Rename the database folder in the datadirectory. Start the server and grant access permissions This does imho only work for

Re: How to rename database name

2006-12-08 Thread Visolve DB Team
ViSolve DB Team. - Original Message - From: "jagdish gunjal" <[EMAIL PROTECTED]> To: Sent: Friday, December 08, 2006 10:25 AM Subject: How to rename database name Hi all, Does any know command to rename the database name in Mysql db. --

How to rename database name

2006-12-07 Thread jagdish gunjal
Hi all, Does any know command to rename the database name in Mysql db. - Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. G

Re: MYSQLDUMP uses database name in the SQL statements?????!!!!!!!!!!!

2006-06-08 Thread Kishore Jalleda
On 6/8/06, murthy gandikota <[EMAIL PROTECTED]> wrote: I've checked the dump file I created with mysqldump on a database sfg, and it has statements like the following: DROP VIEW IF EXISTS `advAPI`; CREATE ALGORITHM=UNDEFINED VIEW `sfg`.`advAPI` AS select `sfg`.`advertiser`.`advertiserid` AS `ad

MYSQLDUMP uses database name in the SQL statements?????!!!!!!!!!!!

2006-06-08 Thread murthy gandikota
I've checked the dump file I created with mysqldump on a database sfg, and it has statements like the following: DROP VIEW IF EXISTS `advAPI`; CREATE ALGORITHM=UNDEFINED VIEW `sfg`.`advAPI` AS select `sfg`.`advertiser`.`advertiserid` AS `advertiserid`,count(`sfg`.`cust`.`custid`) AS `api` from

Re: Empty database name error

2005-06-07 Thread Gleb Paharenko
Hello. Leave --log-error option for mysqld_safe. As far as I understand it uses it for it's own log file (different from which mysqld uses). Utilities like strace could help you to find which process creates certain file. MySQL supports debugging as well. See: http://dev.mysql.com/doc/mysq

Re: Empty database name error

2005-06-06 Thread mfatene
ns regarding a new install of MySql 4.1.12 on > > > RH 7.2. Being new to this list, I sure do hope this hasn't been covered > > > before. I have scrubbed Google and searched the archives for this list > > > but can't find an explanation or a solution to 2 issues

Re: Empty database name error

2005-06-06 Thread mfatene
Being new to this list, I sure do hope this hasn't been > covered > > > > before. I have scrubbed Google and searched the archives for this list > > > > but can't find an explanation or a solution to 2 issues: > > > > > > >

Re: Empty database name error

2005-06-05 Thread Ed Kasky
gt; > 050605 7:08:51 [Warning] Found an entry in the 'db' table with empty > database name; Skipped > > Is this something that should be fixed and if so, how does one go about it? > > 2. I have set the error log to /var/log/mysql/error.log in the init > script: >

Re: Empty database name error

2005-06-05 Thread Gleb Paharenko
I get the following error when starting the daemon: > > 050605 7:08:51 [Warning] Found an entry in the 'db' table with empty > database name; Skipped > > Is this something that should be fixed and if so, how does one go about it? > > 2. I have set the err

Empty database name error

2005-06-05 Thread Ed Kasky
ssues: 1. I get the following error when starting the daemon: 050605 7:08:51 [Warning] Found an entry in the 'db' table with empty database name; Skipped Is this something that should be fixed and if so, how does one go about it? 2. I have set the error log to /var/log/mysql/e

RE: Mysqlhotcopy and incorrect database name error - We must be dense

2003-09-22 Thread Dathan Vance Pattishall
PM -->To: 'Gilmore, Jason'; [EMAIL PROTECTED] -->Subject: RE: Mysqlhotcopy and incorrect database name error - We must be -->dense --> -->Your not using mysqlhotcopy correctly. --> -->/usr/bin/mysqlhotcopy db_name[./table_regex/] [new_db_name | directory] --> -->

RE: Mysqlhotcopy and incorrect database name error - We must be dense

2003-09-22 Thread Dathan Vance Pattishall
: Gilmore, Jason [mailto:[EMAIL PROTECTED] -->Sent: Monday, September 22, 2003 4:35 AM -->To: [EMAIL PROTECTED] -->Subject: FW: Mysqlhotcopy and incorrect database name error - We must be -->dense --> -->Good morning, --> -->We're still battling with this; haven't hear

Re: Mysqlhotcopy and incorrect database name error - We must be dense

2003-09-22 Thread Egor Egorov
e following: > > %>mysqlhotcopy -u root --suffix=091703 staff /backups If you use --suffix option you should not specify location, because in this case mysqlhotcopy create a new database, f.e. staff091703, in the MySQL data dir. That is why you get "incorrect database name"

FW: Mysqlhotcopy and incorrect database name error - We must be dense

2003-09-22 Thread Gilmore, Jason
6 PM To: [EMAIL PROTECTED] Subject: Mysqlhotcopy and incorrect database name error - We must be dense Hi there, A mysqlhotcopy issue has stumped no less than three of us here today at work, ensuring that the solution is glaringly obvious. We're trying to use mysqlhotcopy to copy a few databases. We

Mysqlhotcopy and incorrect database name error - We must be dense

2003-09-17 Thread Gilmore, Jason
backups/wjgilmore/;host=localhost;mysql_read_default_group=m ysqlhotcopy','root',...) failed: Incorrect database name '/backups/' at ./mysqlhotcopy line 747" In short, what's happening is that mysqlhotcopy thinks that /backups/ is a database that we'd like

Re: Database name

2003-08-18 Thread Joseph Bueno
select database(); Regards, Joseph Bueno Vinay wrote: Is there an SQL command that i can perform which will return me the name of the Database i'm currently conected to. Thanks for your help. Vinay -- http://www.uptoten.com - The fun place to learn on-line UpToTen Kids : 600 educational games an

Database name

2003-08-18 Thread Vinay
Is there an SQL command that i can perform which will return me the name of the Database i'm currently conected to. Thanks for your help. Vinay -- http://www.uptoten.com - The fun place to learn on-line UpToTen Kids : 600 educational games and activities. UpToTen Parents : Practical ideas and ad

Re: How to set Database Name, Username, etc.

2002-11-22 Thread DL Neil
Hi Trask, > Can anyone tell me how to set the following parameters in mySQL 3.23? I'm > new to MySQL and am setting up a BBS. MySQL is installed and running OK. > > Database Server Hostname / DSN: > Database Name: > Database Username: > Database Password: >

How to set Database Name, Username, etc.

2002-11-21 Thread Trask
Hi, Can anyone tell me how to set the following parameters in mySQL 3.23? I'm new to MySQL and am setting up a BBS. MySQL is installed and running OK. Database Server Hostname / DSN: Database Name: Database Username: Database Password: Prefix for tables in dat

Re:Error/crash with InnoDB if table name = database name

2001-06-21 Thread Markus Wichitill
Heikki, > when you try to create the table test with type = innodb, > does the server print into the error log or to the screen: > Innobase: error: table test/test already exists in Innobase data dictionary Yes, indeed. I missed that line between all the stack backtrace output. > If so, then yo

Re:Error/crash with InnoDB if table name = database name

2001-06-20 Thread Heikki Tuuri
Markus, when you try to create the table test with type = innodb, does the server print into the error log or to the screen: Innobase: error: table test/test already exists in Innobase data dictionary If so, then you have probably created the table already in the InnoDB format and deleted the .

Re: Error/crash with InnoDB if table name = database name

2001-06-20 Thread Miguel Angel Solórzano
At 20:41 20/06/2001 +0200, Markus Wichitill wrote: Hi, Thanks for the bug report. I was be able to repeat the issue after I dropped the already existing database test. The problem is InnoDB applies the following error: Innobase: error: table test/test already exists in Innobase data dictionary

Error/crash with InnoDB if table name = database name

2001-06-20 Thread Markus Wichitill
Hi, I'm using MySQL 3.23.39-log compiled from sources on SuSE Linux 6.4. When I create an InnoDB table with the same name as the database, I get the following error message: mysql> create database test; Query OK, 1 row affected (0.01 sec) mysql> create table test (x int) type=innodb; ER