The option
 --pid-file=/var2/db
can be used for mysqld

In my.cnf use
 pid-file=/var2/db


Matthew

-----Original Message-----
From: Jacob Friis Larsen [mailto:[EMAIL PROTECTED]]
Sent: 23 December 2001 15:26
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Mysql maillist
Subject: RE: hostname.pid


Thanks for fast reply's :)

How can I change it so that MySQL looks for the file at /var2/db by using
the my.cnf file ?

Regards Jacob

[ www.sharksforum.com | www.eksperten.dk | +45 70 27 07 67 ]

> -----Original Message-----
> From: Almar van Pel [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 23, 2001 4:18 PM
> To: Mysql maillist
> Cc: Jacob Friis Larsen
> Subject: RE: hostname.pid
>
>
> Hi,
>
> Check your autorisations for this file for the user mysql runs under. It
> does not have permissions to access the specified directory.
>
> Regards,
>
> Almar van Pel
>
>
> -----Oorspronkelijk bericht-----
> Van: Jacob Friis Larsen [mailto:[EMAIL PROTECTED]]
> Verzonden: zondag, december 23, 2001 16.09
> Aan: Mysql maillist
> Onderwerp: hostname.pid
>
>
> How do I correct this database problem ? Please also reply to my E-Mail
> address.
>
> /usr/local/libexec/mysqld: Can't create/write to file '/usr/loc
> al/var/hostname.pid' (Errcode: 13)
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
> <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to