Results 1 to 3 of 3

Thread: mySQL tables on the remastered CD are read only

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Posts
    4

    mySQL tables on the remastered CD are read only

    I'm trying to use mySQL on a remastered disk and keep getting the error:

    Table "table_name" is read only

    when my web application tries to write to the tables. I'm new to mySQL so I don't know if this is a permissions problem on the CD or if this is a mySQL problem. It looks to me like the tables reside on the ramdisk and should be writable, only they're not. The same setup works without a problem on my harddisk install. Am I missing something here? Has anyone else tried this kind of thing before?

    Thanks for your help,
    Matt

  2. #2
    Member registered user
    Join Date
    Sep 2003
    Posts
    67
    If the sql data does reside in the ramdisk (why do you think it does) you would be able to write to it while it is in ram, but as soon as you reboot, youwould loose allthat. What woudl be the point?

  3. #3
    Member registered user
    Join Date
    Feb 2003
    Location
    Vancouver BC
    Posts
    92
    Basically, the tables are symlinked to the original tables on the knoppix cd. To fix:

    rm /var/lib/mysql/* -f
    cp -Rp /KNOPPIX/var/lib/mysql/* /var/lib/mysql/

    This will make your tables writable.

    Hope this helps,

    - Ambrose

Similar Threads

  1. MySQL 4.1 upgrade in remastered Knoppix will not start
    By justahandle in forum Customising & Remastering
    Replies: 2
    Last Post: 04-20-2005, 06:54 AM
  2. /etc/ read-only errors on remastered boot
    By DunkyB in forum Customising & Remastering
    Replies: 3
    Last Post: 04-18-2005, 02:49 PM
  3. MySQL's user tables Read Only?
    By mcaycedo in forum General Support
    Replies: 8
    Last Post: 02-01-2004, 03:48 PM
  4. IP tables
    By Kethinov in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 12-26-2003, 01:05 AM
  5. [MySQL] Export a DB From PHPMyAdmin to /var/lib/mysql
    By Coume in forum General Support
    Replies: 5
    Last Post: 08-06-2003, 06:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP picture

Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP

$249.99



Cisco SG200-26 26-Port Gigabit Network Smart Switch picture

Cisco SG200-26 26-Port Gigabit Network Smart Switch

$76.49



Cisco 24-Port Managed Gigabit Switch WS-C3750G-24TS-S picture

Cisco 24-Port Managed Gigabit Switch WS-C3750G-24TS-S

$49.99



Cisco IE-3000-8TC Industrial Ethernet 8 Ports Managed Switch 1 Year Warranty picture

Cisco IE-3000-8TC Industrial Ethernet 8 Ports Managed Switch 1 Year Warranty

$114.00



HP 2530-48G 48 Port Gigabit Ethernet Network Switch J9775A picture

HP 2530-48G 48 Port Gigabit Ethernet Network Switch J9775A

$30.95



New Linksys SE3005 5-port Gigabit Ethernet Switch picture

New Linksys SE3005 5-port Gigabit Ethernet Switch

$18.99



New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub picture

New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub

$11.49



Linksys SE3008 8 Ports Rack Mountable Gigabit Ethernet Switch picture

Linksys SE3008 8 Ports Rack Mountable Gigabit Ethernet Switch

$21.99



HP ProCurve 2530-24G J9776A 24 Port Gigabit Ethernet Managed Network Switch picture

HP ProCurve 2530-24G J9776A 24 Port Gigabit Ethernet Managed Network Switch

$34.99



Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord picture

Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord

$43.95