Re: Cannot open Kaddressbook

Martin Koller <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <[email protected]>
On Tuesday 16 February 2010 16:19:56 Dotan Cohen wrote:
> > I'd say there is no /var/lib/mysql dir ?
> > Maybe it's at a different location in your distro ?
> >
> 
> I'm not sure. On my test system with a working Kaddressbook,

On this machine, do you have a /var/lib/mysql dir ?

> I get this:
> 
> ety@ecd:~$ locate mysql | grep log
> /usr/share/doc/libmysqlclient16/changelog.Debian.gz
> /usr/share/doc/libmysqlclient16/changelog.gz
> /usr/share/doc/libqt4-sql-mysql/changelog.Debian.gz
> /usr/share/doc/libqt4-sql-mysql/changelog.gz
> /usr/share/doc/mysql-common/changelog.Debian.gz
> /usr/share/doc/mysql-common/changelog.gz
> /usr/share/doc/mysql-server-core-5.1/changelog.Debian.gz
> /usr/share/doc/mysql-server-core-5.1/changelog.gz
> /usr/share/mysql-common/internal-use-only/_etc_logrotate.d_mysql-server
> ety@ecd:~$
> 
> So it is certainly not needed. Maybe I am barking up the wrong tree here?

I'm not sure if locate really gives you all files.

But nevertheless: on my system when I check mysqld in ps I get:

koller   29397 29395  0 Feb14 ?        00:00:14 /usr/sbin/mysqld --defaults-file=/home/koller/.local/share/akonadi//mysql.conf --d

and checking /proc/29397/fd does not point into /var/lib and the files which are in
my /var/lib/mysql are not current anyway.

So the question is, why does your mysqld try to put things in that global directory and not somwehere below $HOME ?

E.g. Why are you starting the mysqld with sudo ?
> sudo /usr/sbin/mysqld-akonadi

Here mysqld is started from akonadiserver so it runs as my user.

-- 
Best regards/Schöne Grüße

Martin    ()  ascii ribbon campaign - against html mail 
          /\                        - against microsoft attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at

_______________________________________________
KDE PIM users mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-users
signature.asc (application/pgp-signature, 190 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)

iD8DBQBLeru8HmdPoI37D4YRAvRAAKCiftv1y/ricTwSlRIa+FiFY/vgGACfY1A3
Yaur+EZDxiYyLFhm0RPFjAo=
=XJHf
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.