-
Junior Member
registered user
mysql datadir on vfat harddrive won't start.
Remastered knoppix. But before did this, tested it on my usb flashdrive. All had to do was tell it in my.cnf
where the datadir was. Thought tested it before on the windows drive, but may not have.
1) With datadir /var/lib/msyql
If start up a unremastered Knoppix cd mysql will start fine. If put my remasted knoppix in it will start fine.
2) When put the datadir on the Windows drive (hda1). Mysql will not start, only thing edited was the --datadir.
The weird thing is that had this working several times when tried it at first, complained about something, but was
able to access the database and everything worked.
Code:
root@ttyp1[knoppix]# /etc/init.d/mysql start
Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
Code:
root@ttyp1[knoppix]# mysqld
041229 0:10:31 Warning: Setting lower_case_table_names=2 because file system for /mnt/hda1/mysql/ is case insensitive
041229 0:10:31 bdb: /mnt/hda1/mysql/log.0000000001: Permission denied
041229 0:10:31 bdb: PANIC: Permission denied
041229 0:10:31 Can't init databases
041229 0:10:31 Aborting
041229 0:10:31 mysqld: Shutdown Complete
Tried it with 'mysqld --bdb-no-recover' also, but get same results. Also not sure why it is trying to right the bdb
log to the widows drive.
3) here is what have installed:
Code:
ii mysql-client 4.0.22-2 mysql database client binaries
ii mysql-common 4.0.22-2 mysql database common files (e.g. /etc/mysql/my.cnf)
4) Got a little further. Was able to start it with datadir= /mnt/flash/mysql if changed the usb flashdrive (/mnt/flash) to 777 permissions.
But if change datadir= /mnt/hda1/msyql still won't start. Tried, but can't seem to get the permission to change on /mnt/hda1 to test it.
Well, went back to Gentoo and had trouble with it being on /dev/hda1 also for datadir. So, you can't put MySQL datadir on
a Windows98 system? Hope that isn't the case, cause it was the whole purpose of remastering Knoppix.
Similar Threads
-
By justahandle in forum Customising & Remastering
Replies: 2
Last Post: 04-20-2005, 06:54 AM
-
By cld in forum Customising & Remastering
Replies: 2
Last Post: 07-26-2004, 05:33 PM
-
By Coume in forum General Support
Replies: 5
Last Post: 08-06-2003, 06:42 AM
-
By mabhatter in forum General Support
Replies: 2
Last Post: 03-14-2003, 12:27 AM
-
By pc_dev in forum General Support
Replies: 1
Last Post: 02-21-2003, 04:08 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$102.99

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$90.00

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive
$39.99

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.80

Western Digital PC SN740 256GB M.2 2280 NVMe Internal SSD (SDDPNQD-256G)
$32.99

Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health
$24.00

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$129.99

Samsung New SSD 970 EVO Plus 2TB 1TB 500GB 250GB NVMe M2 Internal Hard Drive Lot
$79.99

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot
$119.99