LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   sql plus question (https://www.linuxquestions.org/questions/linux-software-2/sql-plus-question-376044/)

puishor 10-23-2005 11:18 AM

sql plus question
 
Hi !


I've installed sql plus from Oracle ( I guess ), with a simple
Code:

emerge  mysql
When I try to enter the command prompt in sql , using
Code:

mysql
command I get the following error:
Code:

ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
does anyone know what does this mean ?
Or how could I fix this ?
Thanks in advance.

Vookimedlo 10-23-2005 01:14 PM

Hi,

mysql command runs only client for MySQL server. You need to run MySQL daemon first!

ade336 10-23-2005 01:32 PM

:)
 
true..with out it..can do anything...

puishor 10-23-2005 02:09 PM

but before that I run:

Code:

  /etc/init.d/mysqld start
so that sql server is up.
Other suggestions ?


All times are GMT -5. The time now is 03:17 AM.