Where is mysql.sock located on your system? What are its privileges? What are the privileges of the directories leading up to it? You can use my.cnf to tell the server and clients where the mysql.sock is to be. They must all agree. Markus Eppler wrote: > Hallo > > I have always thsi error > > ERROR 2002: Can't connect to local MySQL server through socket > '/tmp/mysql.sock' (2) > > but the system is running > mysql 2199 2187 0 14:39 pts/0 00:00:00 > /usr/local/mysql/bin/mysqld > --defaults-extra-file=/usr/local/mysql/data/my.cnf > --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data > --pid-file=/usr/local/mysql/data/.pid --skip-locking > mysql 2201 2199 0 14:39 pts/0 00:00:00 > /usr/local/mysql/bin/mysqld > --defaults-extra-file=/usr/local/mysql/data/my.cnf > --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data > --pid-file=/usr/local/mysql/data/.pid --skip-locking > mysql 2202 2201 0 14:39 pts/0 00:00:00 > /usr/local/mysql/bin/mysqld > --defaults-extra-file=/usr/local/mysql/data/my.cnf > --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data > --pid-file=/usr/local/mysql/data/.pid --skip-locking > mysql 2203 2201 0 14:39 pts/0 00:00:00 > /usr/local/mysql/bin/mysqld > --defaults-extra-file=/usr/local/mysql/data/my.cnf > --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data > --pid-file=/usr/local/mysql/data/.pid --skip-locking > > Can you help me to find a good introduction for installing mysql > > best regards > Markus > > > --------------------------------------------------------------------- > 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 -- Gerald L. Clark [EMAIL PROTECTED] --------------------------------------------------------------------- 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