Results 1 to 4 of 4

Thread: MY SQL Errors on 4.0.2

  1. #1
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Cleveland, OH
    Posts
    228

    MY SQL Errors on 4.0.2

    I am not able to start mysql using

    /etc/init.d/mysql start

    I get errors saying that /usr/bin/mysqladmin cannot connect to localhost and that "can't connect to local mysql server through socket /var/run/mysqld/mysqld.sock"

    the old lamp server floppy (knoppix-webserver-setup.zip) no longer seems to work.

    I have a work project that needs mysql.

    any advise greatly appreciated.

    paul[/img]

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Cleveland, OH
    Posts
    228
    here's the fix:

    Using mySQL with Knoppix 4.0.2

    As root edit /etc/mysql/my.cnf

    Comment out the line old_passwords = 1

    #old_passwords = 1

    You can now use

    /etc/init.d/mysql start
    and
    /etc/init.d/mysql stop

    to control the service.

    To start the client open a new shell and type

    mysql

    You should see the sql prompt

    mysql>

  3. #3
    Junior Member
    Join Date
    Nov 2005
    Posts
    3
    I am facing similar problem with knoppix 4.01 hd installed.Not only that,
    the localhost cannot be reached by typing http://localhost and networking configure tool
    hang-up after clicking <apply> to finish configure my ethernet ip.
    A lot of tweaking/manual works have to be done with httpd.conf ,modules.conf and interfaces files,and restart again.
    Is there anyway to automate apache and mysql at start-up?
    Generally,as a newbie,I found that knoppix is not user friendly as compare to mandrake or
    even fedora.

    thank you.
    chiasc.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Cleveland, OH
    Posts
    228
    you should start a new thread if you want effective help with other issues that the topic posted (just a suggestion, do as you will)

    i run 4.0.2 from cd, but its the same for hd install

    to start the apache web server, i run (as root)

    /etc/init.d/apache start

    you can then open http://localhost in your browser

    not sure about your network card hang up. try configuring using ifconfig and route from the command line. tough if you claim to be a newbie, but a worthwhile learning exercise and will most likely be a workaround to netcardconfig (IMHO).

    to automate things, i create a script that does ALL my manual tasks (stopping and starting services, creating symlinks, etc). I keep that on a hd partition or thumbdrive and run it when I start. i have heard you can edit the knoppix .sh startup file, but I prefer to do it this way.

    i also have not found knoppix as user friendly as mandrake or fedora. that's why i switched... i didn't want a friend, i wanted an embedded operating system

    hope this info is helpful.

Similar Threads

  1. Many Errors at .xsession-errors file ...
    By mikekgr in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 06-30-2004, 08:01 AM
  2. APT-GET... 404 errors
    By Stryker87 in forum General Support
    Replies: 3
    Last Post: 06-14-2004, 01:22 AM
  3. crc errors!
    By foofightr in forum General Support
    Replies: 1
    Last Post: 01-26-2004, 02:58 AM
  4. Apt-get errors?
    By massai in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 12-24-2003, 06:56 PM
  5. KDE errors
    By Gecko in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 10-19-2003, 03:28 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
  •  


SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT

$7.99



Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter picture

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter

$27.50



Cisco Meraki MA-SFP-1GB-SX Network Tranceiver Module picture

Cisco Meraki MA-SFP-1GB-SX Network Tranceiver Module

$89.00



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



HP 560SFP+ 10GB 2-port  PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+ picture

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+

$16.99



Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



Lot of 500 Cisco 10-3145-02 QSFP-100G-CWDM4-S 100G CWDM4 QSFP28 Transceiver picture

Lot of 500 Cisco 10-3145-02 QSFP-100G-CWDM4-S 100G CWDM4 QSFP28 Transceiver

$1500.00



HPE 560SFP 2x 10Gb SFP+ PCIe Both Profile Network Card 669279-001 665247-001 picture

HPE 560SFP 2x 10Gb SFP+ PCIe Both Profile Network Card 669279-001 665247-001

$14.90



SFP QSFP Transceivers Programmer allows to corning and (re)programming sfp code picture

SFP QSFP Transceivers Programmer allows to corning and (re)programming sfp code

$108.09



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99