[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: =?iso-8859-1?q?Can=B4t=20connect=20to=20local=20MySQL=20server=2E=2E=2E?=
From:       Björn Sahlström <kbjorn () users ! sourceforge ! net>
Date:       2002-08-28 11:32:15
[Download RAW message or body]

On Wednesday 28 August 2002 12.55, Alex wrote:
> Hi!
>
> When I run a little program to access a mysql database, I get the
> following error:
>
> Can´t connect to local MySQL server through socket '/tmp/mysql.sock' (2)
>
> I am not using the unixODBC! I am using Qt3 database driver for MYSQL!
>
> The Qt database drivers are successfully compiled and stay in
> $QTDIR/plugins/sqldrivers!
>
> Do I have to create the /tmp/mysql.sock  file?  How?
>
> Env: RH 7.2 / Qt3
>
> Thanks a lot.
>
> Alex
> (beginner)
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<

As far as I know the mysql.sock is there as long as mysqld is running ? 
does /tmp/mysql.sock exist ?
Are you sure of the path ? On my system (Mandrake 8.2) it's: 
/var/lib/mysql/mysql.sock
-- 
MVH
Björn Sahlström
kbjorn@users.sourceforge.net

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic