Results 1 to 4 of 4

Thread: effectively using mysql for web development in knoppix

  1. #1
    Junior Member
    Join Date
    Nov 2004
    Location
    Hobart, Tasmania
    Posts
    4

    effectively using mysql for web development in knoppix

    I'm very new to knoppix and linux in general. I've saved the configuration etc to my HDD already. I want to be able to program in php using mysql on apache in knoppix. I can start apache and mysql and the server and look at pages on localhost, got that far. My problem now is that I cant find out how to

    a) be the root in mysql so I can create new users with priveliges
    b) databases I make in mysql don't exist after rebooting
    c) will be trying to logon as root (just read how here a minute ago) nex time


    Why do I need this option? Windows XP is a $@$% because it seems to have an issue where MySQL won't configure so PHP can access it. The easiest answer is to do it in knoppix. When I figure out how Linux ticks better I'll put it on my HDD and voila.

    Any help would be much appreciated.

  2. #2
    Junior Member
    Join Date
    Nov 2004
    Location
    Hobart, Tasmania
    Posts
    4
    I now know how to log onto Knoppix itself as root but am having the same trouble with MySQL.

    As the user table in MySQL is read only how do I
    ## Get better access as root, ie grant options etc for users

    I looked at the config files etc but they are all read only so how do I
    ## Reclaim control of file and configuration access. Chmod doesn't work in this case....

    Thanks in advance for any replies as I'm a linux newbie bar for some minor unix commands from school one time.

  3. #3
    Junior Member
    Join Date
    Nov 2004
    Location
    Hobart, Tasmania
    Posts
    4
    Ok I've figured most everything I needed to know out from trolling the forum and experimentation - gasp!

    Only thing is that mysql databases I make for development can't be saved, or I can't see how, if I jsut put them on the desktop and reinsert them next boot up then they don't link properly. Anyway that's cool. I'll get an old box from the other room and set it up on my lan as a local web server for development work now I'm a bit more confident.

    Although nobody replied to this post with advice I thank those who read it with interest for taking the time.

    http://www.nortypig.com
    http://www.blog.nortypig.com

  4. #4
    Member registered user
    Join Date
    Nov 2004
    Location
    Bellevue, WA
    Posts
    83
    MySQL should work under Windows w/PHP. Apache would be the tricky part, but that's for another forum ... there are many ways to solve your problem:

    a. You can edit the 'saveconfig' script in knoppix to include the MySQL datafiles and make sure they are restored when you reboot. The modified 'saveconfig' will be saved automatically.

    b. You can have a script by which you copy/tar/gzip your data files to persistent storage back and forth.

    c. Set up MySQL Replication. While you work, your Knoppix DB is the master and somewhere else in the network you can have a MySQL slave (maybe in a Windows box?). When you launch knoppix, just copy the replicated files from the slave PC and restart the MySQL Master.

    The last one is probably overkill, but you'll learn a neat MySQL trick.

    Regards,

    -GN

Similar Threads

  1. GUI development on Knoppix, Mac, Windows
    By transistortoaster in forum General Support
    Replies: 2
    Last Post: 10-08-2005, 03:49 PM
  2. Learning game development on knoppix.
    By rangalo in forum Games
    Replies: 2
    Last Post: 07-11-2005, 02:06 PM
  3. Newbie: Using Knoppix for web development
    By HCSS in forum The Lounge
    Replies: 0
    Last Post: 03-13-2004, 09:32 PM
  4. [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
  5. Replies: 1
    Last Post: 04-15-2003, 07:06 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
  •  


DELL PowerEdge R730XD Server 2x E5-2690v4 2.6GHz =28 Cores 64GB H730 4xRJ45 picture

DELL PowerEdge R730XD Server 2x E5-2690v4 2.6GHz =28 Cores 64GB H730 4xRJ45

$387.00



Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W picture

Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W

$299.99



DELL PowerEdge R730 Server 2x E5-2697v4 2.3GHz =36 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2697v4 2.3GHz =36 Cores 128GB H730 4xRJ45

$461.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE

$259.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



DELL R630 SERVER 8 x 2.5'' 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU picture

DELL R630 SERVER 8 x 2.5'' 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU

$169.95



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



Dell PowerEdge T420 2x Xeon E5-2430 V2 2.50GHZ 32GB DDR3-1600MHZ 2x 550W PSU picture

Dell PowerEdge T420 2x Xeon E5-2430 V2 2.50GHZ 32GB DDR3-1600MHZ 2x 550W PSU

$149.95



Cisco UCS C220 M4 1x Xeon E5-2667 V4 3.20GHZ 128GB DDR4-2400MHZ 2x 770W AC PSU picture

Cisco UCS C220 M4 1x Xeon E5-2667 V4 3.20GHZ 128GB DDR4-2400MHZ 2x 770W AC PSU

$129.99