LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-06-2003, 08:34 AM   #1
ganninu
Member
 
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340

Rep: Reputation: 30
Etinc Bandwidth manager problems


I installed "successfully" the etinc bwmgr (http://www.etinc.com/bwmgr.htm) on a redhat 7.1 box. However I cannot make it interface sucessfully with MySQL server. Believe me, I tried every way and means but I still get this error:
bandwidth manager mysql cannot connect through socket

Could connect to database.
Cannot connect to local MySQL server through socket '/tmp/mysql.sock' (2)

I've tried setting permissions and ownership (mysql) but to no avail.... Has anyone encountered this problem??????????
 
Old 11-06-2003, 03:02 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
It sounds like the mysql server isn't running.
 
Old 11-06-2003, 03:38 PM   #3
ganninu
Member
 
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340

Original Poster
Rep: Reputation: 30
no... mysql is running, and i can actually connect to it using mysql -p and make queries to it, etc...
 
Old 11-06-2003, 03:41 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Does:
/tmp/mysql.sock

exist?
 
Old 11-07-2003, 01:27 AM   #5
ganninu
Member
 
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340

Original Poster
Rep: Reputation: 30
strangely enough it doesn't exist.... mysql.sock existed only in /var/lib/mysql if i remember well.
 
Old 11-07-2003, 01:41 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Well you can either point your app to that sock file or chang ethe defualt on it /etc/my.cnf
 
Old 11-10-2003, 03:43 AM   #7
ganninu
Member
 
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340

Original Poster
Rep: Reputation: 30
I created a sym. link to that socket but it still didn't work

Moreover, the /etc/my.cnf file doesn't exist, nor the my.cnf file when searched through all system. Neither the /etc/my.conf file exists in my system... should i create it?

Last edited by ganninu; 11-10-2003 at 04:09 AM.
 
Old 11-10-2003, 04:45 AM   #8
ganninu
Member
 
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340

Original Poster
Rep: Reputation: 30
Ok i solved my problem - this is what i did - I created two files: /etc/my.cnf and /etc/my.conf (since i didn't know which one was the valid one... I'll rename one of them and by elimination i will determine which one is the valid one that mysql reads config. settings from), and added these lines:

[client]
socket=/tmp/mysql.sock

[mysqld]
socket=/tmp/mysql.sock

Believe me, i was really happy when it worked
 
  


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
Vsftpd - how to limit download bandwidth but unlimited upload bandwidth? mpls mikeg Linux - Software 3 08-13-2005 02:52 PM
Bandwidth Limitation Problems Sridhar Kumar K Linux - Networking 2 11-25-2004 01:42 PM
need a bandwidth manager adm1329 Linux - Networking 2 08-23-2004 11:12 PM
My bandwidth manager is craping out!! dexteroo Linux - Networking 0 09-08-2003 07:16 AM
guide me how to build a bandwidth manager gaurahul Linux - Software 2 09-06-2003 07:52 AM


All times are GMT -5. The time now is 12:39 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration