Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 2 guests | Time: 19:20
mysql error: problem not yet resolved
paldo Support Forum    paldo    General Support
Reply Reply   Subscribe Topic Subscribe Topic
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
7 posts found.
 mysql error: problem not yet resolved
Junior Mitglied
 
 
 
Posts: 22
Registered: 2006-12-30
hi all,

for now i'm using this posting to figure out how to fix this mysql error.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)


so far, when i type
Code[In neuem Fenster öffnen]
su -
and then
Code[In neuem Fenster öffnen]
mysql
i get the error above.

I'm using this post to figure it out.

stay tuned.
 
..............................
www.prettybycritty.com in case you are married and want to get your wife something fun
Profile   Private Message   E-Mail
Created: 2007-08-18 22:53
Highlight selected Text   Edit   Delete   Quote Reply
 Re: mysql error:Solved
Junior Mitglied
 
 
 
Posts: 22
Registered: 2006-12-30
Not sure if this will fix it forever, but so far so good.

i just typed
Code[In neuem Fenster öffnen]
mysqld_safe
and the system stalled.(or appeared to go blank on the terminal).

So, i hit ctrl+z and then typed
Code[In neuem Fenster öffnen]
ps -ax


i saw the service at the bottom started (mysqld....) and got excited.

then i typed
Code[In neuem Fenster öffnen]
mysql
and bingo... i'm there.
 
..............................
www.prettybycritty.com in case you are married and want to get your wife something fun
Profile   Private Message   E-Mail
Created: 2007-08-18 23:01
Highlight selected Text   Edit   Delete   Quote Reply
 Re: mysql error: problem not yet resolved
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
Good to know. We'll look into it ...
Profile   Private Message   E-Mail
Created: 2007-08-19 00:51
Highlight selected Text   Edit   Delete   Quote Reply
 Re: mysql error: problem not yet resolved
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
To run mysql as normal user read this: http://www.mysql.org/doc/refman/5.0/en/changing-mysql-user.html

or use sudo cmd in front of your cmds.
Profile   Private Message   E-Mail
Created: 2007-08-19 15:53
Highlight selected Text   Edit   Delete   Quote Reply
 Re: mysql error: problem not yet resolved
Junior Mitglied
 
 
 
Posts: 22
Registered: 2006-12-30
i found out that you can start all of these services like mysql and fetchmail in the following location
Code[In neuem Fenster öffnen]
/etc/default


Now i have changed the FALSE to TRUE but nothing happened.

any ideas?
 
..............................
www.prettybycritty.com in case you are married and want to get your wife something fun
Profile   Private Message   E-Mail
Created: 2007-09-10 03:35
Highlight selected Text   Edit   Delete   Quote Reply
 Re: mysql error: problem not yet resolved
Administrator
 
 
 
Posts: 426
Registered: 2004-09-09
/etc/default/mysql only specifies whether mysql should be started on system startup. If you want to start it immediately, use

/etc/init.d/mysql start
Profile   Private Message   Web
Created: 2007-09-10 08:21
Highlight selected Text   Edit   Delete   Quote Reply
 Re: mysql error: problem not yet resolved
Junior Mitglied
 
 
 
Posts: 22
Registered: 2006-12-30
that is what i want it to do... start on startup. so far, it hasn't done that.

is the value TRUE, that i should use?
 
..............................
www.prettybycritty.com in case you are married and want to get your wife something fun
Profile   Private Message   E-Mail
Created: 2007-09-11 02:36
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a