Webdetector Webmaster Forums - Your favorite webmaster community
 

Advertise Here Wordpress Premium Sportscrazyforum - Where Sport is a religion dnfame.com Spruce Host chooseapixel.com

Go Back   Webdetector Webmaster Forums - Your favorite webmaster community > Developers Corner > Server Administration

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-24-2008, 09:00 AM
Junior Member
 
Join Date: Jun 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can i either FULLY remove mysql on linux or somehow fix it.?

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

it either says that or this:

Sub-process /usr/bin/dpkg returned an error code (1)
once i remove it. using apt-get remove mysql

i can still type mysql

and i get that error how do i end the process?

i think i copied the files into random directories
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 06-24-2008, 10:03 PM
Junior Member
noobee
 
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can i either FULLY remove mysql on linux or somehow fix it.?

It might be due to unresolved dependencies or an apt problem. You could first try at a command prompt/shell:

apt-get -f install

If that doesn't fix it, try:

apt-get remove mysql-server

(or whatever package you installed)

It's difficult to give a better diagnosis though without more information. What Linux distribution is this? Where do you see this error? What were you doing before? When you first installed MySQL, did you create the initial username/passwords?

Once MySQL is gone, you can reinstall it with:

apt-get install mysql-server

Again the "mysql-server" bit might be different, depending on which distribution you're using.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-26-2008, 12:10 AM
Junior Member
noobee
 
Join Date: Jun 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can i either FULLY remove mysql on linux or somehow fix it.?

Make sure that you have the MySQL daemon (mysqld) running in the background before you try to connect. To confirm that it is running, you can use the command line interface.

http://dev.mysql.com/doc/refman/6.0/en/programs-server.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 11:56 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Ad Management by RedTyger