Dear All
My MySQl database server is not working. Observations as below-

[1]
[EMAIL PROTECTED] squid]# mysqladmin create 2
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket:
'/var/lib/mysql/mysql.sock' exists!


[2]
When trying to create database thru webmin, giving the following error
Failed to create database : DBI connect failed : Can't connect to
local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

[3]
# cat /etc/webmin/mysql/conf
date_subs=0
perpage=25
stop_cmd=/etc/rc.d/init.d/mysqld stop
sync_create=1
mysqldump=/usr/bin/mysqldump
sync_modify=1
nodbi=0
mysql_libs=
start_cmd=/etc/rc.d/init.d/mysqld start
pass=
sync_host=
mysql_data=/var/lib/mysql
mysqlimport=/usr/bin/mysqlimport
access=*: *
style=0
sync_delete=
login=root
mysqlshow=/usr/bin/mysqlshow
mysql=/usr/bin/mysql
add_mode=0
passwd_mode=0
blob_mode=0
sync_privs=3 4 5 6 7 8 9 10 11 12 13 14 15 16
[EMAIL PROTECTED] mysql]# clear
[EMAIL PROTECTED] mysql]# cat config
date_subs=0
perpage=25
stop_cmd=/etc/rc.d/init.d/mysqld stop
sync_create=1
mysqldump=/usr/bin/mysqldump
sync_modify=1
nodbi=0
mysql_libs=
start_cmd=/etc/rc.d/init.d/mysqld start
pass=
sync_host=
mysql_data=/var/lib/mysql
mysqlimport=/usr/bin/mysqlimport
access=*: *
style=0
sync_delete=
login=root
mysqlshow=/usr/bin/mysqlshow
mysql=/usr/bin/mysql
add_mode=0
passwd_mode=0
blob_mode=0
sync_privs=3 4 5 6 7 8 9 10 11 12 13 14 15 16
mysqladmin=/usr/bin/mysqladmin

[4]
# ps -ef|grep start
root     13423  2826  0 Mar21 ?        00:00:00 /bin/sh /usr/bin/startkde
root     13487     1  0 Mar21 ?        00:00:00 /usr/bin/dbus-launch
--exit-with-session startkde
root     22987  4320  0 16:32 pts/3    00:00:00 grep start

Seeking help of list members.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to