coba edit di file mysql.cnf
itu ada untuk seting sock-nya.

2010/12/4 dada rohadi <[email protected]>

> untuk service mysql sudah running, tetapi untuk file mysql.sock tidak
> ada..saya sudah coba ke direktori /var/lib/mysql/mysql.sock tapi direktori
> ini juga tidak ada, saya pake xampp..
>
> 2010/12/4 mamat kalijati <[email protected]>
>
>> coba di cek status mysql-nya udah running belum ???
>> trus seting default untuk socketnya berapa ?  (cek di mysql.sock).
>>
>>
>>
>> 2010/12/4 Davit Styawan <[email protected]>
>>
>> kang apabila saya ingin pake mysql tapi melalui terminal gimana yah, ko
>>> tidak bisa dan muncul error seperti :
>>>
>>>
>>> [r...@localhost lakone]# mysql -u root -p
>>> Enter password:
>>> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
>>> '/var/lib/mysql/mysql.sock' (2)
>>>
>>>
>>> mohon bantuan  lagi kang..
>>>
>>> 2010/12/4 Dichi Al Faridi <[email protected]>
>>>
>>> Sepertinya masalahnya lebih ke SELinuxnya...
>>>>
>>>> Pada 3 Desember 2010 19.01, mamat kalijati 
>>>> <[email protected]>menulis:
>>>>
>>>> Sepertinya ada masalah compatible. apakah XAMPP sudah  untuk versi
>>>>> 64-Bit ?
>>>>> Kalo masih belum bisa, coba di install satu-per satu, dengan pilihan
>>>>> paket 64 bit.
>>>>>
>>>>> Kalo mesinnya sudah 64-bit, kita install yang 32-bit  ada aja
>>>>> masalahnya.
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Dec 2, 2010 at 5:04 PM, lakone <[email protected]> wrote:
>>>>>
>>>>>> problem pertama xampp tidak jalan pada fedora 14 64 bit dengan pesan:
>>>>>>
>>>>>> [r...@localhost lakone]# /opt/lampp/lampp startapache
>>>>>> XAMPP is currently only availably as 32 bit application. Please use a
>>>>>> 32 bit compatibility library for your system.
>>>>>>
>>>>>>
>>>>>> saya sudah mencoba solusi dari internet dengan menginstal library
>>>>>> glibc.i686 libgcc.i686 libstdc++.i686 dan merubah /opt/lampp/lampp
>>>>>> pada bagian :
>>>>>>
>>>>>> # XAMPP is currently 32 bit only
>>>>>> case `uname -m` in
>>>>>>       *_64)
>>>>>>       if /opt/lampp/bin/php -v > /dev/null 2>&1
>>>>>>       then
>>>>>>               :
>>>>>>       else
>>>>>>               $de && echo "XAMPP gibt es zur Zeit nur als 32-Bit
>>>>>> Applikation. Bitte verwende eine 32-Bit Kompatibilitaetsbibliothek
>>>>>> fuer Dein System."
>>>>>>               $de || echo "XAMPP is currently only availably as 32
>>>>>> bit application. Please use a 32 bit compatibility library for your
>>>>>> system."
>>>>>>               exit
>>>>>>       fi
>>>>>>       ;;
>>>>>> esac
>>>>>>
>>>>>> MENJADI:
>>>>>>
>>>>>> # XAMPP is currently 32 bit only
>>>>>> #case `uname -m` in
>>>>>> #       *_64)
>>>>>> #       if /opt/lampp/bin/php -v > /dev/null 2>&1
>>>>>> #       then
>>>>>> #               :
>>>>>> #       else
>>>>>> #               $de && echo "XAMPP gibt es zur Zeit nur als 32-Bit
>>>>>> Applikation. Bitte verwende eine 32-Bit Kompatibilitaetsbibliothek
>>>>>> fuer Dein System."
>>>>>> #               $de || echo "XAMPP is currently only availably as 32
>>>>>> bit application. Please use a 32 bit compatibility library for your
>>>>>> system."
>>>>>> #               exit
>>>>>> #       fi
>>>>>> #       ;;
>>>>>> #esac
>>>>>>
>>>>>> =========================================================================================
>>>>>> tetapi problem masih belum terselesaikan dan muncul pesan:
>>>>>>
>>>>>> [r...@localhost lakone]# /opt/lampp/lampp startapache
>>>>>> XAMPP: SELinux is activated. Making XAMPP fit SELinux...
>>>>>> /opt/lampp/bin/php: error while loading shared libraries: libz.so.1:
>>>>>> cannot enable executable stack as shared object requires: Permission
>>>>>> denied
>>>>>> XAMPP: Starting Apache with SSL ...
>>>>>> /opt/lampp/bin/httpd: error while loading shared libraries:
>>>>>> libexpat.so.0: cannot enable executable stack as shared object
>>>>>> requires: Permission denied
>>>>>> XAMPP: Error 127! Couldn't start Apache!
>>>>>> XAMPP: Starting diagnose...
>>>>>> XAMPP: Sorry, I've no idea what's going wrong.
>>>>>> XAMPP: Please contact our forum http://www.apachefriends.org/f/
>>>>>>
>>>>>> mohon bantuan kepada kawan-kawan.....terimakasih.
>>>>>>
>>>>>> --
>>>>>> Web Milis: http://groups.google.com/group/klub-linux-bandung
>>>>>> Etika Milis:
>>>>>> http://groups.google.com/group/klub-linux-bandung/web/etika-milis
>>>>>>
>>>>>
>>>>>  --
>>>>> Web Milis: http://groups.google.com/group/klub-linux-bandung
>>>>> Etika Milis:
>>>>> http://groups.google.com/group/klub-linux-bandung/web/etika-milis
>>>>>
>>>>
>>>>  --
>>>> Web Milis: http://groups.google.com/group/klub-linux-bandung
>>>> Etika Milis:
>>>> http://groups.google.com/group/klub-linux-bandung/web/etika-milis
>>>>
>>>
>>>  --
>>> Web Milis: http://groups.google.com/group/klub-linux-bandung
>>> Etika Milis:
>>> http://groups.google.com/group/klub-linux-bandung/web/etika-milis
>>>
>>
>>  --
>> Web Milis: http://groups.google.com/group/klub-linux-bandung
>> Etika Milis:
>> http://groups.google.com/group/klub-linux-bandung/web/etika-milis
>>
>
>  --
> Web Milis: http://groups.google.com/group/klub-linux-bandung
> Etika Milis:
> http://groups.google.com/group/klub-linux-bandung/web/etika-milis
>

-- 
Web Milis: http://groups.google.com/group/klub-linux-bandung
Etika Milis: http://groups.google.com/group/klub-linux-bandung/web/etika-milis

Kirim email ke