On 2/20/06, Poer Pongge <[EMAIL PROTECTED]> wrote:
>
>
>  --- G Wijaya <[EMAIL PROTECTED]> wrote:
>
>  > On 2/20/06, Poer Pongge <[EMAIL PROTECTED]> wrote:
>  > > cku coba pake mambo dan perlu mysql, setelah ku
>  > > install dan di jalanin, kok mysqlnya ga bisa
>  > keluar
>  > > pesan
>  > >
>  > > ' Can't connect to local MySQL server through
>  > socket
>  > > '/var/lib/mysql/mysql.sock '
>  >
>  > mysqlnya sudah nyala?
>  >
>  > --
>  > "Get your facts first, then you can distort them as
>  > you please." - Mark Twain
>  > http://jaya.duniasemu.org
>  >
>  pesen itu muncul ketika mysql bru mau di jalankan.

Biasanya ini terjadi karena '/var/lib/mysql/mysql.sock' ini tidak ada.
Biasanya pathnya beda dari yang disebut di settingnya. Coba samakan
antara php.ini dengan my.cnf, dan ikut yang bener (my.cnf)

Kebetulan di Fedora saya settingnya ngikut default, dan (thank God) cocok :D

[EMAIL PROTECTED] kopete-styles]$ cat /etc/my.cnf | grep sock
socket=/var/lib/mysql/mysql.sock
[EMAIL PROTECTED] kopete-styles]$ cat /etc/php.ini | grep sock
; Default timeout for socket based streams (seconds)
default_socket_timeout = 60
; Default socket name for local MySQL connects.  If empty, uses the built-in
mysql.default_socket =
; Default socket name for local MySQL connects.  If empty, uses the built-in
mysqli.default_socket =
[EMAIL PROTECTED] kopete-styles]$

--
Akhmad Fathonih | http://blog.neofreko.com | http://jogja.linux.or.id
Are you geek enough to handle all these sh**s?
This is my way of Ninja (Naruto, Konoha Village)


"This is my way being a linuxer..."
http://jogja.linux.or.id
http://jogja.linux.or.id/wiki/

Untuk berhenti langganan silahkan kirim email kosong ke:
[EMAIL PROTECTED]
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/jogja-linux/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Kirim email ke