-
Junior Member
registered user
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
-
Junior Member
registered user
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:
so, I changed it to this to see what would happen:
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
-
By morbidpalooza.com in forum General Support
Replies: 0
Last Post: 07-06-2006, 09:17 PM
-
By Abraxus in forum Networking
Replies: 0
Last Post: 06-10-2006, 09:31 AM
-
By linuxer in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 10-26-2005, 01:50 PM
-
By rec9140 in forum General Support
Replies: 0
Last Post: 11-12-2003, 06:59 PM
-
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
-
Forum Rules

Intel Core i7-3770K 3.5 GHz Processor
$39.00

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00

Intel Core Ultra 7 265K 3.9GHz LGA 1851 Processor
$249.99

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

AMD Ryzen 5 5500 Processor ( read Description)
$59.00

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

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

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

LAST BATCH *Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5
$768.00

Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor
$175.00