Date |Mon, 6 Aug 2001 08:37:06 -0700 (PDT)
>From |Venkat Nipun Gajjala <[EMAIL PROTECTED]>

Hello!

VNG> Hi, 
VNG> I installed the mysql-3.22.26a version on my
VNG> linux machine and executed the following commands

VNG> Untar it and change into the source directory tree: 
VNG> tar -xvzf mysql-3.22.26a.tar.gz
VNG> cd mysql-3.22.26a

VNG> Configure the package; I used following options: 
VNG> ./configure --prefix=/opt/mysql

VNG> Build it: 
VNG> make

VNG> Install it; as root: 
VNG> make install

VNG> You'll then need to configure the installation:

VNG> As root, create the grant tables: 
VNG> scripts/mysql_install_db

VNG> As root, start the server: 
VNG> /opt/mysql/bin/safe_mysqld &

VNG> As root, create the mysql user: 
VNG> useradd -c "MySQL Administrator" -d /opt/mysql -g users
VNG> mysql

VNG> As root, give the installation tree to the mysql user: 
VNG> chown -R mysql.users /opt/mysql

VNG> Now when i execute the "mysqladmin
VNG> version " command it says can't connect to local MySQL
VNG> server through socket '/var/lib/mysql/mysql.sock'.The MySQL
VNG> server is running but there is no /mysql/mysql.sock so what
VNG> do i need to do now.Thank you.

You need to give write access to /var/lib/mysql/mysql.sock for
your mysql user.
for example by 

chown mysql /var/lib/mysql -R
chmod 755 /var/lib/mysql


___________________________________________________________________
For technical support contracts, visit https://order.mysql.com/
This email is sponsored by SWSoft, http://www.asplinux.ru/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Grigory Bakunov <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB / SWSoft
/_/  /_/\_, /___/\___\_\___/
       <___/   www.mysql.com


---------------------------------------------------------------------
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