Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Spine install Problem

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
time2k



Joined: 04 Jul 2008
Posts: 1

PostPosted: Wed Jul 23, 2008 4:43 am    Post subject: Spine install Problem Reply with quote

Hi ~

when i finish installed spine( source code), run "./spine -V 5" , i got

"MYSQL: Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)"

mysql.sock in my server is "/tmp/mysql.sock" , i compiled MySQL in source code . so i recompiled spine with "./configure --with-mysql=/path_to_mysql/" and i still got

"MYSQL: Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)"

i didn't konw what's going wrong... please help....
Back to top
rtorti19



Joined: 07 May 2008
Posts: 48

PostPosted: Wed Jul 23, 2008 8:36 am    Post subject: Reply with quote

Make sure that you have your spine.conf file in the correct location (typically /etc/) and that it has the correct login information to your mysql db.
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9671
Location: MI, USA

PostPosted: Thu Jul 24, 2008 11:42 pm    Post subject: Reply with quote

You need to make sure "/etc/my.cnf" contains the correct sock file pointer. It's a MySQL configuration error.

TheWitness
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group