LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-03-2012, 09:31 AM   #1
Ghebaură Petrică
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
Login to account


http://xtremeinvest.com/index.php?a=account
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
 
Old 03-03-2012, 11:53 AM   #2
ricstirato
Member
 
Registered: Jan 2004
Location: Gießen, Germany
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174

Rep: Reputation: 24
So the MySQL server seems to be not running.
 
Old 03-04-2012, 10:16 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,333
Blog Entries: 12

Rep: Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729
It could be using a non-standard socket.

If there is a phpinfo.php file present (http://[domain]/phpinfo.php), it should report the MySQL socket. If one is not present, you can create one.

http://kb.mediatemple.net/questions/...php+page%3F#gs
 
Old 03-05-2012, 05:57 AM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Restart the mysqld service:

/etc/init.d/mysqld restart

You can also check this thread: http://www.linuxquestions.org/questi...l-sock-281557/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't login to hotmail account ako Linux - Newbie 7 09-19-2016 05:23 PM
Not able to login,account not getting unlocked nirmaltom Linux - Server 2 08-12-2010 03:36 AM
Eee PC 1000 Linux Laptop - Just setup a login account for privacy, now can't login!!! martinkettle Linux - Laptop and Netbook 3 10-28-2008 06:21 AM
can't login into root account eye Red Hat 5 11-21-2003 09:30 PM
Can't login to my hotmail account Salihou Linux - Networking 1 09-29-2003 01:17 PM


All times are GMT -5. The time now is 04:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration