erunix ..|


Belajar .. mySQL – slackware 12.1

Ditulis dalam Linux oleh erunix pada November 13, 2008

“ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysql/mysql.sock’ (2) “

lihat isi file /etc/rc.d/rc.mysqld
Anda harus menjalankan perintah berikut

su
su mysql
mysql_install_db
chmod -R 755 /var/lib/mysql
chown -R mysql:mysql /var/lib/mysql
chmod +x /etc/rc.d/rc.mysqld
/etc/rc.d/rc.mysqld start

kalo udah test run mysql nya ..

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.0.51b Source distribution

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.

mysql>

terimakasih buat rekan di forum, Web : http://www.informatix.or.id/willy
Blog : http://willysr.blogspot.com http://slackblogs.blogspot.com