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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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 ================== |
| |||
| 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 ? |
| ||||
| 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 |