| User | Post |
|
6:55 am November 6, 2009
| massoo
New Member
| | | |
|
| posts 2 |
|
|
Hi,
When trying to install i get the error
Cant connect to local MySQL server through socket '/tmp/mysql.sock'
My mysql.sock is in different location. How do i set the configuration to reflect my socket file?
Regards
Shann
|
|
|
9:11 am November 6, 2009
| themattreid
Admin
| | Nevada | |
|
| posts 49 |
|
|
Try setting the following in you my.cnf file but replace it with the location of your socket file. For more information refer to the mysql documentation as this is not Kontrollbase related.
shell> cat /etc/my.cnf #snip start
[client] socket = /var/lib/mysql/mysql.sock
#snip end
|
 |
http://kontrollsoft.com http://themattreid.com |
|
|
|
10:30 pm November 6, 2009
| massoo
New Member
| | | |
|
| posts 2 |
|
|
I already have the socket information in the my.cnf
cat /etc/my.cnf
[client] #password = [your_password] port = 3306 socket = /var/lib/mysql/mysql.sock
still it fails.
|
|
|
8:17 am November 7, 2009
| themattreid
Admin
| | Nevada | |
|
| posts 49 |
|
|
Check your php default settings. If you can't get other php scripts that connect to mysql then something is wrong. This issue is independent of Kontrollbase. Please search google for the solution with php.
|
 |
http://kontrollsoft.com http://themattreid.com |
|
|