Literally, this error from MySQL is not "working except with cmbinaion
passnger." This
I googled your error:
http://tinyurl.com/yccm8ds
The first hit gave:
Error code 13 can be caused if:
- user/host permissions are wrong
- file permissions are wrong
- mysql not running
There are other potential causes, but it's most likely permissions,
especially since you have mysql.sock in /var/lib/mysql/mysql.sock.
For applications to access it, it's probably better off somewhere more
accessible, like /tmp.
The first thing I'd do is create a symbolic link to mysql.sock from /
tmp
1. cd /tmp
2. ln -s /var/lib/mysql/mysql.sock mysql.sock
Either way, I don't believe it's a passenger issue, which means you
should post this somewhere else.
Richard
On Sep 25, 1:55 pm, Kunwar Manish Tomar <
kunwar.to...@gmail.com>
wrote:
> Hi,
> Sorry sir but i lready googled and did not get proper solution so written
> here. my /etc/my.cnf already contains:
> [mysqld]
> datadir=/usr/local/mysql/data
> socket=/var/lib/mysql/mysql.sock
>
> and also i am able to connect from commad by typing mysql -uabc -pabc and
> also created database there what my rails app is conncting properly with
> webrick(default rails server)
>
> Please have a look on development error log I have pasted on last post at
> bottom, also teling *Can't connect to local MySQL server through socket
> '/var/lib/mysql/
> mysql.sock' (13)*
>
> **
> Mysql tells that (13) comes whensome permission issue but where not getting
> because indivdually all application is working except with cmbinaion
> passnger.
>
> please help
> thanks
>
>
>
> On Fri, Sep 25, 2009 at 9:02 PM, irongaze <
zaph...@gmail.com> wrote:
>
> > Not a passenger issue. First google hit for your error yields this
> > link:
>
> >
http://www.tech-recipes.com/rx/762/solve-cant-connect-to-local-mysql-...
>
> > Give it a try, and next time, please try a bit of googling on your
> > error messages before posting for help. Many issues can be resolved
> > with a little research.
>
> > Cheers!
>
> --
> Thanks and Best Regards
> Kunwar Manish Tomar
> Mobile:
+919987015867
> Mail:
mani...@hexaware.com
> Hexaware Technologies Limited.