Tracker: Bugs

1 Mysql Socket Problem - ID: 3406650
Last Update: Settings changed ( hemantm )

I am trying to get a codestriker server up using fedora 12 with mysql as database.
The mysql repository is in custom path instead of the standard path. I have modified the /etc/my.conf to read
<snip>
[client]
socket=/srv/mysql/mysql.sock

[mysqld]
datadir=/srv/mysql
socket=/srv/mysql/mysql.sock
</snip>

It works fine with the local mysql client.

However when I try to run install.pl in codestriker I get the following error:

DBI connect('dbname=codestrikerdb','codestriker',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) at /var/www/codestriker/codestriker-1.9.10/lib/Codestriker/DB/Database.pm line 61

I am not able to proceed further due to this error.

Expected behavior: Codestriker should try to connect to any mysql socket instead of the default one.


Hemant ( hemantm ) - 2011-09-08 21:31:30 PDT

1

Deleted

None

Nobody/Anonymous

None

None

Public


Comments

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2011-09-08 21:34:34 PDT hemantm
priority 5 2011-09-08 21:34:34 PDT hemantm
allow_comments 1 2011-09-08 21:34:34 PDT hemantm
close_date - 2011-09-08 21:34:34 PDT hemantm