Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th July 2006, 17:31
asmadius asmadius is offline
Junior Member
 
Join Date: Mar 2006
Location: germany
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to asmadius
Unhappy MySQL Probs after Debian install

Hi,
i've searched for 2 days trying to fix this. Didn't find the right answers yet. I followed the perfect_setup_debian_sarge (didn't install ISPconfig yet). I've done this the last time im March - with no probs. After installing everything, I did /etc/init.d/mysql restart to make sure it was running correctly, but I get the following error:

Quote:
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'v checked the logs, but I can't find a way to fix the prob.
Here's the last part(s) of the log files:
Quote:
Jul 7 15:17:27 www mysqld_safe[2423]: started
Jul 7 15:17:27 www mysqld[2427]: 060707 15:17:27 /usr/sbin/mysqld: unknown variable '
old_passwords=1'
Jul 7 15:17:27 www mysqld[2427]:
Jul 7 15:17:27 www mysqld_safe[2429]: ended
Jul 7 15:17:33 www /etc/init.d/mysql[2492]: 0 processes alive and '/usr/bin/mysqladmi
n --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Jul 7 15:17:33 www /etc/init.d/mysql[2492]: ^G/usr/bin/mysqladmin: connect to server
at 'localhost' failed
Jul 7 15:17:33 www /etc/init.d/mysql[2492]: error: 'Can't connect to local MySQL serv
er through socket '/var/run/mysqld/mysqld.sock' (2)'
Jul 7 15:17:33 www /etc/init.d/mysql[2492]: Check that mysqld is running and that the
socket: '/var/run/mysqld/mysqld.sock' exists!
Jul 7 15:17:33 www /etc/init.d/mysql[2492]:

I've done this on a rented server which first gave me the same errors, so I decided to setup a test server @ home - the logs are almost the same.

Thanx for any type of help.
__________________
The hardware box said use Win98 or better, so I installed Debian
Reply With Quote
Sponsored Links
  #2  
Old 7th July 2006, 19:15
asmadius asmadius is offline
Junior Member
 
Join Date: Mar 2006
Location: germany
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to asmadius
 
Default

OOPS!!!!
I may have made a mistake installing. I did a dist-upgrade on both maschines. (this is very embarrassing to - bin using linux almost 10 years, debian about 8 months)

on the pc @ home -- no mysql(client & server)

on both -- libdbd-mysql-perl updated

after this the MySQL server started just fine.
__________________
The hardware box said use Win98 or better, so I installed Debian
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HowTo install ISPConfig on a STRATO-Server with Debian 3.1 TobiasTM Tips/Tricks/Mods 12 15th July 2008 11:08
unable connect urL hostname mysql install ISPC tom1gozzi Installation/Configuration 4 9th June 2006 13:47
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42
mysql error at Stage 4 in Debian 3.1 drbista Installation/Configuration 14 11th November 2005 11:36
MySQL issue during install of ISPConfig ricbax Installation/Configuration 4 16th September 2005 10:41


All times are GMT +2. The time now is 23:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.