-
VERY ODD mysql error
Code:
root@box:/home/mmike# sudo /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!
what am I dooing wrong? am I starting it right?
-
Senior Member
registered user
I get that same error with Knoppix 4.0.2 CD.
Also, if I try sudo mysqld I get error mysqld: unknown variable 'old_passwords=1' which clearly says where the problem is.
Solution is to comment out line "old_passwords = 1" in /etc/mysql/my.cnf and try sudo /etc/init.d/mysql start again.
-

Originally Posted by
malaire
I get that same error with Knoppix 4.0.2 CD.
Also, if I try sudo mysqld I get error mysqld: unknown variable 'old_passwords=1' which clearly says where the problem is.
Solution is to comment out line "old_passwords = 1" in /etc/mysql/my.cnf and try sudo /etc/init.d/mysql start again.
THank you SOOOO much works great now!
Similar Threads
-
By davidh in forum General Support
Replies: 3
Last Post: 09-04-2006, 11:17 PM
-
By mzee in forum Knoppix DVD
Replies: 17
Last Post: 10-12-2005, 08:48 AM
-
By sniker in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 10-08-2004, 03:50 AM
-
By paradocs in forum General Support
Replies: 0
Last Post: 08-18-2003, 10:13 PM
-
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
-
Forum Rules

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

Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New
$101.99

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99

Cisco Catalyst 2960x (WS-C2960X-48FPD-L) 48 Port POE Rack Mount Switch Brand New
$399.99

CISCO Services Router C891F-K9, Grade B, SKU 16188
$24.94

Cisco C9400-LC-24XS Catalyst 9400 24-Port 10G SFP+ Line Card Module NEW SEALED
$2804.00

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

Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch
$439.00

Cisco Catalyst WS-C2960+24TC-S 24-Port Gigabit Managed SFP Switch
$39.99

Cisco Business CBS110-8T-D Unmanaged Switch, 8 Port GE, Desktop
$44.99