hi
i have tried the procedure mentioned below but of no avail.
this is the exact message in .err file

"can not start server : bind on unix socket : permission denied
do you have another mysql server running on socket /var/run/mysql/mysql.sock ?
/usr/libexec/mysqld : shutdown complete
mysqld ended
"

---> i am trying to run the server as root
---> there is no such file as /var/run/mysql/mysql.sock

now what to do

regards
alqama


----- Original Message -----
From: "mathan" <[EMAIL PROTECTED]>
Date: Mon, 5 Apr 2004 14:24:18 +0530
To: "muhammad alqama" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: Re: starting mysql daemon

> Try this one:
> 
>     Copy share/mysql/my-medium.cnf file to /etc/my.cnf and run
> "mysql_install_db" and "chown -R mysql <mysql data dir>" and "mysqld_safe"
> command.
> Find the mysql datadir from mysql_install_db file (line no 77 : e.g.
> ldata=/var/opt/mysql)
> 
> Thanks,
> Mathan
> ----- Original Message ----- 
> From: "muhammad alqama" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, April 01, 2004 9:19 PM
> Subject: Re: starting mysql daemon
> 
> 
> > hi
> > the error mentioned in the file is...
> > "fatal error : can not open privilege tables can not
> > find file : './mysql/host.frm' (errno 13)"
> >
> > but in the directory /var/lib/mysql/mysql the file
> > host.frm exists...(/var/lib/mysql/  being the data
> > dir)
> >
> > what to do now...
> >
> > regards
> > alqama
> >
> >
> > ----- Original Message ----- 
> > From: Victor Pendleton <[EMAIL PROTECTED]>
> > Date: Wed, 31 Mar 2004 16:03:43 -0600
> > To: "muhammad alqama" <[EMAIL PROTECTED]>
> > Subject: Re: starting mysql daemon
> >
> > > This file is normally located in the data directory
> > >
> > > On Wed, 31 Mar 2004, you wrote:
> > > > hi
> > > > can u tell me where this file "hostname.err" lies
> > > > as i have searched and not found it .
> > > >
> > > >
> > > > ----- Original Message ----- 
> > > > From: Victor Pendleton <[EMAIL PROTECTED]>
> > > > Date: Wed, 31 Mar 2004 15:17:54 -0600
> > > > To: "muhammad alqama" <[EMAIL PROTECTED]>,
> > [EMAIL PROTECTED]
> > > > Subject: Re: starting mysql daemon
> > > >
> > > > > Did you check in the hostname.err file to see
> > why MySQL ended?
> > > > >
> > > > >
> > > > > On Wed, 31 Mar 2004, muhammad alqama wrote:
> > > > > > hello
> > > > > > i am using slackware linux and i installed
> > mysql
> > > > > > server with the installation.
> > > > > >
> > > > > > now i am trying to start the mysql daemon but
> > it is
> > > > > > not being start.
> > > > > >
> > > > > > i have run "mysql_install_db --user=mysql" ..
> > it
> > > > > > runs successfully. but as i run the command
> > > > > > "mysqld_safe" to run daemon it gives the
> > following
> > > > > > output..
> > > > > > "
> > > > > > i run..
> > > > > > root../usr/bin > mysqld_safe --user=mysql &
> > > > > > the output is
> > > > > > [1] 1273
> > > > > > root../usr/bin> starting mysqld daemon with
> > database
> > > > > > from /var/lib/mysql
> > > > > > 040325 01:57:32 mysqld ended
> > > > > > (the prompt "root../usr/bin> " is not
> > returned.. i
> > > > > > have to press ctrl+c)
> > > > > > "
> > > > > > also if i run
> > > > > > root../usr > libexec/mysqld

> > > > > > the message is
> > > > > > "fatal error : please read "security" section
> > of the
> > > > > > manual to find out how to run mysqld as root"
> > > > > > 040325 2:10:39 aborting
> > > > > > 040325 2:10:39 libexec/mysqld shutdown
> > complete
> > > > > > "
> > > > > > please tell me what to do to start the daemon
> > > > > >
> > > > > > -- 
> > > > > >
> > ____________________________________________________________
> > > > > > Are you a Proud Pakistani ?
> > > > > > Get your free Pakistani email from http://
> > www.pakistans.com
> > > > > >
> > > > > > Please visit our sponsors
> > > > > > www.shopngift.com  ( Gifts to Pakistan )
> > > > > > www.cdstore.com.pk ( Buy Online Pakistani and
> > Indian CD)
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Powered by Outblaze
> > > > > >
> > > > > > -- 
> > > > > > MySQL General Mailing List
> > > > > > For list archives: http://lists.mysql.com/
> > mysql
> > > > > > To unsubscribe:    http://lists.mysql.com/
> > [EMAIL PROTECTED]
> > > > >
> > > > > -- 
> > > > > MySQL General Mailing List
> > > > > For list archives: http://lists.mysql.com/mysql
> > > > > To unsubscribe:    http://lists.mysql.com/
> > [EMAIL PROTECTED]
> > > > >
> > > >
> > > > -- 
> > > >
> > ____________________________________________________________
> > > > Are you a Proud Pakistani ?
> > > > Get your free Pakistani email from http://
> > www.pakistans.com
> > > >
> > > > Please visit our sponsors
> > > > www.shopngift.com  ( Gifts to Pakistan )
> > > > www.cdstore.com.pk ( Buy Online Pakistani and
> > Indian CD)
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Powered by Outblaze
> > -- 
> > ____________________________________________________________
> > Are you a Proud Pakistani ?
> > Get your free Pakistani email from http://www.pakistans.com
> >
> > Please visit our sponsors
> > www.shopngift.com  ( Gifts to Pakistan )
> > www.cdstore.com.pk ( Buy Online Pakistani and Indian CD)
> >
> >
> >
> >
> >
> > Powered by Outblaze
> >
> > -- 
> > MySQL General Mailing List
> > For list archives: http://lists.mysql.com/mysql
> > To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]
> >
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.642 / Virus Database: 410 - Release Date: 3/24/2004
> 
> 

-- 
____________________________________________________________
Are you a Proud Pakistani ? 
Get your free Pakistani email from http://www.pakistans.com

Please visit our sponsors
www.shopngift.com  ( Gifts to Pakistan )
www.cdstore.com.pk ( Buy Online Pakistani and Indian CD)





Powered by Outblaze

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to