Unix Technical Forum

MySQL Execution Problem

This is a discussion on MySQL Execution Problem within the MySQL forums, part of the Database Server Software category; --> Hi there, I am facing a problem related to execution of MySQL on Fedora 8 operating system. When I ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-04-2008, 06:23 AM
Manu
 
Posts: n/a
Default MySQL Execution Problem

Hi there,

I am facing a problem related to execution of MySQL on Fedora 8
operating system. When I try to execute mysql command in BASH
terminal, I get following error:

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

Please help me to fix it.

Thanks in advance
Manu
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-04-2008, 06:23 AM
Jerry Stuckle
 
Posts: n/a
Default Re: MySQL Execution Problem

Manu wrote:
> Hi there,
>
> I am facing a problem related to execution of MySQL on Fedora 8
> operating system. When I try to execute mysql command in BASH
> terminal, I get following error:
>
> ERROR 2002 (HY000): Can't connect to local MySQL server through
> socket '/var/lib/mysql/mysql.sock' (2)
>
> Please help me to fix it.
>
> Thanks in advance
> Manu
>


First thing to check is to see if MySQL is even running.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-04-2008, 06:23 AM
Manu
 
Posts: n/a
Default Re: MySQL Execution Problem

On Mar 2, 3:13 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> Manu wrote:
> > Hi there,

>
> > I am facing a problem related to execution of MySQL on Fedora 8
> > operating system. When I try to execute mysql command in BASH
> > terminal, I get following error:

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

>
> > Please help me to fix it.

>
> > Thanks in advance
> > Manu

>
> First thing to check is to see if MySQL is even running.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================


How can I check, MySQL is running or not ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-04-2008, 06:24 AM
Manu
 
Posts: n/a
Default Re: MySQL Execution Problem

On Mar 2, 5:51 pm, Manu <anmol.ki...@gmail.com> wrote:
> On Mar 2, 3:13 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>
>
>
> > Manu wrote:
> > > Hi there,

>
> > > I am facing a problem related to execution of MySQL on Fedora 8
> > > operating system. When I try to execute mysql command in BASH
> > > terminal, I get following error:

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

>
> > > Please help me to fix it.

>
> > > Thanks in advance
> > > Manu

>
> > First thing to check is to see if MySQL is even running.

>
> > --
> > ==================
> > Remove the "x" from my email address
> > Jerry Stuckle
> > JDS Computer Training Corp.
> > jstuck...@attglobal.net
> > ==================

>
> How can I check, MySQL is running or not ?


Thanks for your help. MySQL was not running. after starting it,
commands are working.

Thanks once again.
Manu
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB 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. The time now is 03:04 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com