|
|
| Author |
Message |
time2k
Joined: 04 Jul 2008 Posts: 1
|
Posted: Wed Jul 23, 2008 4:43 am Post subject: Spine install Problem |
|
|
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: 27
|
Posted: Wed Jul 23, 2008 8:36 am Post subject: |
|
|
| 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: 9256 Location: MI, USA
|
Posted: Thu Jul 24, 2008 11:42 pm Post subject: |
|
|
You need to make sure "/etc/my.cnf" contains the correct sock file pointer. It's a MySQL configuration error.
TheWitness |
|
| Back to top |
|
 |
|