Bug #38284 Data directory is not included in v.6.0.6-alpha-debug-backup-0.5-win32
Submitted: 22 Jul 2008 14:26 Modified: 15 Oct 2012 14:45
Reporter: Santo Leto Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Server: Packaging Severity:S2 (Serious)
Version:6.0.6-alpha-debug-backup-0.5 OS:Windows (XPSP2)
Assigned to: CPU Architecture:Any
Tags: Backup, data directory

[22 Jul 2008 14:26] Santo Leto
Description:
Data directory is not included in v.6.0.6-alpha-debug-backup-0.5-win32.

Cant' start the server:

X:\>cd mysql

X:\mysql>cd mysql-6.0.6-alpha-debug-backup-0.5-win32\bin\

X:\mysql\mysql-6.0.6-alpha-debug-backup-0.5-win32\bin>mysqld --defaults-file="X:\mysql\mysql-6.0.6-alpha-debug-backup-0.5-win32\my-small.ini" -P 60065 --log
080722 16:09:58 [Warning] option 'thread_stack': unsigned value 65536 adjusted to 131072
080722 16:09:58 [Warning] Can't create test file X:\mysql\mysql-6.0.6-alpha-debug-backup-0.5-win32\data\CAMERON-NT-055.lower-test
080722 16:09:58 [Warning] Can't create test file X:\mysql\mysql-6.0.6-alpha-debug-backup-0.5-win32\data\CAMERON-NT-055.lower-test
mysqld: Can't change dir to 'X:\mysql\mysql-6.0.6-alpha-debug-backup-0.5-win32\data\' (Errcode: 2)
080722 16:09:59 [ERROR] Aborting

080722 16:09:59 [Note] mysqld: Shutdown complete

How to repeat:
X:\mysql\mysql-6.0.6-alpha-debug-backup-0.5-win32>dir
 Il volume nell'unità X è Volume
 Numero di serie del volume: 70FA-9A7D

 Directory di X:\mysql\mysql-6.0.6-alpha-debug-backup-0.5-win32

22/07/2008  16.23    <DIR>          .
22/07/2008  16.23    <DIR>          ..
22/07/2008  12.25    <DIR>          bin
16/07/2008  13.10            19.071 COPYING
22/07/2008  12.25    <DIR>          Docs
16/07/2008  13.10             5.139 EXCEPTIONS-CLIENT
22/07/2008  12.25    <DIR>          include
22/07/2008  12.25    <DIR>          lib
16/07/2008  13.10             4.954 my-huge.ini
16/07/2008  13.10            21.204 my-innodb-heavy-4G.ini
16/07/2008  13.10             4.931 my-large.ini
16/07/2008  13.10             4.938 my-medium.ini
16/07/2008  13.10             2.469 my-small.ini
22/07/2008  12.28    <DIR>          mysql-test
22/07/2008  12.28    <DIR>          scripts
22/07/2008  12.28    <DIR>          share
22/07/2008  12.28    <DIR>          sql-bench
               7 File         62.706 byte
              10 Directory     147.775.488 byte disponibili

X:\mysql\mysql-6.0.6-alpha-debug-backup-0.5-win32>
[22 Jul 2008 14:35] MySQL Verification Team
Thank you for the bug report. Could you please provide the URL where you get that package?. Thanks in advance.
[22 Jul 2008 15:38] Santo Leto
Hi,

I got it from http://forge.mysql.com/wiki/OnlineBackup

Please note:
 - v. 04 has the same bug (can't start the server for the same reason)
 - today I noticed a wrong link on that page and I fixed it (see http://forge.mysql.com/w/index.php?title=OnlineBackup&curid=1448&diff=9296&oldid=9250)
[23 Jul 2008 11:42] Susanne Ebrecht
Which package do you download exactly?

A workaround is: ./bin/mysql_install_db that will initialise a data directory for you.
[23 Jul 2008 12:13] Santo Leto
http://downloads.mysql.com/forge/backup_preview/mysql-6.0.6-alpha-debug-backup-0.5-win32.z...
http://downloads.mysql.com/forge/backup_preview/mysql-6.0.6-alpha-debug-backup-0.4-win32.z...
[31 Jul 2008 18:03] MySQL Verification Team
Thank you for the bug report.