[ask] error localhost/phpmyadmin/

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
Post Reply
User avatar
koyanote

[ask] error localhost/phpmyadmin/

Post 03 Apr 2015, 12:29

gan gan mau tanya, saya kan mau setting mysql server sama phpmyadmin kok malah keluar error yah pas akses localhost/phpmyadmin/ ?? mohon bantuan nya gan. need help banget. distro yg saya pake linux mint gan. contoh error nya ada di lapiran file nya gan. terima kasih.
Attachments
Screenshot from 2015-04-02 20:45:40.png
Screenshot from 2015-04-02 20:45:40.png (64.5 KiB) Viewed 753 times


User avatar
bang_andi
Been thanked: 5 times
Contact:

Post 03 Apr 2015, 19:35

ini sepertinya ada kesalahan instalasi/compile php atau mysql atau konfigurasinya yg salah, maaf baca tutorialnya dimana?


User avatar
bang_andi
Been thanked: 5 times
Contact:

Post 03 Apr 2015, 19:54

klo merasa install/compile sdh benar.

coba cek konfigurasi, buka llu edit sprti ini ;

Code: Select all

$cfg['Servers'][$i]['host'] = 'localhost';
menjadi,

Code: Select all

$cfg['Servers'][$i]['host'] = '127.0.0.1';
dan coba jg,

biarkan kosong agar ter set default secara otomatis,

Code: Select all

$cfg['Servers'][$i]['port'] = ''; 
$cfg['Servers'][$i]['socket'] = ''; 
atau jika coba di isi,

Code: Select all

$cfg['Servers'][$i]['port'] = '3306'; 
$cfg['Servers'][$i]['socket'] = '/tmp/mysql.sock'; 
dlm kasusmu soketnya ter set =' /var/run/mysqld/mysqld.sock' namun tidak bisa ditemukan oleh sistem.

jgn lupa service llu di restart.


User avatar
bang_andi
Been thanked: 5 times
Contact:

Post 03 Apr 2015, 20:30

bisa juga cek letak yg benar socket mysqld mu dg cara,

buat file info.php di /var/www

Code: Select all

sudo nano /var/www/info.php
llu di isi dg,

Code: Select all

 <?php
// Show all information, defaults to INFO_ALL 
phpinfo();
 ?> 
simpan dan akses dg http://ip-address/info.php

cari dg ctrl+F letak socket nya.


Post Reply

Who is online

Users browsing this forum: No registered users and 85 guests