Re: Mysql error causing database to not accept threads
Note that some of the memory settings are per connection, if you have 63 connections, you may have up to 63 copies of the buffers, and you have pretty huge buffers even with 30GB of memory. Join buffers close to 1 G, tmp_table_size of 2 G, 63 connections could mean upto 63 copies of these, and if each connection uses the full buffers, thats close to 200GB! You should adjust these to cater to the maximum number of connections expected. Did you try to check how much free memory you have when the problem occurs? Am 29.06.2010 10:17, schrieb Machiel Richards: ERROR 1135 (0): Can't create a new thread -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
Re: 2 servers 1 common data base
hello, you can not simultaneously fix two deamons to a data directory. a mysql daemon always has exclusive access to the data directory. Am 10.06.2010 07:09, schrieb camelia botez: and use the same data bas -- SP data GmbH T 06131 218111 F 06131 218112 E schackenb...@termindoc.de W www.termindoc.de Unser Impressum finden Sie unter http://www.termindoc.de/Impressum.htm Alle Willenserklärungen der SP data GmbH bedürfen zu ihrer Wirksamkeit der Schriftform versehen mit zwei Originalunterschriften. Kommunikation über E-mail Bei der Kommunikation über E-mail ist nicht in jedem Fall auszuschliessen, dass Dritte unbefugt Kenntnis von den versandten Informationen nehmen. Soweit Sie per E-mail mit uns Kontakt aufnehmen, nehmen wir an, dass Ihnen diese Risiken bekannt und Sie dennoch damit einverstanden sind, dass wir Ihnen per E-mail antworten. Anderenfalls bitten wir Sie, uns einen anderen Kommunikationsweg zu benennen. Für viele der Dateien, die Sie von uns erhalten, benötigen Sie zum Betrachten den Acrobat Reader, den Sie hier erhalten können. http://www.adobe.de/products/acrobat/readstep2.html GF: Benedikt Schackenberg und Christian Peiter AG Sitz: Mainz am RheinHandelsregister: HR-B 8608 Umsatzsteuer ID: DE126633578 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
Re: Render row without duplicates
Am 02.01.2010 13:43, schrieb bharani kumar: No Duplicate records, select hospital1code from *yourtable* grop by hospital1 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
Re: mysql server is not starting
Check that your my.ini or my.cnf has the correct entry for the Basedir option. F.A.I.Z.A.L schrieb: hi iam trying to start mysql services but it showing error. while i start it automatically goes to shutdown.. what is errmsg.sys? its looking this file but it was not there.. please help to fix this.. /var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris10-sparc-64bit/bin bash-3.00# /var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris10-sparc-64bit/bin/mysqld -u root 09 16:14:01 [ERROR] Can't find messagefile '/usr/local/mysql/share/english/errmsg.sys' /var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris10-sparc-64bit/bin/mysqld: Unknown error 1146 09 16:14:01 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 09 16:14:01 InnoDB: Started; log sequence number 0 46409 09 16:14:01 [ERROR] Aborting 09 16:14:01 InnoDB: Starting shutdown... 09 16:14:02 InnoDB: Shutdown completed; log sequence number 0 46409 09 16:14:02 [Warning] Forcing shutdown of 1 plugins 09 16:14:02 [Note] please help to solve -- -- SP data GmbH T 06131 218111 F 06131 218112 E schackenb...@termindoc.de W www.termindoc.de Unser Impressum finden Sie unter http://www.termindoc.de/Impressum.htm Alle Willenserklärungen der SP data GmbH bedürfen zu ihrer Wirksamkeit der Schriftform versehen mit zwei Originalunterschriften. Kommunikation über E-mail Bei der Kommunikation über E-mail ist nicht in jedem Fall auszuschliessen, dass Dritte unbefugt Kenntnis von den versandten Informationen nehmen. Soweit Sie per E-mail mit uns Kontakt aufnehmen, nehmen wir an, dass Ihnen diese Risiken bekannt und Sie dennoch damit einverstanden sind, dass wir Ihnen per E-mail antworten. Anderenfalls bitten wir Sie, uns einen anderen Kommunikationsweg zu benennen. Für viele der Dateien, die Sie von uns erhalten, benötigen Sie zum Betrachten den Acrobat Reader, den Sie hier erhalten können. http://www.adobe.de/products/acrobat/readstep2.html GF: Benedikt Schackenberg und Christian Peiter AG Sitz: Mainz am RheinHandelsregister: HR-B 8608 Umsatzsteuer ID: DE126633578 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
Re: mysql server is not starting
hi, exists this folder on your System? /var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris10-sparc-64bit F.A.I.Z.A.L schrieb: hi thanks for your reply,, i can see only limited parameters are there in my.cnf basedir=/var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris but this is not in /usr/local/mysql.. if u see my error log. it ask me to run mysql_upgrade. why it is asking .. any idea Best Regards Faizal S GSM : 9840118673 Blog: http://oradbapro.blogspot.com 2009/11/11 Benedikt Schackenberg schackenb...@termindoc.de mailto:schackenb...@termindoc.de Check that your my.ini or my.cnf has the correct entry for the Basedir option. F.A.I.Z.A.L schrieb: hi iam trying to start mysql services but it showing error. while i start it automatically goes to shutdown.. what is errmsg.sys? its looking this file but it was not there.. please help to fix this.. /var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris10-sparc-64bit/bin bash-3.00# /var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris10-sparc-64bit/bin/mysqld -u root 09 16:14:01 [ERROR] Can't find messagefile '/usr/local/mysql/share/english/errmsg.sys' /var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris10-sparc-64bit/bin/mysqld: Unknown error 1146 09 16:14:01 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 09 16:14:01 InnoDB: Started; log sequence number 0 46409 09 16:14:01 [ERROR] Aborting 09 16:14:01 InnoDB: Starting shutdown... 09 16:14:02 InnoDB: Shutdown completed; log sequence number 0 46409 09 16:14:02 [Warning] Forcing shutdown of 1 plugins 09 16:14:02 [Note] please help to solve -- -- SP data GmbH T 06131 218111 F 06131 218112 E schackenb...@termindoc.de mailto:schackenb...@termindoc.de W www.termindoc.de http://www.termindoc.de Unser Impressum finden Sie unter http://www.termindoc.de/Impressum.htm Alle Willenserklärungen der SP data GmbH bedürfen zu ihrer Wirksamkeit der Schriftform versehen mit zwei Originalunterschriften. Kommunikation über E-mail Bei der Kommunikation über E-mail ist nicht in jedem Fall auszuschliessen, dass Dritte unbefugt Kenntnis von den versandten Informationen nehmen. Soweit Sie per E-mail mit uns Kontakt aufnehmen, nehmen wir an, dass Ihnen diese Risiken bekannt und Sie dennoch damit einverstanden sind, dass wir Ihnen per E-mail antworten. Anderenfalls bitten wir Sie, uns einen anderen Kommunikationsweg zu benennen. Für viele der Dateien, die Sie von uns erhalten, benötigen Sie zum Betrachten den Acrobat Reader, den Sie hier erhalten können. http://www.adobe.de/products/acrobat/readstep2.html GF: Benedikt Schackenberg und Christian Peiter AG Sitz: Mainz am RheinHandelsregister: HR-B 8608 Umsatzsteuer ID: DE126633578 -- -- SP data GmbH T 06131 218111 F 06131 218112 E schackenb...@termindoc.de W www.termindoc.de Unser Impressum finden Sie unter http://www.termindoc.de/Impressum.htm Alle Willenserklärungen der SP data GmbH bedürfen zu ihrer Wirksamkeit der Schriftform versehen mit zwei Originalunterschriften. Kommunikation über E-mail Bei der Kommunikation über E-mail ist nicht in jedem Fall auszuschliessen, dass Dritte unbefugt Kenntnis von den versandten Informationen nehmen. Soweit Sie per E-mail mit uns Kontakt aufnehmen, nehmen wir an, dass Ihnen diese Risiken bekannt und Sie dennoch damit einverstanden sind, dass wir Ihnen per E-mail antworten. Anderenfalls bitten wir Sie, uns einen anderen Kommunikationsweg zu benennen. Für viele der Dateien, die Sie von uns erhalten, benötigen Sie zum Betrachten den Acrobat Reader, den Sie hier erhalten können. http://www.adobe.de/products/acrobat/readstep2.html GF: Benedikt Schackenberg und Christian Peiter AG Sitz: Mainz am RheinHandelsregister: HR-B 8608 Umsatzsteuer ID: DE126633578 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
Re: mysql server is not starting
...mysql_upgrade examines all tables in all databases for incompatibilities with the current version of MySQL Server. mysql_upgrade also upgrades the system tables so that you can take advantage of new privileges or capabilities that might have been added http://dev.mysql.com/doc/refman/5.1/en/mysql-upgrade.html F.A.I.Z.A.L schrieb: hi thanks for your reply,, i can see only limited parameters are there in my.cnf basedir=/var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris but this is not in /usr/local/mysql.. if u see my error log. it ask me to run mysql_upgrade. why it is asking .. any idea Best Regards Faizal S GSM : 9840118673 Blog: http://oradbapro.blogspot.com 2009/11/11 Benedikt Schackenberg schackenb...@termindoc.de mailto:schackenb...@termindoc.de Check that your my.ini or my.cnf has the correct entry for the Basedir option. F.A.I.Z.A.L schrieb: hi iam trying to start mysql services but it showing error. while i start it automatically goes to shutdown.. what is errmsg.sys? its looking this file but it was not there.. please help to fix this.. /var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris10-sparc-64bit/bin bash-3.00# /var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris10-sparc-64bit/bin/mysqld -u root 09 16:14:01 [ERROR] Can't find messagefile '/usr/local/mysql/share/english/errmsg.sys' /var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris10-sparc-64bit/bin/mysqld: Unknown error 1146 09 16:14:01 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 09 16:14:01 InnoDB: Started; log sequence number 0 46409 09 16:14:01 [ERROR] Aborting 09 16:14:01 InnoDB: Starting shutdown... 09 16:14:02 InnoDB: Shutdown completed; log sequence number 0 46409 09 16:14:02 [Warning] Forcing shutdown of 1 plugins 09 16:14:02 [Note] please help to solve -- -- SP data GmbH T 06131 218111 F 06131 218112 E schackenb...@termindoc.de mailto:schackenb...@termindoc.de W www.termindoc.de http://www.termindoc.de Unser Impressum finden Sie unter http://www.termindoc.de/Impressum.htm Alle Willenserklärungen der SP data GmbH bedürfen zu ihrer Wirksamkeit der Schriftform versehen mit zwei Originalunterschriften. Kommunikation über E-mail Bei der Kommunikation über E-mail ist nicht in jedem Fall auszuschliessen, dass Dritte unbefugt Kenntnis von den versandten Informationen nehmen. Soweit Sie per E-mail mit uns Kontakt aufnehmen, nehmen wir an, dass Ihnen diese Risiken bekannt und Sie dennoch damit einverstanden sind, dass wir Ihnen per E-mail antworten. Anderenfalls bitten wir Sie, uns einen anderen Kommunikationsweg zu benennen. Für viele der Dateien, die Sie von uns erhalten, benötigen Sie zum Betrachten den Acrobat Reader, den Sie hier erhalten können. http://www.adobe.de/products/acrobat/readstep2.html GF: Benedikt Schackenberg und Christian Peiter AG Sitz: Mainz am RheinHandelsregister: HR-B 8608 Umsatzsteuer ID: DE126633578 -- -- SP data GmbH T 06131 218111 F 06131 218112 E schackenb...@termindoc.de W www.termindoc.de Unser Impressum finden Sie unter http://www.termindoc.de/Impressum.htm Alle Willenserklärungen der SP data GmbH bedürfen zu ihrer Wirksamkeit der Schriftform versehen mit zwei Originalunterschriften. Kommunikation über E-mail Bei der Kommunikation über E-mail ist nicht in jedem Fall auszuschliessen, dass Dritte unbefugt Kenntnis von den versandten Informationen nehmen. Soweit Sie per E-mail mit uns Kontakt aufnehmen, nehmen wir an, dass Ihnen diese Risiken bekannt und Sie dennoch damit einverstanden sind, dass wir Ihnen per E-mail antworten. Anderenfalls bitten wir Sie, uns einen anderen Kommunikationsweg zu benennen. Für viele der Dateien, die Sie von uns erhalten, benötigen Sie zum Betrachten den Acrobat Reader, den Sie hier erhalten können. http://www.adobe.de/products/acrobat/readstep2.html GF: Benedikt Schackenberg und Christian Peiter AG Sitz: Mainz am RheinHandelsregister: HR-B 8608 Umsatzsteuer ID: DE126633578 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
Re: mysql server is not starting
in your my.cnf is the data dir datadir=/var/LRM-INSTALL/ams/database/lrm_2.0.0.0_9.0.0.0-76641 in your list it should be : datadir=/var/LRM-INSTALL/ams/database/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris10-sparc-64bit/data is this correct? F.A.I.Z.A.L schrieb: yes.. folder is exist. but don't know why its not starting.. these are the files exist in the folder drwx-- 2 amssys amssys 1536 Nov 11 17:12 bin drwx-- 4 amssys amssys 512 Nov 11 12:52 data drwx-- 2 amssys amssys 512 Apr 1 2009 docs drwx-- 2 amssys amssys 1024 Apr 1 2009 include drwx-- 3 amssys amssys 1024 Nov 11 12:28 lib drwx-- 4 amssys amssys 512 Apr 1 2009 man drwx-- 11 amssys amssys 512 Nov 11 15:57 mysql-test drwx-- 2 amssys amssys 512 Apr 1 2009 scripts drwx-- 27 amssys amssys 1024 Apr 1 2009 share drwx-- 5 amssys amssys 1024 Apr 1 2009 sql-bench drwx-- 2 amssys amssys 512 Apr 1 2009 support-files drwx-- 2 amssys amssys 512 Nov 11 12:28 tools Best Regards Faizal S GSM : 9840118673 Blog: http://oradbapro.blogspot.com 2009/11/11 Benedikt Schackenberg schackenb...@termindoc.de hi, exists this folder on your System? /var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris10-sparc-64bit F.A.I.Z.A.L schrieb: hi thanks for your reply,, i can see only limited parameters are there in my.cnf basedir=/var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris but this is not in /usr/local/mysql.. if u see my error log. it ask me to run mysql_upgrade. why it is asking .. any idea Best Regards Faizal S GSM : 9840118673 Blog: http://oradbapro.blogspot.com 2009/11/11 Benedikt Schackenberg schackenb...@termindoc.de mailto:schackenb...@termindoc.de Check that your my.ini or my.cnf has the correct entry for the Basedir option. F.A.I.Z.A.L schrieb: hi iam trying to start mysql services but it showing error. while i start it automatically goes to shutdown.. what is errmsg.sys? its looking this file but it was not there.. please help to fix this.. /var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris10-sparc-64bit/bin bash-3.00# /var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris10-sparc-64bit/bin/mysqld -u root 09 16:14:01 [ERROR] Can't find messagefile '/usr/local/mysql/share/english/errmsg.sys' /var/LRM-INSTALL/ams/software/lrm_2.0.0.0_9.0.0.0-76641/server/mysql/mysql-5.1.34-solaris10-sparc-64bit/bin/mysqld: Unknown error 1146 09 16:14:01 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 09 16:14:01 InnoDB: Started; log sequence number 0 46409 09 16:14:01 [ERROR] Aborting 09 16:14:01 InnoDB: Starting shutdown... 09 16:14:02 InnoDB: Shutdown completed; log sequence number 0 46409 09 16:14:02 [Warning] Forcing shutdown of 1 plugins 09 16:14:02 [Note] please help to solve -- -- SP data GmbH T 06131 218111 F 06131 218112 E schackenb...@termindoc.de mailto:schackenb...@termindoc.de W www.termindoc.de http://www.termindoc.de Unser Impressum finden Sie unter http://www.termindoc.de/Impressum.htm Alle Willenserklärungen der SP data GmbH bedürfen zu ihrer Wirksamkeit der Schriftform versehen mit zwei Originalunterschriften. Kommunikation über E-mail Bei der Kommunikation über E-mail ist nicht in jedem Fall auszuschliessen, dass Dritte unbefugt Kenntnis von den versandten Informationen nehmen. Soweit Sie per E-mail mit uns Kontakt aufnehmen, nehmen wir an, dass Ihnen diese Risiken bekannt und Sie dennoch damit einverstanden sind, dass wir Ihnen per E-mail antworten. Anderenfalls bitten wir Sie, uns einen anderen Kommunikationsweg zu benennen. Für viele der Dateien, die Sie von uns erhalten, benötigen Sie zum Betrachten den Acrobat Reader, den Sie hier erhalten können. http://www.adobe.de/products/acrobat/readstep2.html GF: Benedikt Schackenberg und Christian Peiter AG Sitz: Mainz am RheinHandelsregister: HR-B 8608 Umsatzsteuer ID: DE126633578 -- -- SP data GmbH T 06131 218111 F 06131 218112 E schackenb...@termindoc.de W www.termindoc.de Unser Impressum finden Sie unter http://www.termindoc.de/Impressum.htm Alle Willenserklärungen der SP data GmbH bedürfen zu ihrer Wirksamkeit der Schriftform versehen mit zwei Originalunterschriften. Kommunikation über E-mail Bei der Kommunikation über E-mail ist nicht in jedem Fall
AW: why different users get different count(*) from same table?
Check your rights ;) -Ursprüngliche Nachricht- Von: jinava [mailto:jin...@gmail.com] Gesendet: Mittwoch, 1. Juli 2009 14:52 An: mysql@lists.mysql.com Betreff: Re: why different users get different count(*) from same table? Hi experts, Something strange here, use root and mysql (root and mysql are user accounts) to select count(*) from same table, but the result is different. login as root: mysql -uroot -p information_schema mysql select * from tables where table_name='tb_staff'\G *** 1. row *** TABLE_CATALOG: NULL TABLE_SCHEMA: dbsg TABLE_NAME: tb_staff TABLE_TYPE: BASE TABLE ENGINE: MyISAM VERSION: 10 ROW_FORMAT: Dynamic *TABLE_ROWS: 0* AVG_ROW_LENGTH: 0 DATA_LENGTH: 0 MAX_DATA_LENGTH: 281474976710655 INDEX_LENGTH: 1024 DATA_FREE: 0 AUTO_INCREMENT: 1 CREATE_TIME: 2009-05-31 16:13:07 UPDATE_TIME: 2009-05-31 16:13:07 CHECK_TIME: NULL TABLE_COLLATION: latin1_swedish_ci CHECKSUM: NULL CREATE_OPTIONS: TABLE_COMMENT: 1 row in set (0.00 sec) then, login as mysql: mysql -umysql -p information_schema mysql select * from tables where table_name='tb_staff'\G *** 1. row *** TABLE_CATALOG: NULL TABLE_SCHEMA: dbsg TABLE_NAME: tb_staff TABLE_TYPE: BASE TABLE ENGINE: MyISAM VERSION: 10 ROW_FORMAT: Dynamic *TABLE_ROWS: 7519* AVG_ROW_LENGTH: 223 DATA_LENGTH: 1680120 MAX_DATA_LENGTH: 281474976710655 INDEX_LENGTH: 79872 DATA_FREE: 0 AUTO_INCREMENT: 99022 CREATE_TIME: 2009-06-29 16:57:50 UPDATE_TIME: 2009-06-30 13:41:07 CHECK_TIME: 2009-06-30 11:15:48 TABLE_COLLATION: latin1_swedish_ci CHECKSUM: NULL CREATE_OPTIONS: TABLE_COMMENT: 1 row in set (0.00 sec) mysql Cheers jinava -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
AW: creating databases in different folders
You can configure it in the my.cnf file: there you can set the data directory. -Ursprüngliche Nachricht- Von: Foo JH [mailto:jhfoo...@extracktor.com] Gesendet: Dienstag, 2. Juni 2009 05:00 An: mysql@lists.mysql.com Betreff: creating databases in different folders Hi all, I'm using MySQL 5.0 on Windows 2003. Problem background: We use the same server for different applications. All the applications share the same server as the database server. Each application uses their own database. In MSSQL we put each database in the corresponding application folder so that the application root folder contains everything (including the database). Now we're trying to do the same for MySQL as well, but I'm not sure how I can specify that a database should be created in a particular directory (and it's almost always not in C:\Program Files\MySQL Server). Can anyone advise? Thanks. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=schackenb...@termindoc.de -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
AW: AW: creating databases in different folders
I think, that will not work with one database daemon. Then you have to install for every database one daemon ;) -Ursprüngliche Nachricht- Von: Foo JH [mailto:jhfoo...@extracktor.com] Gesendet: Dienstag, 2. Juni 2009 11:49 An: schackenb...@termindoc.de Cc: mysql@lists.mysql.com Betreff: Re: AW: creating databases in different folders Benedikt Schackenberg wrote: You can configure it in the my.cnf file: there you can set the data directory. Thanks for the quick reply. My concern is that setting the data directory puts ALL databases in that folder. What I plan to do is to put databases in separate folders. Is that possible? -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=schackenb...@termindoc.de -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
AW: AW: creating databases in different folders
Thx john !! i can use this :) -Ursprüngliche Nachricht- Von: John Daisley [mailto:john.dais...@mypostoffice.co.uk] Gesendet: Dienstag, 2. Juni 2009 17:10 An: Jerry Schwartz Cc: john.dais...@butterflysystems.co.uk; 'Foo JH'; schackenb...@termindoc.de; mysql@lists.mysql.com Betreff: RE: AW: creating databases in different folders -Original Message- From: John Daisley [mailto:john.dais...@mypostoffice.co.uk] Sent: Tuesday, June 02, 2009 6:30 AM To: Foo JH Cc: schackenb...@termindoc.de; mysql@lists.mysql.com Subject: Re: AW: creating databases in different folders MySQL represents each database by means of a database directory located within the data directory. You can move a database directory to a location outside the datadirectory and replace it with a symlink. Moving a database directory is very simple. Just follow these steps. (I think you said you were using windows, if you are using *nix give me a shout back, the procedure is different.) [JS] So far as I know, Windows supports mount points but not symbolic links. You are correct Jerry, Windows does not support symbolic links but for MySQL purposes you can create an .sym file containing the full path to the new location and MySQL will read the file and look in the specified path for the database files. The procedure is covered in the documentation here http://dev.mysql.com/doc/refman/5.0/en/windows-symbolic-links.html __ This email has been scanned by Netintelligence http://www.netintelligence.com/email -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=schackenb...@termindoc.de -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
AW: Recover data without logs
O think not, did you make dumps of your database? If not you have to use bin-log -Ursprüngliche Nachricht- Von: Weitao Liu [mailto:liuwt...@gmail.com] Gesendet: Sonntag, 31. Mai 2009 10:13 An: mysql@lists.mysql.com Betreff: Recover data without logs I had deleted some important data from my mysql server,who can tell how can I recover my data,I do not open the bin log,is there some other method? thanks a lot ! -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org