LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-23-2005, 11:18 AM   #1
puishor
Member
 
Registered: Jun 2005
Location: Bucharest
Distribution: Debian,Knoppix,Slackware
Posts: 91

Rep: Reputation: 15
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.
 
Old 10-23-2005, 01:14 PM   #2
Vookimedlo
Member
 
Registered: Jul 2004
Location: Czech Republic - Roudnice nad Labem
Distribution: Debian
Posts: 253

Rep: Reputation: 34
Hi,

mysql command runs only client for MySQL server. You need to run MySQL daemon first!
 
Old 10-23-2005, 01:32 PM   #3
ade336
LQ Newbie
 
Registered: Oct 2005
Posts: 19

Rep: Reputation: 0
:)

true..with out it..can do anything...
 
Old 10-23-2005, 02:09 PM   #4
puishor
Member
 
Registered: Jun 2005
Location: Bucharest
Distribution: Debian,Knoppix,Slackware
Posts: 91

Original Poster
Rep: Reputation: 15
but before that I run:

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL question jpc82 Programming 5 08-13-2005 11:05 AM
sql disconnect question jacksmash Programming 5 08-06-2005 11:46 PM
SQL Question jacksmash Programming 7 01-18-2004 10:10 PM
(postgre) SQL question J_Szucs Programming 4 09-18-2003 08:40 PM
SQL and searching question Robert0380 Programming 3 08-18-2002 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration