Results 1 to 2 of 2

Thread: ran update, mysql stopped working ! HELP !

Hybrid View

  1. #1
    Junior Member registered user
    Join Date
    Jul 2004
    Location
    Hollywood, Florida
    Posts
    18

    ran update, mysql stopped working ! HELP !

    (reposted from here: http://forums.linuxiso.org/viewtopic.php?t=27078) I figure this place might be able to help aswell...


    Ok, I have been using knoppix for 2 years with a hard drive install.

    I have the current version installed and everything seems to be working fine until I performed an update today (apt-get update && apt-get upgrade) ..

    all of a sudden, mysqld is gone from my start-up list. ( so i re-added it and rebooted ), now it does not start back up even though I added it to all run levels including 3 and 5.

    I try to run it manually as root and I get this error:

    Code:
    root@box_1:/etc/init.d# ./mysql start
    Starting MySQL database server: mysqld...failed.
            Please take a look at the syslog.
    /usr/bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
    Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
    I have the binaries here:

    Code:
    root@box_1:/usr/sbin# whereis mysql
    mysql: /usr/bin/mysql /etc/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz
    root@box_1:/usr/sbin# whereis mysqld
    mysqld: /usr/sbin/mysqld /usr/share/man/man8/mysqld.8.gz

  2. #2
    Junior Member registered user
    Join Date
    Jul 2004
    Location
    Hollywood, Florida
    Posts
    18
    Ok, I fixed it..

    here is what I found when I looked in the /var/log/syslog file..

    Code:
    Aug 22 09:54:42 box_1 mysqld[1725]: 050822  9:54:42 /usr/sbin/mysqld: unknown variable 'old_passwords=1'
    so, I took a look at this file: /etc/mysql/my.cnf

    and I found this line:

    Code:
    old_passwords = 1
    so, I changed it to this to see what would happen:

    Code:
    #old_passwords = 1

    then I ran mysql like this: /etc/init.d/mysql start

    and voila. It loaded up fine, I tested some of my websites running on apache with php and it all works perfectly.......


    SHEESH........

Similar Threads

  1. My mysql just stopped working!
    By morbidpalooza.com in forum General Support
    Replies: 0
    Last Post: 07-06-2006, 09:17 PM
  2. NDISWRAPPER stopped working with 5.01
    By Abraxus in forum Networking
    Replies: 0
    Last Post: 06-10-2006, 09:31 AM
  3. apt has stopped working
    By linuxer in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 10-26-2005, 01:50 PM
  4. Printing stopped working
    By rec9140 in forum General Support
    Replies: 0
    Last Post: 11-12-2003, 06:59 PM
  5. Internet connection stopped working
    By jimk in forum Networking
    Replies: 7
    Last Post: 10-21-2003, 11:10 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
  •  


16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY picture

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY

$10.00



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$199.99



SAMSUNG 128GB (4x32GB) M393A4K40BB1-CRC4Q RAM DDR4-2400T RDIMM ECC Memory picture

SAMSUNG 128GB (4x32GB) M393A4K40BB1-CRC4Q RAM DDR4-2400T RDIMM ECC Memory

$666.00



Lot 500 SK hynix 16GB 2Rx8 PC4-23400 DDR4-2933Y ECC Registered Server Memory RAM picture

Lot 500 SK hynix 16GB 2Rx8 PC4-23400 DDR4-2933Y ECC Registered Server Memory RAM

$65000.00



Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM  M393A4K40CB2-CTD6Q picture

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q

$169.00



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



G.SKILL FLARE X5 64GB (2 x 32GB) 6000 MT/s DDR5 (AMD EXPO + INTEL XMP) *CL30* picture

G.SKILL FLARE X5 64GB (2 x 32GB) 6000 MT/s DDR5 (AMD EXPO + INTEL XMP) *CL30*

$785.00



RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED picture

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED

$445.00



Corsair Dominator Platinum RGB 32GB (2x16GB) 3200MHz picture

Corsair Dominator Platinum RGB 32GB (2x16GB) 3200MHz

$380.00