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
  •  


Intel Core i7-7700 Kaby Lake Quad-Core 3.6 GHz Processor LGA 1151 picture

Intel Core i7-7700 Kaby Lake Quad-Core 3.6 GHz Processor LGA 1151

$39.99



Corsair RM750e 750W Fully Modular 80 Plus Gold ATX 3.1 PSU Certified Refurbished picture

Corsair RM750e 750W Fully Modular 80 Plus Gold ATX 3.1 PSU Certified Refurbished

$44.99



PS5 Over Heating Problem Solver 1.5 Grams Liquid metal thermal paste CPU, GPU picture

PS5 Over Heating Problem Solver 1.5 Grams Liquid metal thermal paste CPU, GPU

$15.99



AMD Ryzen 5 8400F 4.2GHz 6-Core/ 12-Threads Socket AM5 65W Processor picture

AMD Ryzen 5 8400F 4.2GHz 6-Core/ 12-Threads Socket AM5 65W Processor

$129.99



Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151 picture

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151

$79.99



Intel SRG17 Core i7-9700T Desktop Processor CPU picture

Intel SRG17 Core i7-9700T Desktop Processor CPU

$74.99



Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor picture

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor

$69.99



Intel Core i7-7700T 2.9GHz 8MB Socket LGA1151 Quad Core Processor SR339 picture

Intel Core i7-7700T 2.9GHz 8MB Socket LGA1151 Quad Core Processor SR339

$39.99



Intel Core i5-11500 2.70 GHz LGA 1200 Desktop CPU Processor SRKNY picture

Intel Core i5-11500 2.70 GHz LGA 1200 Desktop CPU Processor SRKNY

$94.99



Intel Core i5-7600 3.5 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR334 picture

Intel Core i5-7600 3.5 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR334

$16.99