Dear Sir,
We are getting problems in running mysql after installation.
Since you have already running mysql we seek your advise on the
following.
<BR>We are using Red Hat Linux 7.0/Apache Web Server  on PIII 550 intel
processor.
<BR>We have compiled the mysql and installed version 3.23.32.
<BR>The contents of our my.cnf file in /etc is as follows :
<BR>========================================================
<BR># Example mysql config file.
<BR># You can copy this to one of:
<BR># /usr/local/mysql/etc/my.cnf to set global options,
<BR># mysql-data-dir/my.cnf to set server-specific options (in this
<BR># installation this directory is /usr/local/mysql/var) or
<BR># ~/.my.cnf to set user-specific options.
<BR>#
<BR># One can use all long options that the program supports.
<BR># Run the program with --help to get a list of available options

<P># This will be passed to all mysql clients
<BR>[client]
<BR>#password = my_password
<BR>port&nbsp; = 3306
<BR>socket&nbsp; = /var/lib/mysql/mysql.sock

<P># Here is entries for some specific programs
<BR># The following values assume you have at least 32M ram

<P># The MySQL server
<BR>[mysqld]
<BR>port&nbsp; = 3306
<BR>socket&nbsp; = /var/lib/mysql/mysql.sock
<BR>skip-locking
<BR>set-variable = key_buffer=16M
<BR>set-variable = max_allowed_packet=1M
<BR>set-variable = thread_stack=128K
<BR># Start logging
<BR>log

<P>[mysqldump]
<BR>quick
<BR>set-variable = max_allowed_packet=16M

<P>[mysql]
<BR>no-auto-rehash

<P>[isamchk]
<BR>set-variable = key_buffer=16M
<BR>==================================================================
<BR>The contents on the error file is follows

<P>010403 16:19:55&nbsp; mysqld started
<BR>010403 16:19:56&nbsp; Can't start server : Bind on unix socket:
Permission
denied
<BR>010403 16:19:56&nbsp; Do you already have another mysqld server
running
on socket: /var/lib/mysql/mysql.sock ?
<BR>010403 16:19:56&nbsp; Aborting

<P>010403 16:19:56&nbsp; mysqld ended

<P>010403 16:35:05&nbsp; mysqld started
<BR>010403 16:35:05&nbsp; Can't start server : Bind on unix socket:
Permission
denied
<BR>010403 16:35:05&nbsp; Do you already have another mysqld server
running
on socket: /var/lib/mysql/mysql.sock ?
<BR>010403 16:35:05&nbsp; Aborting

<P>010403 16:35:05&nbsp; mysqld ended

<P>010403 17:09:52&nbsp; mysqld started
<BR>010403 17:09:52&nbsp; Can't start server : Bind on unix socket:
Permission
denied
<BR>010403 17:09:52&nbsp; Do you already have another mysqld server
running
on socket: /var/lib/mysql/mysql.sock ?
<BR>010403 17:09:52&nbsp; Aborting

<P>010403 17:09:52&nbsp; mysqld ended

<P>====================================================================
<BR>Further,We have also tried latest available rpm installation -i386
downloaded from mysql.com.
<BR>using command
<BR>rpm -i rpm-file-name
<BR>but it fails to install rpm package just stating
<BR>can not install rpm

Also please guide how users are created and groups are set to user
mysql.
What modification are needed in various configuration files.

Regards

Akshaya

B. van Ouwerkerk wrote:

> >I have set up a user called mysqlusr which belongs to the group
> >mysqlgrp.  I want to run the mysqld as this user, but am unsure how
> to.
>
> Info on this can be found in the manual.txt file found in
> your_sourcedir/Docs
>
> Bye,
>
> B.
>
> ---------------------------------------------------------------------
> 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