Dear Mysql user, I am not able to connect mysql server after executing this command
./safe_mysqld -O key_buffer=64M -O table_cache=256 -O sort_buffer=4M -O read_buffer_size=1M [repository@shoggoth bin]$ ./mysql -u root ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [root@shoggoth bin]# ./mysqladmin -u root -p reload Enter password: ./mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)' Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! [root@shoggoth bin]# ./mysqladmin -u root -p flush-privileges Enter password: ./mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)' Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! [root@shoggoth bin]# ./mysqladmin -u root -p flush-privileges but my process is running. I have tryed to restart also but unable to restart mysql server successifully. mysql> show processlist; +-------+------+-----------+---------+---------+------+------------------------- -----+--------------------------------------------------------------+ | Id | User | Host | db | Command | Time | State | Info | +-------+------+-----------+---------+---------+------+------------------------- -----+--------------------------------------------------------------+ | 19509 | root | localhost | mysql | Sleep | 481 | | NULL | | 19532 | root | localhost | DS_data | Query | 0 | NULL | show processlist | | 19547 | root | localhost | DS_data | Query | 39 | Copying to tmp table on disk | select distinct name_server1 from tbl_raw_zone_file limit 10 | +-------+------+-----------+---------+---------+------+------------------------- -----+--------------------------------------------------------------+ The error (2002) Can't connect to ... normally means that there isn't a MySQL server running on the system or that you are using a wrong socket file or TCP/IP port when trying to connect to the mysqld server. Error Log ------------- 021010 10:30:41 mysqld started No variable match for: -O 'read_buffer_size=1M' /usr/local/mysql/libexec/mysqld Ver 3.23.49 for pc-linux-gnu on i686 Use '--help' or '--no-defaults --help' for a list of available o I am using mysql version 3.23 mysql> select version(); +-------------+ | version() | +-------------+ | 3.23.49-log | +-------------+ 1 row in set (0.00 sec) ptions 021010 10:30:41 mysqld ended Please send an email regarding this problem .I appriciate if any one will help me. Thanks & Regards! Abhi --------------------------------------------------------------------- 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