LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-27-2003, 01:01 PM   #1
dsiguy
Member
 
Registered: Nov 2002
Posts: 70

Rep: Reputation: 15
Mysql not working but it did last week


When I try to access phpmyadmin to work with MySQL I get the following error

Welcome to phpMyAdmin 2.5.1-rc1


Error

MySQL said:


Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

I check phpinfo and it says

MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.52
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient

Directive _____________Local Value __________Master Value
mysql.allow_persistent ______On _____________On
mysql.default_host
no value no value
mysql.default_password
no value no value
mysql.default_port
no value no value
mysql.default_socket
no value no value
mysql.default_user
no value no value
mysql.max_links
Unlimited Unlimited
mysql.max_persistent
Unlimited Unlimited

Does anyone have any suggestions?


Thanks

 
Old 05-27-2003, 01:08 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Have you tried restarting MySQL then try to access with phpmyadmin? Does your log files tell you anything at all?
 
Old 05-27-2003, 01:59 PM   #3
dsiguy
Member
 
Registered: Nov 2002
Posts: 70

Original Poster
Rep: Reputation: 15
I am a retard I can't beleive that I overlooked that.

Thanks
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
oracle + working with date/week champ Programming 8 11-28-2011 05:45 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
Set up my first server last week. Now it is not working adrian29uk Linux - Networking 4 06-22-2005 03:44 AM
unable go set up a wlan with ndiswrapper, working for a week! dchirdon Linux - Wireless Networking 9 03-29-2005 07:44 PM
CD-ROM Stops Working After a Week XASCompuGuy Linux - Hardware 6 07-21-2002 12:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:30 AM.

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
Open Source Consulting | Domain Registration